aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/globals.cc')
-rw-r--r--ecp5/globals.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc
index 5fb348e7..9dd4449b 100644
--- a/ecp5/globals.cc
+++ b/ecp5/globals.cc
@@ -431,11 +431,15 @@ class Ecp5GlobalRouter
public:
void promote_globals()
{
+ bool is_ooc = bool_or_default(ctx->settings, ctx->id("arch.ooc"));
log_info("Promoting globals...\n");
auto clocks = get_clocks();
for (auto clock : clocks) {
log_info(" promoting clock net %s to global network\n", clock->name.c_str(ctx));
- insert_dcc(clock);
+ if (is_ooc) // Don't actually do anything in OOC mode, global routing will be done in the full design
+ clock->is_global = true;
+ else
+ insert_dcc(clock);
}
}