diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-12-09 17:38:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 17:38:48 -0800 |
commit | 7e5602ad17b20f14e56fc4c64198ca2d576917df (patch) | |
tree | 5127cc0a4159e23f2e8fcdabcea4b792062ea09f /techlibs/ice40/synth_ice40.cc | |
parent | ecb0c68f0751b3bd97f8da94e7bd2258987d58e1 (diff) | |
parent | fb203d2a2c02c3df1a2c6a92ec196e579495c8d4 (diff) | |
download | yosys-7e5602ad17b20f14e56fc4c64198ca2d576917df.tar.gz yosys-7e5602ad17b20f14e56fc4c64198ca2d576917df.tar.bz2 yosys-7e5602ad17b20f14e56fc4c64198ca2d576917df.zip |
Merge pull request #1545 from YosysHQ/eddie/ice40_wrapcarry_attr
Preserve SB_CARRY name and attributes when using $__ICE40_CARRY_WRAPPER
Diffstat (limited to 'techlibs/ice40/synth_ice40.cc')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 901194b06..ed7a16c08 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -363,6 +363,7 @@ struct SynthIce40Pass : public ScriptPass else run(abc + " -dress -lut 4", "(skip if -noabc)"); } + run("ice40_wrapcarry -unwrap"); run("techmap -D NO_LUT -map +/ice40/cells_map.v"); run("clean"); run("opt_lut -dlogic SB_CARRY:I0=2:I1=1:CI=0"); |