From 5c1c1263749672991c0462405eb0c76ab6989bd6 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 3 Jul 2017 19:35:40 +0200 Subject: [PATCH] Apply minor coding style changes to coolrunner2 target --- .../coolrunner2/{coolrunner2_sop.cpp => coolrunner2_sop.cc} | 0 .../coolrunner2/{synth_coolrunner2.cpp => synth_coolrunner2.cc} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename techlibs/coolrunner2/{coolrunner2_sop.cpp => coolrunner2_sop.cc} (100%) rename techlibs/coolrunner2/{synth_coolrunner2.cpp => synth_coolrunner2.cc} (98%) diff --git a/techlibs/coolrunner2/coolrunner2_sop.cpp b/techlibs/coolrunner2/coolrunner2_sop.cc similarity index 100% rename from techlibs/coolrunner2/coolrunner2_sop.cpp rename to techlibs/coolrunner2/coolrunner2_sop.cc diff --git a/techlibs/coolrunner2/synth_coolrunner2.cpp b/techlibs/coolrunner2/synth_coolrunner2.cc similarity index 98% rename from techlibs/coolrunner2/synth_coolrunner2.cpp rename to 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_opt.c_str())); } - if (flatten && check_label("flatten", "(unless -noflatten)")) + if (check_label("flatten", "(unless -noflatten)") && flatten) { run("proc"); run("flatten"); -- 2.30.2