diff options
author | David Shah <davey1576@gmail.com> | 2018-06-23 12:09:01 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-23 12:09:01 +0200 |
commit | 289fca0976071eabaeccedb7caf9125f70740ef8 (patch) | |
tree | fa182d79e8dc25625fce57dac7756a093a6cf730 /ice40/arch.h | |
parent | 2e6916ecabeb9b4e4df23e68378a0c4fc608c6ec (diff) | |
download | nextpnr-289fca0976071eabaeccedb7caf9125f70740ef8.tar.gz nextpnr-289fca0976071eabaeccedb7caf9125f70740ef8.tar.bz2 nextpnr-289fca0976071eabaeccedb7caf9125f70740ef8.zip |
ice40: Move global net test to Arch
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |