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 --- common/kernel/base_arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/kernel/base_arch.h') diff --git a/common/kernel/base_arch.h b/common/kernel/base_arch.h index 53e28652..609d9378 100644 --- a/common/kernel/base_arch.h +++ b/common/kernel/base_arch.h @@ -357,7 +357,7 @@ template struct BaseArch : ArchAPI { return getBelBucketByName(cell_type); }; - virtual bool isBelLocationValid(BelId bel) const override { return true; } + virtual bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override { return true; } virtual typename R::CellTypeRangeT getCellTypes() const override { NPNR_ASSERT(cell_types_initialised); -- cgit v1.2.3