synth_lattice: Optimize flip-flop memories better

After `memory_map` maps memories to flip-flops we need to let `opt`
remove undef muxes, otherwise we block enable/reset signal inference by
`opt_dff` which is in detriment to QoR.
This commit is contained in:
Martin Povišer 2023-11-07 16:25:20 +01:00
parent ee3a4ce14d
commit fed2720999
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ struct SynthLatticePass : public ScriptPass
{
run("opt -fast -mux_undef -undriven -fine");
run("memory_map");
run("opt -undriven -fine");
run("opt -undriven -fine -mux_undef");
}
if (check_label("map_gates"))