aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2018-12-06 12:02:42 +0000
committerwhitequark <whitequark@whitequark.org>2018-12-06 12:04:39 +0000
commit6e559ee3c78c0984e1f486ecedf61c3011aa0f0d (patch)
tree7d572b21a1fbfbf8767b4881e28139dceb60d4b3 /techlibs/ice40
parent1bb728e24fd4e2a2a4025aba43344b1072d92e2e (diff)
downloadyosys-6e559ee3c78c0984e1f486ecedf61c3011aa0f0d.tar.gz
yosys-6e559ee3c78c0984e1f486ecedf61c3011aa0f0d.tar.bz2
yosys-6e559ee3c78c0984e1f486ecedf61c3011aa0f0d.zip
synth_ice40: split `map_gates` off `fine`.
Diffstat (limited to 'techlibs/ice40')
-rw-r--r--techlibs/ice40/synth_ice40.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index 931a190e7..37b924dfd 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -240,6 +240,10 @@ struct SynthIce40Pass : public ScriptPass
run("opt -fast -mux_undef -undriven -fine");
run("memory_map");
run("opt -undriven -fine");
+ }
+
+ if (check_label("map_gates"))
+ {
if (nocarry)
run("techmap");
else