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 /generic/viaduct_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 'generic/viaduct_api.h')
-rw-r--r-- | generic/viaduct_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/viaduct_api.h b/generic/viaduct_api.h index bc9b4311..6f8adb3e 100644 --- a/generic/viaduct_api.h +++ b/generic/viaduct_api.h @@ -77,7 +77,7 @@ struct ViaductAPI // it's bound (which the base arch will deal with) virtual bool checkWireAvail(WireId wire) const { return true; } virtual bool checkPipAvail(PipId pip) const { return true; } - virtual bool checkPipAvailForNet(PipId pip, NetInfo *net) const { return checkPipAvail(pip); }; + virtual bool checkPipAvailForNet(PipId pip, const NetInfo *net) const { return checkPipAvail(pip); }; // --- Route lookahead --- virtual delay_t estimateDelay(WireId src, WireId dst) const; |