From 8a6ff4b261b23d8bce3efb0236b6a74621121918 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 5 Aug 2018 22:33:14 -0700 Subject: Modify getBudgetOverride for generic and ecp5 too --- generic/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generic/arch.h') diff --git a/generic/arch.h b/generic/arch.h index a5b3470f..59fe8d05 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -200,7 +200,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(const NetInfo *net_info, const PortRef &sink, delay_t budget) const; + bool getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t &budget) const; bool pack() { return true; } bool place(); -- cgit v1.2.3 From 6768a5c03e59e75ac20c666419b4e42cc16118e1 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Mon, 6 Aug 2018 17:17:39 -0700 Subject: Add Arch::isIOCell() to ecp5 and generic --- generic/arch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'generic/arch.h') diff --git a/generic/arch.h b/generic/arch.h index 59fe8d05..e7010885 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -215,6 +215,8 @@ struct Arch : BaseCtx 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; + // Return true if a cell is an IO + bool isIOCell(const CellInfo *cell) const; bool isValidBelForCell(CellInfo *cell, BelId bel) const; bool isBelLocationValid(BelId bel) const; -- cgit v1.2.3 From bf42e525cb7ab6ae071b16dfeca55194878be69c Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 8 Aug 2018 14:37:59 +0200 Subject: Arch API: New specification for timing port classes Signed-off-by: David Shah --- generic/arch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generic/arch.h') diff --git a/generic/arch.h b/generic/arch.h index e7010885..fb4f3660 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -213,8 +213,8 @@ struct Arch : BaseCtx DecalXY getGroupDecal(GroupId group) 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; + // Get the port class, also setting clockPort if applicable + TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, IdString &clockPort) const; // Return true if a cell is an IO bool isIOCell(const CellInfo *cell) const; -- cgit v1.2.3 From 433ad6462e401e722fbdd033c2b4b1c9a3537947 Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 8 Aug 2018 17:06:59 +0200 Subject: Arch API: Removing Arch::isIOCell Signed-off-by: David Shah --- generic/arch.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'generic/arch.h') diff --git a/generic/arch.h b/generic/arch.h index fb4f3660..46801372 100644 --- a/generic/arch.h +++ b/generic/arch.h @@ -215,8 +215,6 @@ struct Arch : BaseCtx bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const; // Get the port class, also setting clockPort if applicable TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, IdString &clockPort) const; - // Return true if a cell is an IO - bool isIOCell(const CellInfo *cell) const; bool isValidBelForCell(CellInfo *cell, BelId bel) const; bool isBelLocationValid(BelId bel) const; -- cgit v1.2.3