From 289fca0976071eabaeccedb7caf9125f70740ef8 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 23 Jun 2018 12:09:01 +0200 Subject: ice40: Move global net test to Arch Signed-off-by: David Shah --- ice40/arch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ice40/arch.h') diff --git a/ice40/arch.h b/ice40/arch.h index 07c2582b..a6b70a69 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -800,6 +800,10 @@ struct Arch : BaseCtx IdString getPortClock(const CellInfo *cell, IdString port) const; // Return true if a port is a clock bool isClockPort(const CellInfo *cell, IdString port) const; + // Return true if a port is a net + bool isGlobalNet(const NetInfo *net) const; + + IdString id_glb_buf_out; }; NEXTPNR_NAMESPACE_END -- cgit v1.2.3