diff options
author | Eddie Hung <e.hung@imperial.ac.uk> | 2018-07-21 13:59:48 -0700 |
---|---|---|
committer | Eddie Hung <e.hung@imperial.ac.uk> | 2018-07-21 13:59:48 -0700 |
commit | 5aa4cf2efbf34b89fba39495e66048a09c1d258c (patch) | |
tree | 27f609c6b8503a473bca6731d4a4e332ae239317 /common/timing.h | |
parent | 926c186ec78efb086364a05ba7e83e68fa116301 (diff) | |
download | nextpnr-5aa4cf2efbf34b89fba39495e66048a09c1d258c.tar.gz nextpnr-5aa4cf2efbf34b89fba39495e66048a09c1d258c.tar.bz2 nextpnr-5aa4cf2efbf34b89fba39495e66048a09c1d258c.zip |
Call now-more-flexibile update_budget() during routing, but using any actual delays that we have
Diffstat (limited to 'common/timing.h')
-rw-r--r-- | common/timing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.h b/common/timing.h index b5574392..8c098963 100644 --- a/common/timing.h +++ b/common/timing.h @@ -27,7 +27,7 @@ NEXTPNR_NAMESPACE_BEGIN // Assign "budget" values for all user ports in the design void assign_budget(Context *ctx); -void update_budget(Context *ctx); +void update_budget(Context *ctx, std::function<delay_t(Context*,WireId,WireId)> delay_fn=&Context::estimateDelay); NEXTPNR_NAMESPACE_END |