aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2019-02-09 11:30:08 -0800
committerEddie Hung <eddieh@ece.ubc.ca>2019-02-09 11:30:08 -0800
commit859f105e76d44a0cb28d09c5ac3fbf6948dd1e52 (patch)
treea99a6a58527351e398ed9a2a779009ad69989368
parent366151ad61aba6a6285e99cbc59b54249a979162 (diff)
parent054be887aeb7cc4dee1c7191adeff87fda3f1fb3 (diff)
downloadnextpnr-859f105e76d44a0cb28d09c5ac3fbf6948dd1e52.tar.gz
nextpnr-859f105e76d44a0cb28d09c5ac3fbf6948dd1e52.tar.bz2
nextpnr-859f105e76d44a0cb28d09c5ac3fbf6948dd1e52.zip
Merge remote-tracking branch 'origin/err145' into regressions
-rw-r--r--ice40/pack.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index 6b3ddefc..c22c4e8c 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -770,6 +770,8 @@ static void place_plls(Context *ctx)
io_cell->name.c_str(ctx));
if (pll_used_bels.count(found_bel)) {
CellInfo *conflict_cell = pll_used_bels.at(found_bel);
+ if (conflict_cell == ci)
+ continue;
log_error("PLL '%s' PACKAGEPIN forces it to BEL %s but BEL is already assigned to PLL '%s'\n",
ci->name.c_str(ctx), ctx->getBelName(found_bel).c_str(ctx), conflict_cell->name.c_str(ctx));
}