tried fixing clock router

This commit is contained in:
Miodrag Milanovic 2025-09-11 18:48:50 +02:00
parent 10765f7516
commit f24630c02b
1 changed files with 4 additions and 0 deletions

View File

@ -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);