aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-04 08:19:27 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-04 08:19:27 +0200
commit2215ace1dcc9d16f3661c8f95dff56f5f582b6bc (patch)
tree6b6d382905de737fb236f451fe72f06b8d02a024 /common
parent082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde (diff)
downloadnextpnr-2215ace1dcc9d16f3661c8f95dff56f5f582b6bc.tar.gz
nextpnr-2215ace1dcc9d16f3661c8f95dff56f5f582b6bc.tar.bz2
nextpnr-2215ace1dcc9d16f3661c8f95dff56f5f582b6bc.zip
place_common: Remove excessively verbose debugging
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/place_common.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index 06048c02..1baab8a1 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -226,20 +226,14 @@ class ConstraintLegaliseWorker
{
BelId locBel = ctx->getBelByLocation(loc);
if (locBel == BelId()) {
- if (ctx->verbose)
- log_info(" no bel at location\n");
return false;
}
if (ctx->getBelType(locBel) != ctx->belTypeFromId(cell->type)) {
- if (ctx->verbose)
- log_info(" bel of incorrect type\n");
return false;
}
if (!ctx->checkBelAvail(locBel)) {
IdString confCell = ctx->getConflictingBelCell(locBel);
if (ctx->cells[confCell]->belStrength >= STRENGTH_STRONG) {
- if (ctx->verbose)
- log_info(" bel already bound strongly to '%s'\n", confCell.c_str(ctx));
return false;
}
}
@@ -271,9 +265,6 @@ class ConstraintLegaliseWorker
cloc.x = xSearch.get();
cloc.y = ySearch.get();
cloc.z = zSearch.get();
- if (ctx->verbose)
- log_info(" checking '%s' at (%d, %d, %d)\n", child->name.c_str(ctx), cloc.x, cloc.y,
- cloc.z);
zSearch.next();
if (zSearch.done()) {
@@ -347,8 +338,6 @@ class ConstraintLegaliseWorker
rootLoc.x = xRootSearch.get();
rootLoc.y = yRootSearch.get();
rootLoc.z = zRootSearch.get();
- if (ctx->verbose)
- log_info(" trying (%d, %d, %d)\n", rootLoc.x, rootLoc.y, rootLoc.z);
zRootSearch.next();
if (zRootSearch.done()) {
zRootSearch.reset();
@@ -372,8 +361,6 @@ class ConstraintLegaliseWorker
log_info(" placing '%s' at (%d, %d, %d)\n", cp.first.c_str(ctx), cp.second.x,
cp.second.y, cp.second.z);
BelId target = ctx->getBelByLocation(cp.second);
- if (ctx->verbose)
- log_info(" resolved to bel: '%s'\n", ctx->getBelName(target).c_str(ctx));
if (!ctx->checkBelAvail(target)) {
IdString conflicting = ctx->getConflictingBelCell(target);
if (conflicting != IdString()) {