From dc30b034f74065f5a45badad7b22f4a721ecc16e Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 16 Apr 2015 11:47:59 +0200 Subject: Fixed "dff2dffe -direct-match" --- techlibs/ice40/synth_ice40.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'techlibs') 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"); } -- cgit v1.2.3