diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-30 19:19:30 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-30 21:51:30 -0700 |
commit | a82f6f410595de26e82eaf4818e41036f0bc2f9c (patch) | |
tree | 22620c1be70ce79387d8309ccb46aceb295db0fa /common/nextpnr.cc | |
parent | e4b044da52ce7d8fed2e461bec09c86cb293566d (diff) | |
download | nextpnr-a82f6f410595de26e82eaf4818e41036f0bc2f9c.tar.gz nextpnr-a82f6f410595de26e82eaf4818e41036f0bc2f9c.tar.bz2 nextpnr-a82f6f410595de26e82eaf4818e41036f0bc2f9c.zip |
Modify predictDelay signature
Diffstat (limited to 'common/nextpnr.cc')
-rw-r--r-- | common/nextpnr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc index 5b0a45ed..4a97bd93 100644 --- a/common/nextpnr.cc +++ b/common/nextpnr.cc @@ -111,7 +111,7 @@ delay_t Context::getNetinfoRouteDelay(NetInfo *net_info, int user_idx) const if (cursor == src_wire) return delay + getWireDelay(src_wire).maxDelay(); - return predictDelay(src_wire, dst_wire); + return predictDelay(net_info, net_info->users[user_idx]); } static uint32_t xorshift32(uint32_t x) |