aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.h2
-rw-r--r--ice40/arch_place.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 9d10cddf..d80d6f64 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -840,7 +840,7 @@ struct Arch : BaseArch<ArchRanges>
// implemented in arch_place.cc)
// Return true whether all Bels at a given location are valid
- bool isBelLocationValid(BelId bel) const override;
+ bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override;
// Helper function for above
bool logic_cells_compatible(const CellInfo **it, const size_t size) const;
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc
index 5c3fa3c5..d8232571 100644
--- a/ice40/arch_place.cc
+++ b/ice40/arch_place.cc
@@ -82,7 +82,7 @@ static inline bool _io_pintype_need_clk_en(unsigned pin_type)
return _io_pintype_need_clk_in(pin_type) || _io_pintype_need_clk_out(pin_type);
}
-bool Arch::isBelLocationValid(BelId bel) const
+bool Arch::isBelLocationValid(BelId bel, bool explain_invalid) const
{
if (getBelType(bel) == id_ICESTORM_LC) {
std::array<const CellInfo *, 8> bel_cells;