aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-23 22:55:09 +0000
committerGitHub <noreply@github.com>2021-02-23 22:55:09 +0000
commit19ae97afd12e3fed9d09aaf886f6e25a92de1032 (patch)
tree68b899b428e601e58c531585aec5de3f4cb63f7c /gowin/arch.h
parent5de19786322412ce151b0341ed714dcdb03433cc (diff)
parent0758f68020efa6d9441eab9de903673f02d47639 (diff)
downloadnextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.tar.gz
nextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.tar.bz2
nextpnr-19ae97afd12e3fed9d09aaf886f6e25a92de1032.zip
Merge pull request #595 from litghost/const_cell_info
Change CellInfo in getBelPinsForCellPin to be const.
Diffstat (limited to 'gowin/arch.h')
-rw-r--r--gowin/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/arch.h b/gowin/arch.h
index 0b0d7b9c..052c1545 100644
--- a/gowin/arch.h
+++ b/gowin/arch.h
@@ -372,7 +372,7 @@ struct Arch : BaseArch<ArchRanges>
WireId getBelPinWire(BelId bel, IdString pin) const override;
PortType getBelPinType(BelId bel, IdString pin) const override;
std::vector<IdString> getBelPins(BelId bel) const override;
- std::array<IdString, 1> getBelPinsForCellPin(CellInfo *cell_info, IdString pin) const override;
+ std::array<IdString, 1> getBelPinsForCellPin(const CellInfo *cell_info, IdString pin) const override;
WireId getWireByName(IdStringList name) const override;
IdStringList getWireName(WireId wire) const override;