aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'ice40')
-rw-r--r--ice40/chipdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py
index 5b2f3e57..2009483f 100644
--- a/ice40/chipdb.py
+++ b/ice40/chipdb.py
@@ -692,7 +692,8 @@ with open(args.filename, "r") as f:
if mode[0] == "extra_cell":
if line[0] == "LOCKED":
- extra_cells[mode[1]].append((("LOCKED_" + line[1]), (0, 0, "LOCKED")))
+ for pkg in line[1:]:
+ extra_cells[mode[1]].append((("LOCKED_" + pkg), (0, 0, "LOCKED")))
else:
extra_cells[mode[1]].append((line[0], (int(line[1]), int(line[2]), line[3])))
continue