aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-12-07 10:27:58 +0100
committergatecat <gatecat@ds0.me>2022-12-07 10:27:58 +0100
commit603b60da8dcadf23eec8609ffc128f8f191c1122 (patch)
tree11ee560444efa1bd2ec56994cb50641290c73662 /machxo2
parentd1afd6c0f1f8452d7461bbf33c84dbfd59236d03 (diff)
downloadnextpnr-603b60da8dcadf23eec8609ffc128f8f191c1122.tar.gz
nextpnr-603b60da8dcadf23eec8609ffc128f8f191c1122.tar.bz2
nextpnr-603b60da8dcadf23eec8609ffc128f8f191c1122.zip
api: add explain_invalid option to isBelLocationValid
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'machxo2')
-rw-r--r--machxo2/arch.cc2
-rw-r--r--machxo2/arch.h2
2 files changed, 2 insertions, 2 deletions
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<ArchRanges>
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<std::string> availablePlacers;