projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de1787
)
ice40_wrapcarry to preserve SB_CARRY's attributes
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 3 Dec 2019 22:48:11 +0000
(14:48 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 3 Dec 2019 22:48:11 +0000
(14:48 -0800)
passes/pmgen/ice40_wrapcarry.cc
patch
|
blob
|
history
diff --git
a/passes/pmgen/ice40_wrapcarry.cc
b/passes/pmgen/ice40_wrapcarry.cc
index 69ef3cd8253f911dd64bdff0f70c4dcd03ae97f2..66054ea42da20266d254bfc17e7417b91a6617be 100644
(file)
--- a/
passes/pmgen/ice40_wrapcarry.cc
+++ b/
passes/pmgen/ice40_wrapcarry.cc
@@
-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);
}