mirror of https://github.com/YosysHQ/yosys.git
ice40_wrapcarry to preserve SB_CARRY's attributes
This commit is contained in:
parent
8de17877d4
commit
5897b918b3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue