diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2018-11-17 10:18:45 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2018-11-19 13:12:43 +0100 |
commit | 70e1fe423f663a3a02233e4f1c1f4f917d14c23c (patch) | |
tree | 227a0143f9244dfa39f24e57bd2e7cde09dcaeed | |
parent | 42fbb110fcea1ae05ba48433df86d6381715daeb (diff) | |
download | nextpnr-70e1fe423f663a3a02233e4f1c1f4f917d14c23c.tar.gz nextpnr-70e1fe423f663a3a02233e4f1c1f4f917d14c23c.tar.bz2 nextpnr-70e1fe423f663a3a02233e4f1c1f4f917d14c23c.zip |
ice40/chipdb: Fix LOCKED keyword support to include all packages
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | ice40/chipdb.py | 3 |
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 |