diff options
author | Arnaud Durand <arnaud.durand@unifr.ch> | 2019-08-24 18:09:42 +0200 |
---|---|---|
committer | Arnaud Durand <arnaud.durand@unifr.ch> | 2019-08-24 18:09:42 +0200 |
commit | a26c9bb6d9aaa78fd3deae94e3db840286dacf8a (patch) | |
tree | 14451d70cce10b579296988725a00ede1f8265b6 /ecp5/globals.cc | |
parent | a947f09bfbc4d7a87c74a6df4b72c0fa7fbfffe9 (diff) | |
download | nextpnr-a26c9bb6d9aaa78fd3deae94e3db840286dacf8a.tar.gz nextpnr-a26c9bb6d9aaa78fd3deae94e3db840286dacf8a.tar.bz2 nextpnr-a26c9bb6d9aaa78fd3deae94e3db840286dacf8a.zip |
Rename clock restriction attribute to "noglobal"
Diffstat (limited to 'ecp5/globals.cc')
-rw-r--r-- | ecp5/globals.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc index 724b0fd4..bc5c66df 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -435,8 +435,8 @@ class Ecp5GlobalRouter log_info("Promoting globals...\n"); auto clocks = get_clocks(); for (auto clock : clocks) { - bool is_global = bool_or_default(clock->attrs, ctx->id("ECP5_IS_GLOBAL"), true); - if (!is_global) + 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 |