diff options
Diffstat (limited to 'common/place')
-rw-r--r-- | common/place/placer1.cc | 4 | ||||
-rw-r--r-- | common/place/placer_heap.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/common/place/placer1.cc b/common/place/placer1.cc index 23264ce2..e37d3daf 100644 --- a/common/place/placer1.cc +++ b/common/place/placer1.cc @@ -173,7 +173,7 @@ class SAPlacer } 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", @@ -404,7 +404,7 @@ class SAPlacer ctx->yield(); 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) + "'"; 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", |