diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 12:11:47 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 12:11:47 -0700 |
commit | 21cd1d7dd6c1d033c933006a96b5eebfef220a9d (patch) | |
tree | 39fb005022956dff891bfadd192721acb4c59f8e /ice40/arch.h | |
parent | 3f5c0373a5eb77cf4cd40f1d280452bfbe6f42f8 (diff) | |
download | nextpnr-21cd1d7dd6c1d033c933006a96b5eebfef220a9d.tar.gz nextpnr-21cd1d7dd6c1d033c933006a96b5eebfef220a9d.tar.bz2 nextpnr-21cd1d7dd6c1d033c933006a96b5eebfef220a9d.zip |
Add new Arch::isIOCell() API function
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 328950df..2b785079 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -794,6 +794,8 @@ struct Arch : BaseCtx bool isClockPort(const CellInfo *cell, IdString port) const; // Return true if a port is a net bool isGlobalNet(const NetInfo *net) const; + // Return true if a cell is an IO + bool isIOCell(const CellInfo *cell) const; // ------------------------------------------------- |