forked from cores/microwatt
icache_tb: Improve test and include test file
The icache_test.bin file was missing. This adds it (along with a python3 script to generate it). We also add better reporting on errors Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>jtag-port
parent
900c131083
commit
f74e8a4f79
Binary file not shown.
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
b = bytearray()
|
||||||
|
for i in range(0x100):
|
||||||
|
b = b + i.to_bytes(4, 'little')
|
||||||
|
f = open('icache_test.bin', 'w+b')
|
||||||
|
f.write(b)
|
||||||
|
f.close()
|
||||||
|
|
Loading…
Reference in New Issue