diff options
Diffstat (limited to 'mistral')
-rw-r--r-- | mistral/arch.cc | 2 | ||||
-rw-r--r-- | mistral/arch.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mistral/arch.cc b/mistral/arch.cc index ce4f93fb..f3e385d1 100644 --- a/mistral/arch.cc +++ b/mistral/arch.cc @@ -182,7 +182,7 @@ IdStringList Arch::getBelName(BelId bel) const return IdStringList(ids); } -bool Arch::isBelLocationValid(BelId bel) const +bool Arch::isBelLocationValid(BelId bel, bool explain_invalid) const { auto &data = bel_data(bel); if (data.type.in(id_MISTRAL_COMB, id_MISTRAL_MCOMB)) { diff --git a/mistral/arch.h b/mistral/arch.h index 54a39771..aabe10c6 100644 --- a/mistral/arch.h +++ b/mistral/arch.h @@ -333,7 +333,7 @@ struct Arch : BaseArch<ArchRanges> PortType getBelPinType(BelId bel, IdString pin) const override { return bel_data(bel).pins.at(pin).dir; } std::vector<IdString> getBelPins(BelId bel) const override; - bool isBelLocationValid(BelId bel) const override; + bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override; void bindBel(BelId bel, CellInfo *cell, PlaceStrength strength) override { |