Rename clock restriction attribute to "noglobal"
This commit is contained in:
parent
a947f09bfb
commit
a26c9bb6d9
@ -435,8 +435,8 @@ class Ecp5GlobalRouter
|
|||||||
log_info("Promoting globals...\n");
|
log_info("Promoting globals...\n");
|
||||||
auto clocks = get_clocks();
|
auto clocks = get_clocks();
|
||||||
for (auto clock : clocks) {
|
for (auto clock : clocks) {
|
||||||
bool is_global = bool_or_default(clock->attrs, ctx->id("ECP5_IS_GLOBAL"), true);
|
bool is_noglobal = bool_or_default(clock->attrs, ctx->id("noglobal"), false);
|
||||||
if (!is_global)
|
if (is_noglobal)
|
||||||
continue;
|
continue;
|
||||||
log_info(" promoting clock net %s to global network\n", clock->name.c_str(ctx));
|
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
|
if (is_ooc) // Don't actually do anything in OOC mode, global routing will be done in the full design
|
||||||
|
Loading…
Reference in New Issue
Block a user