aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMaciej Dudek <mdudek@antmicro.com>2021-09-27 16:16:33 +0200
committerMaciej Dudek <mdudek@antmicro.com>2021-09-27 16:16:33 +0200
commitea489f6d934ac6e649bcd81e10856e809f6b30d2 (patch)
tree54c7619fc75d7e2100b970112d1aa78f75451867 /common
parent439ae9609b8245e56cda9c8f38f8d6a4bde90d5b (diff)
downloadnextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.tar.gz
nextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.tar.bz2
nextpnr-ea489f6d934ac6e649bcd81e10856e809f6b30d2.zip
Fix small isses and code formatting
Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
Diffstat (limited to 'common')
-rw-r--r--common/placer1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index 3501e446..4db1c951 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -731,11 +731,11 @@ class SAPlacer
return true;
swap_fail:
#if CHAIN_DEBUG
- log_info("Swap failed\n");
+ log_info("Swap failed\n");
#endif
for (auto cell_pair : moved_cells) {
CellInfo *cell = ctx->cells.at(cell_pair.first).get();
- if (cell->bel != BelId()){
+ if (cell->bel != BelId()) {
#if CHAIN_DEBUG
log_info("%d unbind %s\n", __LINE__, ctx->nameOfBel(cell->bel));
#endif