aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r--ecp5/main.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc
index 245d1cc3..c07e08de 100644
--- a/ecp5/main.cc
+++ b/ecp5/main.cc
@@ -139,6 +139,14 @@ int main(int argc, char *argv[])
ctx.check();
if (!route_design(&ctx) && !ctx.force)
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