diff options
author | David Shah <davey1576@gmail.com> | 2018-07-21 19:33:42 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-21 19:33:42 +0200 |
commit | b2452f4646bd828a34ce9efe8ad0fb0772723a90 (patch) | |
tree | ada7ee1d72491b54679b0784408455fe64657136 /common/timing.cc | |
parent | bbb140c6991f01838009a65c81399694fe8afe3f (diff) | |
download | nextpnr-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.cc | 5 |
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 " |