aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-02-05 18:39:01 -0800
committerEddie Hung <eddie@fpgeh.com>2020-02-05 18:39:01 -0800
commit0b0148399c81dc8c0297d8eac3b2638ed272ba58 (patch)
treeea3552e89f8e14a0e2b2443342f914033bb3099a /techlibs/ice40
parent4c1d3a126d3978aeacbab623532c0ec9400b8959 (diff)
downloadyosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.gz
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.tar.bz2
yosys-0b0148399c81dc8c0297d8eac3b2638ed272ba58.zip
synth_*: call 'opt -fast' after 'techmap'
Diffstat (limited to 'techlibs/ice40')
-rw-r--r--techlibs/ice40/synth_ice40.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index d92e40726..fdb203dcb 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -316,6 +316,7 @@ struct SynthIce40Pass : public ScriptPass
run("ice40_wrapcarry");
run("techmap -map +/techmap.v -map +/ice40/arith_map.v");
}
+ run("opt -fast");
if (retime || help_mode)
run("abc -dff -D 1", "(only if -retime)");
run("ice40_opt");