HACK: set carry budgets to zero

This commit is contained in:
David Shah 2018-07-21 19:33:42 +02:00
parent bbb140c699
commit b2452f4646

View File

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