aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/coolrunner2
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-07-03 19:35:40 +0200
committerClifford Wolf <clifford@clifford.at>2017-07-03 19:35:40 +0200
commit5c1c1263749672991c0462405eb0c76ab6989bd6 (patch)
treeb6b891c7f99c924452fba94f1526d9ee05d64dd0 /techlibs/coolrunner2
parent6afee022ade911d211b64109ebaca63b96770943 (diff)
downloadyosys-5c1c1263749672991c0462405eb0c76ab6989bd6.tar.gz
yosys-5c1c1263749672991c0462405eb0c76ab6989bd6.tar.bz2
yosys-5c1c1263749672991c0462405eb0c76ab6989bd6.zip
Apply minor coding style changes to coolrunner2 target
Diffstat (limited to 'techlibs/coolrunner2')
-rw-r--r--techlibs/coolrunner2/coolrunner2_sop.cc (renamed from techlibs/coolrunner2/coolrunner2_sop.cpp)0
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc (renamed from techlibs/coolrunner2/synth_coolrunner2.cpp)2
2 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/coolrunner2/coolrunner2_sop.cpp b/techlibs/coolrunner2/coolrunner2_sop.cc
index cc214cfd2..cc214cfd2 100644
--- a/techlibs/coolrunner2/coolrunner2_sop.cpp
+++ b/techlibs/coolrunner2/coolrunner2_sop.cc
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cpp b/techlibs/coolrunner2/synth_coolrunner2.cc
index 791bcffbe..ae4b84335 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cpp
+++ 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 (flatten && check_label("flatten", "(unless -noflatten)"))
+ if (check_label("flatten", "(unless -noflatten)") && flatten)
{
run("proc");
run("flatten");