1
0
mirror of synced 2026-04-03 05:15:24 +00:00

ice40_wrapcarry to preserve SB_CARRY's attributes

This commit is contained in:
Eddie Hung
2019-12-03 14:48:11 -08:00
parent 8de17877d4
commit 5897b918b3

View File

@@ -50,6 +50,8 @@ void create_ice40_wrapcarry(ice40_wrapcarry_pm &pm)
cell->setPort("\\O", st.lut->getPort("\\O"));
cell->setParam("\\LUT", st.lut->getParam("\\LUT_INIT"));
cell->attributes = std::move(st.carry->attributes);
pm.autoremove(st.carry);
pm.autoremove(st.lut);
}