aboutsummaryrefslogtreecommitdiffstats
path: root/common/kernel/base_arch.h
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2022-12-04 21:33:36 +1000
committerYRabbit <rabbit@yrabbit.cyou>2022-12-04 21:33:36 +1000
commite6a8d0f4fce4ce0c50ec5705ef75ad6982213d4e (patch)
tree4065a6dbc408bd4b76563ab6c86a1e84fc388394 /common/kernel/base_arch.h
parent2e68962a025999ec85276f6362540c13ccfcd752 (diff)
parentdb25c5c88998aa73725f2a4625d74f38615aaa82 (diff)
downloadnextpnr-e6a8d0f4fce4ce0c50ec5705ef75ad6982213d4e.tar.gz
nextpnr-e6a8d0f4fce4ce0c50ec5705ef75ad6982213d4e.tar.bz2
nextpnr-e6a8d0f4fce4ce0c50ec5705ef75ad6982213d4e.zip
Merge branch 'master' into pll-pins
Diffstat (limited to 'common/kernel/base_arch.h')
-rw-r--r--common/kernel/base_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/kernel/base_arch.h b/common/kernel/base_arch.h
index 3055619d..55fcf280 100644
--- a/common/kernel/base_arch.h
+++ b/common/kernel/base_arch.h
@@ -274,7 +274,7 @@ template <typename R> struct BaseArch : ArchAPI<R>
p2n_entry = nullptr;
}
virtual bool checkPipAvail(PipId pip) const override { return getBoundPipNet(pip) == nullptr; }
- virtual bool checkPipAvailForNet(PipId pip, NetInfo *net) const override
+ virtual bool checkPipAvailForNet(PipId pip, const NetInfo *net) const override
{
NetInfo *bound_net = getBoundPipNet(pip);
return bound_net == nullptr || bound_net == net;