Skip to content

Commit

Permalink
Rename clock restriction attribute to "noglobal"
Browse files Browse the repository at this point in the history
  • Loading branch information
DurandA committed Aug 24, 2019
1 parent a947f09 commit a26c9bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecp5/globals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a26c9bb

Please sign in to comment.