From 2a7c32e49aaaa0e763546c604b0082aa12714d4a Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 25 Oct 2017 10:50:36 +0100 Subject: Add ColBufCtrl bits to database for 5k parts --- icefuzz/database.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'icefuzz/database.py') diff --git a/icefuzz/database.py b/icefuzz/database.py index 8cb81d8..8a068ee 100644 --- a/icefuzz/database.py +++ b/icefuzz/database.py @@ -60,6 +60,10 @@ def read_database(filename, tile_type): elif m.group(1) in ["1", "2"]: line[1] = re.sub(r"glb_netwk_", "1k_glb_netwk_", line[1]) raw_db.append((bit, (line[0], line[1]))) + #Slightly hacky approach for the 5k devices, which are the same as the 8k + if m.group(1) == "7": + line[1] = re.sub(r"8k_glb_netwk_", "5k_glb_netwk_", line[1]) + raw_db.append((bit, (line[0], line[1]))) elif line[0] == "Cascade": match = re.match("LH_LC0(\d)_inmux02_5", line[1]) if match: -- cgit v1.2.3