aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-10 14:08:00 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-10 14:08:00 +0200
commit4a79e70470987ba54a16ab97eb25d664509550fc (patch)
tree78e63221a354b648d258714f84d5048cf6bc788c /ice40/chip.cc
parent8d5da98122e23f2559e971bd42e8ad0d27113c66 (diff)
downloadnextpnr-4a79e70470987ba54a16ab97eb25d664509550fc.tar.gz
nextpnr-4a79e70470987ba54a16ab97eb25d664509550fc.tar.bz2
nextpnr-4a79e70470987ba54a16ab97eb25d664509550fc.zip
Fix ice40 pip/switch locked performance issue
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/chip.cc')
-rw-r--r--ice40/chip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chip.cc b/ice40/chip.cc
index 0caabe0c..3a79d65f 100644
--- a/ice40/chip.cc
+++ b/ice40/chip.cc
@@ -97,7 +97,7 @@ Chip::Chip(ChipArgs args) : args(args)
bel_to_cell.resize(chip_info.num_bels);
wire_to_net.resize(chip_info.num_wires);
pip_to_net.resize(chip_info.num_pips);
- pips_locked.resize(chip_info.num_pips);
+ switches_locked.resize(chip_info.num_switches);
}
// -----------------------------------------------------------------------