mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4022 from povik/machxo3-qor-work
MachXO3 QoR improvements
This commit is contained in:
commit
52d3fa6d77
|
@ -385,7 +385,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"))
|
||||
|
@ -421,6 +421,7 @@ struct SynthLatticePass : public ScriptPass
|
|||
dfflegalize_args += " -cell $_DLATCH_?_ x";
|
||||
}
|
||||
run("dfflegalize" + dfflegalize_args, "($_ALDFF_*_ only if -asyncprld, $_DLATCH_* only if not -asyncprld, $_*DFFE_* only if not -nodffe)");
|
||||
run("opt_merge");
|
||||
if ((abc9 && dff) || help_mode)
|
||||
run("zinit -all w:* t:$_DFF_?_ t:$_DFFE_??_ t:$_SDFF*", "(only if -abc9 and -dff)");
|
||||
run("techmap -D NO_LUT -map +/lattice/cells_map.v");
|
||||
|
|
Loading…
Reference in New Issue