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 --- fpga_interchange/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpga_interchange') 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 } // 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()) { -- cgit v1.2.3