diff options
author | whitequark <whitequark@whitequark.org> | 2018-12-06 12:02:42 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2018-12-06 12:04:39 +0000 |
commit | 6e559ee3c78c0984e1f486ecedf61c3011aa0f0d (patch) | |
tree | 7d572b21a1fbfbf8767b4881e28139dceb60d4b3 /techlibs/ice40 | |
parent | 1bb728e24fd4e2a2a4025aba43344b1072d92e2e (diff) | |
download | yosys-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.cc | 4 |
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 |