Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env python3
import sys
f = open(sys.argv[1])
regs = []
found_regs = False
for l in f:
if found_regs:
try:
regs.append(int(l, 16))
except:
break
else:
found_regs = "Register contents:" in l
assert(len(regs) == 32)
# Actual test:
assert(regs[9] == 6)
print("Test PASSED.")d765214e1This file is pinned to the selected release. Download the original to open it in your design tool.