Merge SB_CARRY+SB_LUT4's attributes when creating $__ICE40_CARRY_WRAPPER

This commit is contained in:
Eddie Hung 2019-12-05 07:01:18 -08:00
parent d8fbf88980
commit a7e0cca480
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ void create_ice40_wrapcarry(ice40_wrapcarry_pm &pm)
cell->setParam("\\LUT", st.lut->getParam("\\LUT_INIT"));
cell->attributes = std::move(st.carry->attributes);
cell->attributes.insert(st.lut->attributes.begin(), st.lut->attributes.end());
pm.autoremove(st.carry);
pm.autoremove(st.lut);