diff options
author | myrtle <gatecat@ds0.me> | 2022-12-07 16:19:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 16:19:55 +0100 |
commit | 0eb53d59d84ea1c46de7d9e25eb5a9901544202d (patch) | |
tree | aa7203b5b1064f327b863e7d4cb025b6292c55e4 /gowin | |
parent | 519011533a3b7582b984226536cb424d462d1599 (diff) | |
parent | df99b4ff6c5ce88ce1a731dc8682ab1875b8c237 (diff) | |
download | nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.gz nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.tar.bz2 nextpnr-0eb53d59d84ea1c46de7d9e25eb5a9901544202d.zip |
Merge pull request #1059 from YosysHQ/gatecat/validity-errors
Add new option for verbose validity errors, use for ice40
Diffstat (limited to 'gowin')
-rw-r--r-- | gowin/arch.cc | 2 | ||||
-rw-r--r-- | gowin/arch.h | 2 |
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; |