diff options
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/arch.cc | 8 | ||||
-rw-r--r-- | dummy/arch.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/dummy/arch.cc b/dummy/arch.cc index fa0d8bd3..103eee4d 100644 --- a/dummy/arch.cc +++ b/dummy/arch.cc @@ -141,11 +141,11 @@ const std::vector<PipId> &Arch::getWireAliases(WireId wire) const // --------------------------------------------------------------- -bool Arch::estimatePosition(BelId bel, int &x, int &y) const +void Arch::estimatePosition(BelId bel, int &x, int &y, bool &gb) const { - x = 0.0; - y = 0.0; - return false; + x = 0; + y = 0; + gb = false; } delay_t Arch::estimateDelay(WireId src, WireId dst) const { return 0.0; } diff --git a/dummy/arch.h b/dummy/arch.h index 39c48232..43ab3290 100644 --- a/dummy/arch.h +++ b/dummy/arch.h @@ -120,8 +120,10 @@ struct Arch : BaseCtx const std::vector<PipId> &getPipsUphill(WireId wire) const; const std::vector<PipId> &getWireAliases(WireId wire) const; - bool estimatePosition(BelId bel, int &x, int &y) const; + void estimatePosition(BelId bel, int &x, int &y, bool &gb) 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; |