Merge branch 'redist_slack' into 'redist_slack'

# Conflicts:
#   common/timing.cc
This commit is contained in:
Eddie Hung 2018-07-21 19:03:23 +00:00
commit 1f6897733b

View File

@ -216,10 +216,12 @@ void update_budget(Context *ctx)
auto it = updates.find(pi); auto it = updates.find(pi);
if (it == updates.end()) continue; if (it == updates.end()) continue;
user.budget = delays.at(pi) + it->second; user.budget = delays.at(pi) + it->second;
// HACK HACK HACK // HACK HACK HACK
if (net.second->driver.port == ctx->id("COUT")) if (net.second->driver.port == ctx->id("COUT"))
user.budget = 0; user.budget = 0;
// HACK HACK HACK // HACK HACK HACK
// Post-update check // Post-update check
// if (user.budget < 0) // if (user.budget < 0)
// log_warning("port %s.%s, connected to net '%s', has negative " // log_warning("port %s.%s, connected to net '%s', has negative "