mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
Apply minor coding style changes to coolrunner2 target
This commit is contained in:
parent
6afee022ad
commit
5c1c126374
|
@ -129,7 +129,7 @@ struct SynthCoolrunner2Pass : public ScriptPass
|
|||
run(stringf("hierarchy -check %s", help_mode ? "-top <top>" : top_opt.c_str()));
|
||||
}
|
||||
|
||||
if (flatten && check_label("flatten", "(unless -noflatten)"))
|
||||
if (check_label("flatten", "(unless -noflatten)") && flatten)
|
||||
{
|
||||
run("proc");
|
||||
run("flatten");
|
Loading…
Reference in a new issue