aboutsummaryrefslogtreecommitdiffstats
path: root/common/archcheck.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie.hung+gitlab@gmail.com>2018-07-27 05:54:18 +0000
committerEddie Hung <eddie.hung+gitlab@gmail.com>2018-07-27 05:54:18 +0000
commit56d551d4071194b0484395cdd1418cdacd56679f (patch)
tree2dea519e47cf4181cc9d18cab3b2ae821a963da1 /common/archcheck.cc
parent771edd1fda8692930e186a8913b7588d18fda710 (diff)
parent4c40541484f0f0b571e1c7e4604c39c74dd5c93d (diff)
downloadnextpnr-56d551d4071194b0484395cdd1418cdacd56679f.tar.gz
nextpnr-56d551d4071194b0484395cdd1418cdacd56679f.tar.bz2
nextpnr-56d551d4071194b0484395cdd1418cdacd56679f.zip
Merge branch 'redist_slack' into 'redist_slack'
Redist slack See merge request eddiehung/nextpnr!10
Diffstat (limited to 'common/archcheck.cc')
-rw-r--r--common/archcheck.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/archcheck.cc b/common/archcheck.cc
index 5c4ef26c..5059066d 100644
--- a/common/archcheck.cc
+++ b/common/archcheck.cc
@@ -17,8 +17,8 @@
*
*/
-#include "nextpnr.h"
#include "log.h"
+#include "nextpnr.h"
#if 0
#define dbg(...) log(__VA_ARGS__)
@@ -84,8 +84,7 @@ void archcheck_locs(const Context *ctx)
log_info("Checking all locations..\n");
for (int x = 0; x < ctx->getGridDimX(); x++)
- for (int y = 0; y < ctx->getGridDimY(); y++)
- {
+ for (int y = 0; y < ctx->getGridDimY(); y++) {
dbg("> %d %d\n", x, y);
std::unordered_set<int> usedz;