mirror of https://github.com/YosysHQ/icestorm.git
Remove extra IoCtrl cf_bit_ and extra_padeb_test_ lines from database
This commit is contained in:
parent
68e25c22e1
commit
72d2a02810
|
|
@ -25,10 +25,6 @@ B6[3] IoCtrl IE_1
|
||||||
B8[2] IoCtrl LVDS
|
B8[2] IoCtrl LVDS
|
||||||
B6[2] IoCtrl REN_0
|
B6[2] IoCtrl REN_0
|
||||||
B1[3] IoCtrl REN_1
|
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
|
B9[13],B15[13] NegClk
|
||||||
B0[2] PLL PLLCONFIG_1
|
B0[2] PLL PLLCONFIG_1
|
||||||
B0[3] PLL PLLCONFIG_2
|
B0[3] PLL PLLCONFIG_2
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,9 @@ def read_database(filename, tile_type):
|
||||||
if bit == "B9[3]" and line == ['IoCtrl', 'IE_1']: continue
|
if bit == "B9[3]" and line == ['IoCtrl', 'IE_1']: continue
|
||||||
if bit == "B1[3]" and line == ['IoCtrl', 'REN_0']: continue
|
if bit == "B1[3]" and line == ['IoCtrl', 'REN_0']: continue
|
||||||
if bit == "B6[2]" and line == ['IoCtrl', 'REN_1']: 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])))
|
raw_db.append((bit, (line[0], line[1])))
|
||||||
elif line[0] in ("IOB_0", "IOB_1"):
|
elif line[0] in ("IOB_0", "IOB_1"):
|
||||||
if line[1] != "IO":
|
if line[1] != "IO":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue