Remove extra IoCtrl cf_bit_ and extra_padeb_test_ lines from database

This commit is contained in:
Clifford Wolf 2017-07-31 15:55:07 +02:00
parent 68e25c22e1
commit 72d2a02810
2 changed files with 3 additions and 4 deletions

View File

@ -25,10 +25,6 @@ B6[3] IoCtrl IE_1
B8[2] IoCtrl LVDS
B6[2] IoCtrl REN_0
B1[3] IoCtrl REN_1
B6[15] IoCtrl cf_bit_35
B12[15] IoCtrl cf_bit_39
B15[14] IoCtrl extra_padeb_test_0
B14[15] IoCtrl extra_padeb_test_1
B9[13],B15[13] NegClk
B0[2] PLL PLLCONFIG_1
B0[3] PLL PLLCONFIG_2

View File

@ -40,6 +40,9 @@ def read_database(filename, tile_type):
if bit == "B9[3]" and line == ['IoCtrl', 'IE_1']: continue
if bit == "B1[3]" and line == ['IoCtrl', 'REN_0']: continue
if bit == "B6[2]" and line == ['IoCtrl', 'REN_1']: continue
# Ignore some additional configuration bits that sneaked in via ice5k fuzzing
if line[0] == "IoCtrl" and line[1].startswith("cf_bit_"): continue
if line[0] == "IoCtrl" and line[1].startswith("extra_padeb_test_"): continue
raw_db.append((bit, (line[0], line[1])))
elif line[0] in ("IOB_0", "IOB_1"):
if line[1] != "IO":