diff options
author | David Shah <davey1576@gmail.com> | 2017-10-25 10:50:36 +0100 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2017-10-25 10:50:36 +0100 |
commit | 2a7c32e49aaaa0e763546c604b0082aa12714d4a (patch) | |
tree | dca704dbbb58e73562004e62d63ded1745d9fa32 /icefuzz/database.py | |
parent | 6e80f13b56244a2b6b49fdf38282259e1a5701a3 (diff) | |
download | icestorm-2a7c32e49aaaa0e763546c604b0082aa12714d4a.tar.gz icestorm-2a7c32e49aaaa0e763546c604b0082aa12714d4a.tar.bz2 icestorm-2a7c32e49aaaa0e763546c604b0082aa12714d4a.zip |
Add ColBufCtrl bits to database for 5k parts
Diffstat (limited to 'icefuzz/database.py')
-rw-r--r-- | icefuzz/database.py | 4 |
1 files changed, 4 insertions, 0 deletions
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: |