From 603b60da8dcadf23eec8609ffc128f8f191c1122 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 7 Dec 2022 10:27:58 +0100 Subject: api: add explain_invalid option to isBelLocationValid Signed-off-by: gatecat --- machxo2/arch.cc | 2 +- machxo2/arch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'machxo2') diff --git a/machxo2/arch.cc b/machxo2/arch.cc index 93eb4e60..d85921bc 100644 --- a/machxo2/arch.cc +++ b/machxo2/arch.cc @@ -451,7 +451,7 @@ bool Arch::route() // --------------------------------------------------------------- -bool Arch::isBelLocationValid(BelId bel) const +bool Arch::isBelLocationValid(BelId bel, bool explain_invalid) const { // FIXME: Same deal as isValidBelForCell. return true; diff --git a/machxo2/arch.h b/machxo2/arch.h index ddcb9264..489a44ab 100644 --- a/machxo2/arch.h +++ b/machxo2/arch.h @@ -643,7 +643,7 @@ struct Arch : BaseArch bool route() override; // Placer - bool isBelLocationValid(BelId bel) const override; + bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override; static const std::string defaultPlacer; static const std::vector availablePlacers; -- cgit v1.2.3