mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 07:27:58 +00:00
Unify usage of noflatten among architectures
This commit is contained in:
parent
d98fe8ce1f
commit
3b17c9018a
4 changed files with 16 additions and 8 deletions
|
@ -129,7 +129,7 @@ struct SynthCoolrunner2Pass : public ScriptPass
|
|||
run(stringf("hierarchy -check %s", help_mode ? "-top <top>" : top_opt.c_str()));
|
||||
}
|
||||
|
||||
if (check_label("flatten", "(unless -noflatten)") && flatten)
|
||||
if (flatten && check_label("flatten", "(unless -noflatten)"))
|
||||
{
|
||||
run("proc");
|
||||
run("flatten");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue