3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-11 09:46:19 +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

@ -330,10 +330,8 @@ struct SynthQuickLogicPass : public ScriptPass {
}
if (check_label("map_luts", "(for pp3)") && (help_mode || family == "pp3")) {
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 " + lib_path + family + "/latches_map.v");
if (abc9) {
run("read_verilog -lib -specify -icells " + lib_path + family + "/abc9_model.v");