mirror of https://github.com/YosysHQ/nextpnr.git
clangformat
This commit is contained in:
parent
2b203d21ae
commit
8ab9301dc4
|
|
@ -496,8 +496,9 @@ struct Router2
|
||||||
log(" %s (driver output)\n", ctx->nameOfWire(cursor));
|
log(" %s (driver output)\n", ctx->nameOfWire(cursor));
|
||||||
did_something |= (wd.reserved_net != net->udata);
|
did_something |= (wd.reserved_net != net->udata);
|
||||||
if (wd.reserved_net != -1 && wd.reserved_net != net->udata)
|
if (wd.reserved_net != -1 && wd.reserved_net != net->udata)
|
||||||
log_error("attempting to reserve driver output path wire '%s' for nets '%s' and '%s'\n", ctx->nameOfWire(cursor),
|
log_error("attempting to reserve driver output path wire '%s' for nets '%s' and '%s'\n",
|
||||||
ctx->nameOf(nets_by_udata.at(wd.reserved_net)), ctx->nameOf(net));
|
ctx->nameOfWire(cursor), ctx->nameOf(nets_by_udata.at(wd.reserved_net)),
|
||||||
|
ctx->nameOf(net));
|
||||||
wd.reserved_net = net->udata;
|
wd.reserved_net = net->udata;
|
||||||
WireId next_cursor;
|
WireId next_cursor;
|
||||||
for (auto dh : ctx->getPipsDownhill(cursor)) {
|
for (auto dh : ctx->getPipsDownhill(cursor)) {
|
||||||
|
|
@ -539,8 +540,9 @@ struct Router2
|
||||||
log(" %s (sink input)\n", ctx->nameOfWire(cursor));
|
log(" %s (sink input)\n", ctx->nameOfWire(cursor));
|
||||||
did_something |= (wd.reserved_net != net->udata);
|
did_something |= (wd.reserved_net != net->udata);
|
||||||
if (wd.reserved_net != -1 && wd.reserved_net != net->udata)
|
if (wd.reserved_net != -1 && wd.reserved_net != net->udata)
|
||||||
log_error("attempting to reserve sink input path wire '%s' for nets '%s' and '%s'\n", ctx->nameOfWire(cursor),
|
log_error("attempting to reserve sink input path wire '%s' for nets '%s' and '%s'\n",
|
||||||
ctx->nameOf(nets_by_udata.at(wd.reserved_net)), ctx->nameOf(net));
|
ctx->nameOfWire(cursor), ctx->nameOf(nets_by_udata.at(wd.reserved_net)),
|
||||||
|
ctx->nameOf(net));
|
||||||
wd.reserved_net = net->udata;
|
wd.reserved_net = net->udata;
|
||||||
if (cursor == src)
|
if (cursor == src)
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue