router2: Improve reservation debug logging
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
c76e1be397
commit
0dafcc44ff
@ -453,12 +453,14 @@ struct Router2
|
|||||||
{
|
{
|
||||||
bool did_something = false;
|
bool did_something = false;
|
||||||
WireId src = ctx->getNetinfoSourceWire(net);
|
WireId src = ctx->getNetinfoSourceWire(net);
|
||||||
for (auto sink : ctx->getNetinfoSinkWires(net, net->users.at(i))) {
|
auto &usr = net->users.at(i);
|
||||||
|
for (auto sink : ctx->getNetinfoSinkWires(net, usr)) {
|
||||||
pool<WireId> rsv;
|
pool<WireId> rsv;
|
||||||
WireId cursor = sink;
|
WireId cursor = sink;
|
||||||
bool done = false;
|
bool done = false;
|
||||||
if (ctx->debug)
|
if (ctx->debug)
|
||||||
log("reserving wires for arc %d of net %s\n", int(i), ctx->nameOf(net));
|
log("reserving wires for arc %d (%s.%s) of net %s\n", int(i), ctx->nameOf(usr.cell),
|
||||||
|
ctx->nameOf(usr.port), ctx->nameOf(net));
|
||||||
while (!done) {
|
while (!done) {
|
||||||
auto &wd = wire_data(cursor);
|
auto &wd = wire_data(cursor);
|
||||||
if (ctx->debug)
|
if (ctx->debug)
|
||||||
|
Loading…
Reference in New Issue
Block a user