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 --- generic/viaduct/fabulous/fabulous.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'generic/viaduct/fabulous') diff --git a/generic/viaduct/fabulous/fabulous.cc b/generic/viaduct/fabulous/fabulous.cc index 3c6f025f..e2fe1b74 100644 --- a/generic/viaduct/fabulous/fabulous.cc +++ b/generic/viaduct/fabulous/fabulous.cc @@ -81,7 +81,10 @@ struct FabulousImpl : ViaductAPI } void prePlace() override { assign_cell_info(); } - bool isBelLocationValid(BelId bel) const override { return blk_trk->check_validity(bel, cfg, cell_tags); } + bool isBelLocationValid(BelId bel, bool explain_invalid) const override + { + return blk_trk->check_validity(bel, cfg, cell_tags); + } private: FabricConfig cfg; // TODO: non-default config -- cgit v1.2.3