aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-06 12:12:03 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-06 12:12:03 -0700
commitdaedf732911bc6d149e7c6db14f4fd976c79bbac (patch)
tree440a9e285009fafc02aef9b66fa0a0a1b00cdbc3
parent21cd1d7dd6c1d033c933006a96b5eebfef220a9d (diff)
downloadnextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.tar.gz
nextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.tar.bz2
nextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.zip
Use new Arch::isIOCell() function in Timing
-rw-r--r--common/timing.cc2
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)