Merge pull request #4022 from povik/machxo3-qor-work

MachXO3 QoR improvements
This commit is contained in:
N. Engelhardt 2023-11-13 16:56:06 +01:00 committed by GitHub
commit 52d3fa6d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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");