1
0
mirror of synced 2026-02-19 22:25:06 +00:00

gowin: synth_gowin: Merge flatten label with coarse

This commit is contained in:
Maxim Kudinov
2026-02-03 19:55:47 +03:00
parent 5ea073d45e
commit 542b29fa6a

View File

@@ -254,17 +254,13 @@ struct SynthGowinPass : public ScriptPass
run(stringf("hierarchy -check %s", help_mode ? "-top <top>" : top_opt));
}
if (flatten && check_label("flatten", "(unless -noflatten)"))
{
run("proc");
run("flatten");
run("tribuf -logic");
run("deminout");
}
if (check_label("coarse"))
{
run("proc");
if (flatten || help_mode)
run("flatten", "(unless -noflatten)");
run("tribuf -logic");
run("deminout");
run("opt_expr");
run("opt_clean");
run("check");