aboutsummaryrefslogtreecommitdiffstats
path: root/common/archcheck.cc
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-10 19:51:35 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-10 19:51:35 -0700
commitfc0496ec718546366a47e60db090caa6a7059277 (patch)
treed1366190553de2147aae4ab71a1179bb712b91d7 /common/archcheck.cc
parenta41500a015afe7fec5f7d122a37ccd1031f9fb51 (diff)
parent8b04a646291bec7fb65b3580a08c266268acf010 (diff)
downloadnextpnr-fc0496ec718546366a47e60db090caa6a7059277.tar.gz
nextpnr-fc0496ec718546366a47e60db090caa6a7059277.tar.bz2
nextpnr-fc0496ec718546366a47e60db090caa6a7059277.zip
Merge remote-tracking branch 'origin/master' into placer_speedup
Diffstat (limited to 'common/archcheck.cc')
-rw-r--r--common/archcheck.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/archcheck.cc b/common/archcheck.cc
index 5059066d..3d9e4e76 100644
--- a/common/archcheck.cc
+++ b/common/archcheck.cc
@@ -75,7 +75,7 @@ void archcheck_locs(const Context *ctx)
log_assert(0 <= loc.z);
log_assert(loc.x < ctx->getGridDimX());
log_assert(loc.y < ctx->getGridDimY());
- log_assert(loc.z < ctx->getTileDimZ(loc.x, loc.y));
+ log_assert(loc.z < ctx->getTileBelDimZ(loc.x, loc.y));
BelId bel2 = ctx->getBelByLocation(loc);
dbg(" ... %s\n", ctx->getBelName(bel2).c_str(ctx));
@@ -88,7 +88,7 @@ void archcheck_locs(const Context *ctx)
dbg("> %d %d\n", x, y);
std::unordered_set<int> usedz;
- for (int z = 0; z < ctx->getTileDimZ(x, y); z++) {
+ for (int z = 0; z < ctx->getTileBelDimZ(x, y); z++) {
BelId bel = ctx->getBelByLocation(Loc(x, y, z));
if (bel == BelId())
continue;