diff options
author | myrtle <gatecat@ds0.me> | 2022-12-07 16:19:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 16:19:55 +0100 |
commit | 0eb53d59d84ea1c46de7d9e25eb5a9901544202d (patch) | |
tree | aa7203b5b1064f327b863e7d4cb025b6292c55e4 /common/place/placer_heap.cc | |
parent | 519011533a3b7582b984226536cb424d462d1599 (diff) | |
parent | df99b4ff6c5ce88ce1a731dc8682ab1875b8c237 (diff) | |
download | nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.gz nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.bz2 nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.zip |
Merge pull request #1059 from YosysHQ/gatecat/validity-errors
Add new option for verbose validity errors, use for ice40
Diffstat (limited to 'common/place/placer_heap.cc')
-rw-r--r-- | common/place/placer_heap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/place/placer_heap.cc b/common/place/placer_heap.cc index 8da4ee2e..0dfc29e6 100644 --- a/common/place/placer_heap.cc +++ b/common/place/placer_heap.cc @@ -327,7 +327,7 @@ class HeAPPlacer bool any_bad_placements = false; for (auto bel : ctx->getBels()) { CellInfo *cell = ctx->getBoundBelCell(bel); - if (!ctx->isBelLocationValid(bel)) { + if (!ctx->isBelLocationValid(bel, /* explain_invalid */ true)) { std::string cell_text = "no cell"; if (cell != nullptr) cell_text = std::string("cell '") + ctx->nameOf(cell) + "'"; @@ -434,7 +434,7 @@ class HeAPPlacer } ctx->bindBel(bel, cell, STRENGTH_USER); - if (!ctx->isBelLocationValid(bel)) { + if (!ctx->isBelLocationValid(bel, /* explain_invalid */ true)) { IdString bel_type = ctx->getBelType(bel); log_error("Bel \'%s\' of type \'%s\' is not valid for cell " "\'%s\' of type \'%s\'\n", |