You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
microwatt/scripts/gen_icache_tb.py

10 lines
152 B
Python

#!/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()