ice40: Map unmapped 'mince' DFFs to gate level
authorDavid Shah <dave@ds0.me>
Fri, 20 Mar 2020 20:29:16 +0000 (20:29 +0000)
committerDavid Shah <dave@ds0.me>
Fri, 20 Mar 2020 20:29:16 +0000 (20:29 +0000)
Signed-off-by: David Shah <dave@ds0.me>
techlibs/ice40/synth_ice40.cc

index 80bd05a8437444194e9b43b0f2ba9b6b19f1c8fb..b8aedaadf6ac53cd6df676a8ed4930029913a02d 100644 (file)
@@ -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");