diff options
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index fcc9d798..324934d0 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -913,6 +913,11 @@ bool Arch::isGlobalNet(const NetInfo *net) const return net->driver.cell != nullptr && net->driver.port == id_glb_buf_out; } +bool Arch::isIOCell(const CellInfo *cell) const +{ + return cell->type == id_sb_io; +} + // Assign arch arg info void Arch::assignArchInfo() { |