aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-03-20 20:29:16 +0000
committerDavid Shah <dave@ds0.me>2020-03-20 20:29:16 +0000
commite813624f21f2c6daa7af0befb50553bb668367fd (patch)
treecdef86167375576e862ce9d4b63f9f1cc606a18d
parent9b982e929cf9b7a852b7758920cdf7541d0d2cf4 (diff)
downloadyosys-e813624f21f2c6daa7af0befb50553bb668367fd.tar.gz
yosys-e813624f21f2c6daa7af0befb50553bb668367fd.tar.bz2
yosys-e813624f21f2c6daa7af0befb50553bb668367fd.zip
ice40: Map unmapped 'mince' DFFs to gate level
Signed-off-by: David Shah <dave@ds0.me>
-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 80bd05a84..b8aedaadf 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -345,6 +345,7 @@ struct SynthIce40Pass : public ScriptPass
if (min_ce_use >= 0) {
run("opt_merge");
run(stringf("dff2dffe -unmap-mince %d", min_ce_use));
+ run("simplemap t:$dff");
}
run("techmap -D NO_LUT -D NO_ADDER -map +/ice40/cells_map.v");
run("opt_expr -mux_undef");