diff options
-rw-r--r-- | common/timing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc index 12a4940a..eb3cdc55 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -155,7 +155,7 @@ struct Timing for (auto &cell : ctx->cells) { input_ports.clear(); output_ports.clear(); - bool is_io = cell.second->type == ctx->id_sb_io; // HACK HACK HACK + bool is_io = ctx->isIOCell(cell.second.get()); for (auto& port : cell.second->ports) { if (!port.second.net) continue; if (port.second.type == PORT_OUT) |