aboutsummaryrefslogtreecommitdiffstats
path: root/gowin
diff options
context:
space:
mode:
Diffstat (limited to 'gowin')
-rw-r--r--gowin/arch.cc2
-rw-r--r--gowin/arch.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc
index 0f080734..04cf7af5 100644
--- a/gowin/arch.cc
+++ b/gowin/arch.cc
@@ -2149,7 +2149,7 @@ TimingClockingInfo Arch::getPortClockingInfo(const CellInfo *cell, IdString port
return tmg.clockingInfo.at(port).at(index);
}
-bool Arch::isBelLocationValid(BelId bel) const
+bool Arch::isBelLocationValid(BelId bel, bool explain_invalid) const
{
Loc loc = getBelLocation(bel);
diff --git a/gowin/arch.h b/gowin/arch.h
index 8513d2da..bbaf3e60 100644
--- a/gowin/arch.h
+++ b/gowin/arch.h
@@ -459,7 +459,7 @@ struct Arch : BaseArch<ArchRanges>
// Get the TimingClockingInfo of a port
TimingClockingInfo getPortClockingInfo(const CellInfo *cell, IdString port, int index) const override;
- bool isBelLocationValid(BelId bel) const override;
+ bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override;
static const std::string defaultPlacer;
static const std::vector<std::string> availablePlacers;