aboutsummaryrefslogtreecommitdiffstats
path: root/generic/viaduct/fabulous
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 /generic/viaduct/fabulous
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 'generic/viaduct/fabulous')
-rw-r--r--generic/viaduct/fabulous/fabulous.cc5
1 files changed, 4 insertions, 1 deletions
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