diff options
author | David Shah <davey1576@gmail.com> | 2018-08-01 05:59:34 +0000 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-01 05:59:34 +0000 |
commit | b1a99789224774f640558b7b26fd2385b4f249db (patch) | |
tree | 5fb3aa360c2d0e4e625e4deafcc10f36d6420f9f /common/nextpnr.h | |
parent | 474aa3470abb9a9bbbae137574542a6e5ac190a0 (diff) | |
parent | 94161e646d0384bde9401d3dbd1a76244abd9d23 (diff) | |
download | nextpnr-b1a99789224774f640558b7b26fd2385b4f249db.tar.gz nextpnr-b1a99789224774f640558b7b26fd2385b4f249db.tar.bz2 nextpnr-b1a99789224774f640558b7b26fd2385b4f249db.zip |
Merge branch 'redist_slack' into 'master'
Update budgets throughout placement and routing
See merge request SymbioticEDA/nextpnr!16
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index ce6413aa..f01173e6 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -472,14 +472,16 @@ struct Context : Arch, DeterministicRNG bool force = false; bool timing_driven = true; float target_freq = 12e6; + bool user_freq = false; + int slack_redist_iter = 0; Context(ArchArgs args) : Arch(args) {} // -------------------------------------------------------------- - WireId getNetinfoSourceWire(NetInfo *net_info) const; - WireId getNetinfoSinkWire(NetInfo *net_info, int user_idx) const; - delay_t getNetinfoRouteDelay(NetInfo *net_info, int user_idx) const; + WireId getNetinfoSourceWire(const NetInfo *net_info) const; + WireId getNetinfoSinkWire(const NetInfo *net_info, const PortRef &sink) const; + delay_t getNetinfoRouteDelay(const NetInfo *net_info, const PortRef &sink) const; // provided by router1.cc bool getActualRouteDelay(WireId src_wire, WireId dst_wire, delay_t &delay); |