aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
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 /fpga_interchange/arch.h
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 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 7e373a56..a44c7c21 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -851,7 +851,7 @@ struct Arch : ArchAPI<ArchRanges>
}
// Return true whether all Bels at a given location are valid
- bool isBelLocationValid(BelId bel) const final
+ bool isBelLocationValid(BelId bel, bool explain_invalid = false) const final
{
auto iter = tileStatus.find(bel.tile);
if (iter == tileStatus.end()) {