diff --git a/himbaechel/uarch/gatemate/gatemate.cc b/himbaechel/uarch/gatemate/gatemate.cc index 662dfba6..68211b56 100644 --- a/himbaechel/uarch/gatemate/gatemate.cc +++ b/himbaechel/uarch/gatemate/gatemate.cc @@ -602,6 +602,8 @@ void GateMateImpl::postRoute() for (auto &port : cell->ports) { if (port.second.type != PORT_IN) continue; + if (!cell->getPort(port.second.name)) + continue; inversion_before_bridges.insert( {std::make_pair(cell->name, port.first), need_inversion_remove_me_later(cell, port.first)}); }