diff options
author | gatecat <gatecat@ds0.me> | 2022-12-02 14:20:39 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-12-02 14:20:39 +0100 |
commit | c62a947a2804c3027471b20815c7544e0fd698d0 (patch) | |
tree | 2448ccfe4af883e8f8f86a2c7efb0bffa52576e3 /common/kernel/arch_api.h | |
parent | f07d9a18356ec8df74d9c42693f7b9307e390a7f (diff) | |
download | nextpnr-c62a947a2804c3027471b20815c7544e0fd698d0.tar.gz nextpnr-c62a947a2804c3027471b20815c7544e0fd698d0.tar.bz2 nextpnr-c62a947a2804c3027471b20815c7544e0fd698d0.zip |
api: Make NetInfo* of checkPipAvailForNet const
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/kernel/arch_api.h')
-rw-r--r-- | common/kernel/arch_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/kernel/arch_api.h b/common/kernel/arch_api.h index 14a30652..49be489b 100644 --- a/common/kernel/arch_api.h +++ b/common/kernel/arch_api.h @@ -93,7 +93,7 @@ template <typename R> struct ArchAPI : BaseCtx virtual void bindPip(PipId pip, NetInfo *net, PlaceStrength strength) = 0; virtual void unbindPip(PipId pip) = 0; virtual bool checkPipAvail(PipId pip) const = 0; - virtual bool checkPipAvailForNet(PipId pip, NetInfo *net) const = 0; + virtual bool checkPipAvailForNet(PipId pip, const NetInfo *net) const = 0; virtual NetInfo *getBoundPipNet(PipId pip) const = 0; virtual WireId getConflictingPipWire(PipId pip) const = 0; virtual NetInfo *getConflictingPipNet(PipId pip) const = 0; |