projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8fbf88
)
Merge SB_CARRY+SB_LUT4's attributes when creating $__ICE40_CARRY_WRAPPER
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 5 Dec 2019 15:01:18 +0000
(07:01 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 5 Dec 2019 15:01:18 +0000
(07:01 -0800)
passes/pmgen/ice40_wrapcarry.cc
patch
|
blob
|
history
diff --git
a/passes/pmgen/ice40_wrapcarry.cc
b/passes/pmgen/ice40_wrapcarry.cc
index 66054ea42da20266d254bfc17e7417b91a6617be..b84790d8fab8d01936ed32565dbf211fe5096acf 100644
(file)
--- a/
passes/pmgen/ice40_wrapcarry.cc
+++ b/
passes/pmgen/ice40_wrapcarry.cc
@@
-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);