fix clock routing

This commit is contained in:
Miodrag Milanovic 2025-09-12 10:54:46 +02:00
parent 2823ea385a
commit 48cb371d27
1 changed files with 4 additions and 4 deletions

View File

@ -64,12 +64,12 @@ void GateMateImpl::route_clock()
};
auto reserve = [&](WireId wire, NetInfo *net) {
for (auto pip : ctx->getPipsUphill(wire)) {
wire = ctx->getPipSrcWire(pip);
break;
}
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);