3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-16 07:05:37 +00:00

Add check before flatten in synth_*.

This commit is contained in:
nella 2026-05-05 14:04:46 +02:00
parent 16b893bd88
commit fff034d2f8
20 changed files with 47 additions and 14 deletions

View file

@ -198,9 +198,11 @@ struct SynthIntelPass : public ScriptPass {
if (check_label("coarse")) {
run("proc");
if (flatten || help_mode)
if (flatten || help_mode) {
run("check");
run("flatten", "(skip if -noflatten)");
run("tribuf -logic");
}
run("tribuf -logic");
run("deminout");
run("opt_expr");
run("opt_clean");