aboutsummaryrefslogtreecommitdiffstats
path: root/generic/viaduct
diff options
context:
space:
mode:
Diffstat (limited to 'generic/viaduct')
-rw-r--r--generic/viaduct/example/example.cc2
-rw-r--r--generic/viaduct/fabulous/fabulous.cc5
-rw-r--r--generic/viaduct/okami/okami.cc2
3 files changed, 6 insertions, 3 deletions
diff --git a/generic/viaduct/example/example.cc b/generic/viaduct/example/example.cc
index 987c3236..7a61a594 100644
--- a/generic/viaduct/example/example.cc
+++ b/generic/viaduct/example/example.cc
@@ -62,7 +62,7 @@ struct ExampleImpl : 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)) {
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
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)) {