aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/extract.py
diff options
context:
space:
mode:
authorSimon Schubert <2@0x2c.org>2019-06-10 11:47:31 +0200
committerSimon Schubert <2@0x2c.org>2019-06-10 13:06:11 +0200
commit56978cde58b1d8b5d3becc692ca2b4d72094b2b8 (patch)
tree05988a637349aeebbd07adb78560e505774a4901 /icefuzz/extract.py
parent0f5feeaae9d581ea47eaf0d8ed0512962d1e85c0 (diff)
downloadicestorm-56978cde58b1d8b5d3becc692ca2b4d72094b2b8.tar.gz
icestorm-56978cde58b1d8b5d3becc692ca2b4d72094b2b8.tar.bz2
icestorm-56978cde58b1d8b5d3becc692ca2b4d72094b2b8.zip
add RGB_DRV/LED_DRV_CUR for u4k
Diffstat (limited to 'icefuzz/extract.py')
-rw-r--r--icefuzz/extract.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/icefuzz/extract.py b/icefuzz/extract.py
index 32bf289..75a65fa 100644
--- a/icefuzz/extract.py
+++ b/icefuzz/extract.py
@@ -41,7 +41,7 @@ for filename in sys.argv[1:]:
cur_text_db = text_db.setdefault("ipcon_5k", set())
ignore = False
elif device_class == "u4k" and line.startswith("IpCon"):
- cur_text_db = text_db.setdefault("ipcon_u4k", set())
+ cur_text_db = text_db.setdefault("ipcon_5k", set())
ignore = False
elif device_class == "5k" and line.startswith("DSP"):
match = re.match(r"DSP_Tile_\d+_(\d+)", line)
@@ -71,7 +71,7 @@ for filename in sys.argv[1:]:
if ypos in [8, 16]:
dsp_idx = 3
assert dsp_idx != None
- cur_text_db = text_db.setdefault("dsp%d_u4k" % dsp_idx, set())
+ cur_text_db = text_db.setdefault("dsp%d_5k" % dsp_idx, set())
ignore = False
elif not ignore:
print("'" + line + "'")