3
0
Fork 0
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:
Clifford Wolf 2017-07-03 19:35:40 +02:00
parent 6afee022ad
commit 5c1c126374
2 changed files with 1 additions and 1 deletions

View file

@ -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");