diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-12-05 07:01:18 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-12-05 07:01:18 -0800 |
commit | a7e0cca48003dbb212326c37c0b8a5580c2e6d2c (patch) | |
tree | 4dc156955eeb195defdbee0b4cd6f88eed4a7589 /passes | |
parent | d8fbf88980d6ccd22e2aa3f34c4ff2a39aeed9df (diff) | |
download | yosys-a7e0cca48003dbb212326c37c0b8a5580c2e6d2c.tar.gz yosys-a7e0cca48003dbb212326c37c0b8a5580c2e6d2c.tar.bz2 yosys-a7e0cca48003dbb212326c37c0b8a5580c2e6d2c.zip |
Merge SB_CARRY+SB_LUT4's attributes when creating $__ICE40_CARRY_WRAPPER
Diffstat (limited to 'passes')
-rw-r--r-- | passes/pmgen/ice40_wrapcarry.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/pmgen/ice40_wrapcarry.cc b/passes/pmgen/ice40_wrapcarry.cc index 66054ea42..b84790d8f 100644 --- 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); |