Use new Arch::isIOCell() function in Timing
This commit is contained in:
parent
21cd1d7dd6
commit
daedf73291
@ -155,7 +155,7 @@ struct Timing
|
|||||||
for (auto &cell : ctx->cells) {
|
for (auto &cell : ctx->cells) {
|
||||||
input_ports.clear();
|
input_ports.clear();
|
||||||
output_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) {
|
for (auto& port : cell.second->ports) {
|
||||||
if (!port.second.net) continue;
|
if (!port.second.net) continue;
|
||||||
if (port.second.type == PORT_OUT)
|
if (port.second.type == PORT_OUT)
|
||||||
|
Loading…
Reference in New Issue
Block a user