diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-20 12:50:38 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-20 12:50:38 +0200 |
commit | c3837027b22b67a5079d84419bae20c4d545430b (patch) | |
tree | 49196c574fdda739506d7c78df6a96960620590f /dummy/arch.h | |
parent | a06d2aeb4da0c51fb50d8283367836e6dbf91b4d (diff) | |
download | nextpnr-c3837027b22b67a5079d84419bae20c4d545430b.tar.gz nextpnr-c3837027b22b67a5079d84419bae20c4d545430b.tar.bz2 nextpnr-c3837027b22b67a5079d84419bae20c4d545430b.zip |
Add better iCE40 delay estimates
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'dummy/arch.h')
-rw-r--r-- | dummy/arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dummy/arch.h b/dummy/arch.h index 02bec23a..7ceda3b3 100644 --- a/dummy/arch.h +++ b/dummy/arch.h @@ -120,6 +120,8 @@ struct Arch : BaseCtx bool estimatePosition(BelId bel, int &x, int &y) const; delay_t estimateDelay(WireId src, WireId dst) const; + delay_t getDelayEpsilon() const { return 0.01; } + float getDelayNS(delay_t v) const { return v; } std::vector<GraphicElement> getFrameGraphics() const; std::vector<GraphicElement> getBelGraphics(BelId bel) const; |