3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-13 18:56:27 +00:00

Simplify check -latchonly calls in synth.

This commit is contained in:
nella 2026-07-07 10:10:00 +02:00
parent 6675c45e29
commit 362e828dc2
6 changed files with 6 additions and 18 deletions

View file

@ -419,10 +419,8 @@ struct SynthIce40Pass : public ScriptPass
run("abc", " (only if -abc2)");
run("ice40_opt", "(only if -abc2)");
}
if (help_mode)
if (latches == "error" || help_mode)
run("check -latchonly -assert", "(only if -latches error, the default)");
else if (latches == "error")
run("check -latchonly -assert");
run("techmap -map +/ice40/latches_map.v");
if (noabc || flowmap || help_mode) {
run("simplemap", " (if -noabc or -flowmap)");