Do not use actual pip delay, determine best by number of passed pips

This commit is contained in:
Miodrag Milanovic 2025-09-12 13:39:37 +02:00
parent 48cb371d27
commit c66e422dd0
1 changed files with 4 additions and 2 deletions

View File

@ -199,8 +199,10 @@ void GateMateImpl::route_clock()
continue;
}
backtrace[src] = uh;
auto delay = ctx->getDelayNS(ctx->getPipDelay(uh).maxDelay() + ctx->getWireDelay(src).maxDelay() +
ctx->getDelayEpsilon());
//auto delay = ctx->getDelayNS(ctx->getPipDelay(uh).maxDelay() + ctx->getWireDelay(src).maxDelay() +
// ctx->getDelayEpsilon());
// Do not use actual delay, enough is to know number of passed pips
auto delay = ctx->getDelayNS(ctx->getDelayEpsilon());
visit.push(QueuedWire(src, curr.delay + delay));
}
}