Skip to content

Commit

Permalink
Merge pull request #4022 from povik/machxo3-qor-work
Browse files Browse the repository at this point in the history
MachXO3 QoR improvements
  • Loading branch information
nakengelhardt authored Nov 13, 2023
2 parents 3fef81b + fed2720 commit 52d3fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion techlibs/lattice/synth_lattice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 52d3fa6

Please sign in to comment.