test gen_gpio_defaults.py

This commit is contained in:
jeffdi 2021-11-26 14:04:00 -08:00
parent 2ce03a196c
commit b3320b7500
1 changed files with 1 additions and 1 deletions

View File

@ -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: