mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1611 from YosysHQ/mmicko/wrapcarry_fix
Valid to have attribute starting with SB_CARRY.
This commit is contained in:
commit
2e0da68528
|
@ -128,6 +128,8 @@ static void run_ice40_opts(Module *module)
|
||||||
new_attr.insert(std::make_pair(a.first, a.second));
|
new_attr.insert(std::make_pair(a.first, a.second));
|
||||||
else if (a.first.in(ID(SB_LUT4.name), ID::keep, ID(module_not_derived)))
|
else if (a.first.in(ID(SB_LUT4.name), ID::keep, ID(module_not_derived)))
|
||||||
continue;
|
continue;
|
||||||
|
else if (a.first.begins_with("\\SB_CARRY.\\"))
|
||||||
|
continue;
|
||||||
else
|
else
|
||||||
log_abort();
|
log_abort();
|
||||||
cell->attributes = std::move(new_attr);
|
cell->attributes = std::move(new_attr);
|
||||||
|
|
Loading…
Reference in New Issue