aboutsummaryrefslogtreecommitdiffstats
path: root/generic/viaduct_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 /generic/viaduct_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 'generic/viaduct_api.h')
-rw-r--r--generic/viaduct_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/viaduct_api.h b/generic/viaduct_api.h
index 6887f56c..3caa0ba1 100644
--- a/generic/viaduct_api.h
+++ b/generic/viaduct_api.h
@@ -67,7 +67,7 @@ struct ViaductAPI
virtual BelBucketId getBelBucketForBel(BelId bel) const;
virtual BelBucketId getBelBucketForCellType(IdString cell_type) const;
virtual bool isValidBelForCellType(IdString cell_type, BelId bel) const;
- virtual bool isBelLocationValid(BelId bel) const { return true; }
+ virtual bool isBelLocationValid(BelId bel, bool explain_invalid = false) const { return true; }
// --- Wire and pip functions ---
// Called when a wire/pip is placed/unplaced (with net=nullptr for a unbind)