aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch_pack_io.cc
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/arch_pack_io.cc')
-rw-r--r--fpga_interchange/arch_pack_io.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/fpga_interchange/arch_pack_io.cc b/fpga_interchange/arch_pack_io.cc
index 6a0ffe0b..06cfa002 100644
--- a/fpga_interchange/arch_pack_io.cc
+++ b/fpga_interchange/arch_pack_io.cc
@@ -243,7 +243,9 @@ void Arch::pack_ports()
for (CellInfo *cell : placed_cells) {
NPNR_ASSERT(cell->bel != BelId());
- NPNR_ASSERT(isBelLocationValid(cell->bel));
+ if (!isBelLocationValid(cell->bel)) {
+ log_error("Tightly bound BEL %s was not valid!\n", nameOfBel(cell->bel));
+ }
}
}
}