projects
/
microwatt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #131 from antonblanchard/new-tests
[microwatt.git]
/
scripts
/
gen_icache_tb.py
1
#!/usr/bin/python3
2
3
b
=
bytearray
()
4
for
i
in
range
(
0x100
):
5
b
=
b
+
i
.
to_bytes
(
4
,
'little'
)
6
f
=
open
(
'icache_test.bin'
,
'w+b'
)
7
f
.
write
(
b
)
8
f
.
close
()
9