mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-23 12:43:46 +00:00
Merge pull request #5549 from nataliakokoromyti/fix-ice40-wrapcarry-src-attr
ice40_wrapcarry: Fix abort when cells have src attributes
This commit is contained in:
commit
49feaa1146
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ struct Ice40WrapCarryPass : public Pass {
|
|||
lut->attributes[a.first.c_str() + strlen("\\SB_LUT4.")] = a.second;
|
||||
else if (a.first == ID::src)
|
||||
src = a.second;
|
||||
else if (a.first.in(IdString{"\\SB_LUT4.name"}, ID::keep, ID::module_not_derived))
|
||||
else if (a.first.in(IdString{"\\SB_LUT4.name"}, ID::keep, ID::module_not_derived, ID::src))
|
||||
continue;
|
||||
else
|
||||
log_abort();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue