aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_common.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-04 08:18:04 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-04 08:18:04 +0200
commit082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde (patch)
tree2976db953abbdbaf344fd04c7eb1b75bf8371e2a /common/place_common.cc
parent176a23936c8301eb567ea2a0b466dbebc598b18b (diff)
downloadnextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.tar.gz
nextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.tar.bz2
nextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.zip
clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/place_common.cc')
-rw-r--r--common/place_common.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index dff989bf..06048c02 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -156,7 +156,8 @@ bool place_single_cell(Context *ctx, CellInfo *cell, bool require_legality)
all_placed = true;
}
if (ctx->verbose)
- log_info(" placed single cell '%s' at '%s'\n", cell->name.c_str(ctx), ctx->getBelName(best_bel).c_str(ctx));
+ log_info(" placed single cell '%s' at '%s'\n", cell->name.c_str(ctx),
+ ctx->getBelName(best_bel).c_str(ctx));
ctx->bindBel(best_bel, cell->name, STRENGTH_WEAK);
cell = ripup_target;
@@ -452,7 +453,6 @@ class ConstraintLegaliseWorker
}
}
-
bool legalise_constraints()
{
log_info("Legalising relative constraints...\n");
@@ -472,8 +472,7 @@ class ConstraintLegaliseWorker
for (auto rippedCell : rippedCells) {
bool res = place_single_cell(ctx, ctx->cells.at(rippedCell).get(), true);
if (!res) {
- log_error("failed to place cell '%s' after relative constraint legalisation\n",
- rippedCell.c_str(ctx));
+ log_error("failed to place cell '%s' after relative constraint legalisation\n", rippedCell.c_str(ctx));
return false;
}
}