diff options
author | Eddie Hung <eddie.hung+gitlab@gmail.com> | 2018-07-21 19:03:23 +0000 |
---|---|---|
committer | Eddie Hung <eddie.hung+gitlab@gmail.com> | 2018-07-21 19:03:23 +0000 |
commit | 1f6897733b57f03cf7f5ccab46c27de811d42167 (patch) | |
tree | 93d8b7f0baad5b504aff26acdba441ea6ba6d8c6 /common | |
parent | b2452f4646bd828a34ce9efe8ad0fb0772723a90 (diff) | |
parent | 3eecccc6f7f8c36994e9227adfc8ab1067ea287f (diff) | |
download | nextpnr-1f6897733b57f03cf7f5ccab46c27de811d42167.tar.gz nextpnr-1f6897733b57f03cf7f5ccab46c27de811d42167.tar.bz2 nextpnr-1f6897733b57f03cf7f5ccab46c27de811d42167.zip |
Merge branch 'redist_slack' into 'redist_slack'
# Conflicts:
# common/timing.cc
Diffstat (limited to 'common')
-rw-r--r-- | common/timing.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/timing.cc b/common/timing.cc index 26f6530e..5f744621 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -216,10 +216,12 @@ 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 " |