ecp5: Dump routing as a sanity check
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
981522b10e
commit
863c22620b
@ -139,6 +139,14 @@ int main(int argc, char *argv[])
|
|||||||
ctx.check();
|
ctx.check();
|
||||||
if (!route_design(&ctx) && !ctx.force)
|
if (!route_design(&ctx) && !ctx.force)
|
||||||
log_error("Routing design failed.\n");
|
log_error("Routing design failed.\n");
|
||||||
|
|
||||||
|
// TEST BEGIN
|
||||||
|
for (auto pip : ctx.getPips()) {
|
||||||
|
if (!ctx.checkPipAvail(pip)) {
|
||||||
|
std::cout << ctx.getWireName(ctx.getPipSrcWire(pip)).str(&ctx) << " -> " << ctx.getWireName(ctx.getPipDstWire(pip)).str(&ctx) << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// TEST END
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_PYTHON
|
#ifndef NO_PYTHON
|
||||||
|
Loading…
Reference in New Issue
Block a user