aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/arch_api.h
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-12-07 16:19:55 +0100
committerGitHub <noreply@github.com>2022-12-07 16:19:55 +0100
commit0eb53d59d84ea1c46de7d9e25eb5a9901544202d (patch)
treeaa7203b5b1064f327b863e7d4cb025b6292c55e4 /common/kernel/arch_api.h
parent519011533a3b7582b984226536cb424d462d1599 (diff)
parentdf99b4ff6c5ce88ce1a731dc8682ab1875b8c237 (diff)
downloadnextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.gz
nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.bz2
nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.zip
Merge pull request #1059 from YosysHQ/gatecat/validity-errors
Add new option for verbose validity errors, use for ice40
Diffstat (limited to 'common/kernel/arch_api.h')
-rw-r--r--common/kernel/arch_api.h2
1 files changed, 1 insertions, 1 deletions
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 <typename R> 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;