diff options
Diffstat (limited to 'ice40/chip.cc')
-rw-r--r-- | ice40/chip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chip.cc b/ice40/chip.cc index 277246e5..1c854edf 100644 --- a/ice40/chip.cc +++ b/ice40/chip.cc @@ -190,7 +190,7 @@ WireId Chip::getWireBelPin(BelId bel, PortPin pin) const assert(bel != BelId()); int num_bel_wires = chip_info.bel_data[bel.index].num_bel_wires; - BelWirePOD *bel_wires = chip_info.bel_data[bel.index].bel_wires.ptr(); + const BelWirePOD *bel_wires = chip_info.bel_data[bel.index].bel_wires.ptr(); for (int i = 0; i < num_bel_wires; i++) if (bel_wires[i].port == pin) { |