aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/coolrunner2
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-01-04 14:56:04 +0100
committerGitHub <noreply@github.com>2019-01-04 14:56:04 +0100
commit7a2db03aa7fc4d290f6c770c86b63a3510598c91 (patch)
tree41999740eb387054e7e578d6fa610789e9e2d9e7 /techlibs/coolrunner2
parentf5d23d4c7af33f73b1d9250e458b0932ff7a965b (diff)
parent3b17c9018acd9d8bee12e653745fb2f00105bd58 (diff)
downloadyosys-7a2db03aa7fc4d290f6c770c86b63a3510598c91.tar.gz
yosys-7a2db03aa7fc4d290f6c770c86b63a3510598c91.tar.bz2
yosys-7a2db03aa7fc4d290f6c770c86b63a3510598c91.zip
Merge pull request #776 from mmicko/unify_noflatten
Unify usage of noflatten among architectures
Diffstat (limited to 'techlibs/coolrunner2')
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc
index 810380d4a..21bbcaef4 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cc
+++ b/techlibs/coolrunner2/synth_coolrunner2.cc
@@ -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");