diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 12:12:03 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 12:12:03 -0700 |
commit | daedf732911bc6d149e7c6db14f4fd976c79bbac (patch) | |
tree | 440a9e285009fafc02aef9b66fa0a0a1b00cdbc3 /common/timing.cc | |
parent | 21cd1d7dd6c1d033c933006a96b5eebfef220a9d (diff) | |
download | nextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.tar.gz nextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.tar.bz2 nextpnr-daedf732911bc6d149e7c6db14f4fd976c79bbac.zip |
Use new Arch::isIOCell() function in Timing
Diffstat (limited to 'common/timing.cc')
-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) |