mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-03 20:24:38 +00:00
gowin: synth_gowin: Merge flatten label with coarse
This commit is contained in:
parent
5ea073d45e
commit
542b29fa6a
1 changed files with 4 additions and 8 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue