diff options
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); |