mirror of https://github.com/efabless/caravel.git
test gen_gpio_defaults.py
This commit is contained in:
parent
2ce03a196c
commit
b3320b7500
|
@ -232,7 +232,7 @@ if __name__ == '__main__':
|
||||||
if binval[12 - j] == '1':
|
if binval[12 - j] == '1':
|
||||||
bitflips.append(j)
|
bitflips.append(j)
|
||||||
|
|
||||||
with open(caravel_path + 'mag/gpio_defaults_block.mag', 'r') as ifile:
|
with open(caravel_path + '/mag/gpio_defaults_block.mag', 'r') as ifile:
|
||||||
maglines = ifile.read().splitlines()
|
maglines = ifile.read().splitlines()
|
||||||
outlines = []
|
outlines = []
|
||||||
for magline in maglines:
|
for magline in maglines:
|
||||||
|
|
Loading…
Reference in New Issue