diff options
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/globals.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc index 9dd4449b..bc5c66df 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -435,6 +435,9 @@ class Ecp5GlobalRouter log_info("Promoting globals...\n"); auto clocks = get_clocks(); for (auto clock : clocks) { + bool is_noglobal = bool_or_default(clock->attrs, ctx->id("noglobal"), false); + if (is_noglobal) + continue; log_info(" promoting clock net %s to global network\n", clock->name.c_str(ctx)); if (is_ooc) // Don't actually do anything in OOC mode, global routing will be done in the full design clock->is_global = true; |