3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-09 11:52:23 +00:00

Add check before flatten in synth.

This commit is contained in:
nella 2026-05-04 18:58:56 +02:00 committed by nella
parent 239e3c2849
commit 16b893bd88

View file

@ -277,6 +277,7 @@ struct SynthPass : public ScriptPass {
if (check_label("coarse")) {
run("proc");
run("check");
if (flatten || help_mode)
run("flatten", " (if -flatten)");
run("opt_expr");