From f24630c02b7929a134bc831d8f6c2bbed716f01a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 11 Sep 2025 18:48:50 +0200 Subject: [PATCH] tried fixing clock router --- himbaechel/uarch/gatemate/route_clock.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/himbaechel/uarch/gatemate/route_clock.cc b/himbaechel/uarch/gatemate/route_clock.cc index 12ec6ce3..429bbcfc 100644 --- a/himbaechel/uarch/gatemate/route_clock.cc +++ b/himbaechel/uarch/gatemate/route_clock.cc @@ -66,6 +66,10 @@ void GateMateImpl::route_clock() auto reserve = [&](WireId wire, NetInfo *net) { if (ctx->debug) { auto wire_name = "(uninitialized)"; + for (auto pip : ctx->getPipsUphill(wire)) { + wire = ctx->getPipSrcWire(pip); + break; + } if (wire != WireId()) wire_name = ctx->nameOfWire(wire); log_info(" reserving wire %s\n", wire_name);