aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chipdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/chipdb.py')
-rw-r--r--ice40/chipdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py
index 92d52288..374922f0 100644
--- a/ice40/chipdb.py
+++ b/ice40/chipdb.py
@@ -207,7 +207,7 @@ def init_tiletypes(device):
num_tile_types = 10
else:
num_tile_types = 5
- tile_sizes = {_: (0, 0) for _ in range(num_tile_types)}
+ tile_sizes = {i: (0, 0) for i in range(num_tile_types)}
tile_bits = [[] for _ in range(num_tile_types)]
with open(sys.argv[1], "r") as f: