forked from cores/microwatt
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.
10 lines
152 B
Python
10 lines
152 B
Python
5 years ago
|
#!/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()
|
||
|
|