diff options
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/arch.cc | 4 | ||||
| -rw-r--r-- | generic/arch.h | 5 | 
2 files changed, 6 insertions, 3 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index 4469a828..43015685 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -414,6 +414,8 @@ delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const;      return (dx + dy) * grid_distance_to_delay;  } +delay_t Arch::getBudgetOverride(NetInfo *net_info, int user_idx, delay_t budget) const { return budget; } +  // ---------------------------------------------------------------  bool Arch::place() { return placer1(getCtx()); } @@ -436,7 +438,7 @@ DecalXY Arch::getGroupDecal(GroupId group) const { return groups.at(group).decal  // --------------------------------------------------------------- -bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const +bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const  {      return false;  } diff --git a/generic/arch.h b/generic/arch.h index f02649f6..154a2352 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -122,7 +122,7 @@ struct Arch : BaseCtx      Arch(ArchArgs args); -    std::string getChipName() { return chipName; } +    std::string getChipName() const { return chipName; }      IdString archId() const { return id("generic"); }      IdString archArgsToId(ArchArgs args) const { return id("none"); } @@ -199,6 +199,7 @@ struct Arch : BaseCtx      delay_t getRipupDelayPenalty() const { return 1.0; }      float getDelayNS(delay_t v) const { return v; }      uint32_t getDelayChecksum(delay_t v) const { return 0; } +    delay_t getBudgetOverride(NetInfo *net_info, int user_idx, delay_t budget) const;      bool pack() { return true; }      bool place(); @@ -211,7 +212,7 @@ struct Arch : BaseCtx      DecalXY getPipDecal(PipId pip) const;      DecalXY getGroupDecal(GroupId group) const; -    bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const; +    bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const;      IdString getPortClock(const CellInfo *cell, IdString port) const;      bool isClockPort(const CellInfo *cell, IdString port) const;  | 
