mirror of https://github.com/YosysHQ/yosys.git
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:
parent
ee3a4ce14d
commit
fed2720999
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue