diff options
author | David Shah <davey1576@gmail.com> | 2018-09-29 17:38:39 +0100 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-09-29 17:38:39 +0100 |
commit | 5e46d1eb98bc398b7172b1d9f0aa5505673c6198 (patch) | |
tree | d7664a936362d2870890e8eb7c0bd15dd719bc84 /ecp5 | |
parent | c5f9a12bb103626e980bd4b843d270eb3ae64d41 (diff) | |
download | nextpnr-5e46d1eb98bc398b7172b1d9f0aa5505673c6198.tar.gz nextpnr-5e46d1eb98bc398b7172b1d9f0aa5505673c6198.tar.bz2 nextpnr-5e46d1eb98bc398b7172b1d9f0aa5505673c6198.zip |
ecp5: Remove excessive debugging from global promoter
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/globals.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc index 09e298d0..b74c700b 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -92,10 +92,8 @@ class Ecp5GlobalRouter tap_loc.x = ctx->globalInfoAtLoc(tile_glb.location).tap_col; tap_loc.y = tile_glb.location.y; if (td == TAP_DIR_LEFT) { - log_info(" finding tap %d, %d, %s\n", tap_loc.x, tap_loc.y, ("L_" + glbName).c_str()); tap_wire = ctx->getWireByLocAndBasename(tap_loc, "L_" + glbName); } else { - log_info(" finding tap %d, %d, %s\n", tap_loc.x, tap_loc.y, ("R_" + glbName).c_str()); tap_wire = ctx->getWireByLocAndBasename(tap_loc, "R_" + glbName); } NPNR_ASSERT(tap_wire != WireId()); @@ -149,7 +147,6 @@ class Ecp5GlobalRouter ctx->getBelName(user.cell->bel).c_str(ctx), user.port.c_str(ctx)); } } - log_info(" routing net %s from %s\n", net->name.c_str(ctx), ctx->getWireName(next).c_str(ctx)); // Set all the pips we found along the way WireId cursor = next; while (true) { @@ -158,7 +155,6 @@ class Ecp5GlobalRouter break; ctx->bindPip(fnd->second, net, STRENGTH_LOCKED); cursor = ctx->getPipDstWire(fnd->second); - log_info(" via %s\n", ctx->getWireName(cursor).c_str(ctx)); } // If the global network inside the tile isn't already set up, @@ -215,8 +211,6 @@ class Ecp5GlobalRouter cursor = visit.front(); visit.pop(); NetInfo *bound = ctx->getBoundWireNet(cursor); - if (ctx->verbose) - log_info(" exploring %s\n", ctx->getWireName(cursor).c_str(ctx)); if (bound == net) { } else if (bound != nullptr) { continue; @@ -225,8 +219,6 @@ class Ecp5GlobalRouter break; for (auto dh : ctx->getPipsDownhill(cursor)) { WireId pipDst = ctx->getPipDstWire(dh); - if (ctx->verbose) - log_info(" downhill -> %s\n", ctx->getWireName(pipDst).c_str(ctx)); if (backtrace.count(pipDst)) continue; backtrace[pipDst] = dh; @@ -244,7 +236,7 @@ class Ecp5GlobalRouter } ctx->bindPip(fnd->second, net, STRENGTH_LOCKED); cursor = ctx->getPipSrcWire(fnd->second); - } + }\ if (ctx->getBoundWireNet(src) == nullptr) ctx->bindWire(src, net, STRENGTH_LOCKED); return true; |