aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 5ed2347d..498a8b71 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -680,7 +680,7 @@ struct Arch : BaseArch<ArchRanges>
return switches_locked[pi.switch_index] == WireId();
}
- bool checkPipAvailForNet(PipId pip, NetInfo *net) const override
+ bool checkPipAvailForNet(PipId pip, const NetInfo *net) const override
{
if (ice40_pip_hard_unavail(pip))
return false;