aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/cells.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-16 17:09:41 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-16 17:09:41 +0200
commitbb92dc09a8d3450a7d356edf0ac2e9971083cf2f (patch)
treeb57ea93eab5dee41bddc3921c464155a1fbed562 /ice40/cells.h
parentc4241db1177b6caf1d5c44d83d434136c16e3dd4 (diff)
downloadnextpnr-bb92dc09a8d3450a7d356edf0ac2e9971083cf2f.tar.gz
nextpnr-bb92dc09a8d3450a7d356edf0ac2e9971083cf2f.tar.bz2
nextpnr-bb92dc09a8d3450a7d356edf0ac2e9971083cf2f.zip
ice40: Promote reset signal
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/cells.h')
-rw-r--r--ice40/cells.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ice40/cells.h b/ice40/cells.h
index a2fa4c16..f1bc5d1f 100644
--- a/ice40/cells.h
+++ b/ice40/cells.h
@@ -77,6 +77,12 @@ void nxio_to_sb(CellInfo *nxio, CellInfo *sbio);
// Return true if a net is a global net
bool is_global_net(const NetInfo *net);
+// Return true if a port is a clock port
+bool is_clock_port(const PortRef &port);
+
+// Return true if a port is a reset port
+bool is_reset_port(const PortRef &port);
+
NEXTPNR_NAMESPACE_END
#endif