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/okami/okami.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generic/viaduct/okami') diff --git a/generic/viaduct/okami/okami.cc b/generic/viaduct/okami/okami.cc index 8142756f..4ff97cb3 100644 --- a/generic/viaduct/okami/okami.cc +++ b/generic/viaduct/okami/okami.cc @@ -64,7 +64,7 @@ struct OkamiImpl : ViaductAPI void prePlace() override { assign_cell_info(); } - bool isBelLocationValid(BelId bel) const override + bool isBelLocationValid(BelId bel, bool explain_invalid) const override { Loc l = ctx->getBelLocation(bel); if (is_io(l.x, l.y)) { -- cgit v1.2.3