mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
ice40_wrapcarry to preserve SB_CARRY's attributes
This commit is contained in:
parent
8de17877d4
commit
5897b918b3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue