From 3da2769e312e62fecedcdc26f231ebced77b3ff7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 11 Feb 2026 08:45:26 +0100 Subject: [PATCH] we care only if there is net --- himbaechel/uarch/gatemate/gatemate.cc | 2 ++ 1 file changed, 2 insertions(+) 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)}); }