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/arch_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/kernel/arch_api.h') diff --git a/common/kernel/arch_api.h b/common/kernel/arch_api.h index 94a88338..56c5cf0a 100644 --- a/common/kernel/arch_api.h +++ b/common/kernel/arch_api.h @@ -135,7 +135,7 @@ template struct ArchAPI : BaseCtx virtual BelBucketId getBelBucketByName(IdString name) const = 0; virtual BelBucketId getBelBucketForBel(BelId bel) const = 0; virtual BelBucketId getBelBucketForCellType(IdString cell_type) const = 0; - virtual bool isBelLocationValid(BelId bel) const = 0; + virtual bool isBelLocationValid(BelId bel, bool explain_invalid = false) const = 0; virtual typename R::CellTypeRangeT getCellTypes() const = 0; virtual typename R::BelBucketRangeT getBelBuckets() const = 0; virtual typename R::BucketBelRangeT getBelsInBucket(BelBucketId bucket) const = 0; -- cgit v1.2.3