aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-21 19:33:42 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-21 19:33:42 +0200
commitb2452f4646bd828a34ce9efe8ad0fb0772723a90 (patch)
treeada7ee1d72491b54679b0784408455fe64657136 /common/timing.cc
parentbbb140c6991f01838009a65c81399694fe8afe3f (diff)
downloadnextpnr-b2452f4646bd828a34ce9efe8ad0fb0772723a90.tar.gz
nextpnr-b2452f4646bd828a34ce9efe8ad0fb0772723a90.tar.bz2
nextpnr-b2452f4646bd828a34ce9efe8ad0fb0772723a90.zip
HACK: set carry budgets to zero
Diffstat (limited to 'common/timing.cc')
-rw-r--r--common/timing.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc
index 479dba26..26f6530e 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -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 "