summaryrefslogtreecommitdiff
path: root/techlibs/ice40/synth_ice40.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-04-16 11:47:59 +0200
committerClifford Wolf <clifford@clifford.at>2015-04-16 11:47:59 +0200
commitdc30b034f74065f5a45badad7b22f4a721ecc16e (patch)
tree3e7fcf3541c9d1336e1c8565ce31ff033515f753 /techlibs/ice40/synth_ice40.cc
parent3e9e6e1c226eade37f6ee3afc6aabecf3abc8d2e (diff)
Fixed "dff2dffe -direct-match"
Diffstat (limited to 'techlibs/ice40/synth_ice40.cc')
-rw-r--r--techlibs/ice40/synth_ice40.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index b683929b..c5d8f5ed 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -72,6 +72,7 @@ struct SynthIce40Pass : public Pass {
log(" map_ffs:\n");
log(" dff2dffe -direct-match $_DFF_*\n");
log(" techmap -map +/ice40/cells_map.v\n");
+ log(" opt_const -mux_undef\n");
log(" simplemap\n");
log(" clean\n");
log("\n");
@@ -145,6 +146,7 @@ struct SynthIce40Pass : public Pass {
{
Pass::call(design, "dff2dffe -direct-match $_DFF_*");
Pass::call(design, "techmap -map +/ice40/cells_map.v");
+ Pass::call(design, "opt_const -mux_undef");
Pass::call(design, "simplemap");
Pass::call(design, "clean");
}