projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4564313
)
add loop with multiple instructions for testing
author
Tobias Platen
<tplaten@posteo.de>
Sat, 11 Dec 2021 16:10:18 +0000
(17:10 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Sat, 11 Dec 2021 16:10:18 +0000
(17:10 +0100)
src/soc/experiment/test/test_loadstore1.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/test/test_loadstore1.py
b/src/soc/experiment/test/test_loadstore1.py
index 56932c29e4cbda097b3ac631d5baae5cc79627e4..251e3d9b09f35d24cab4690d8ee484b37dff8f1e 100644
(file)
--- a/
src/soc/experiment/test/test_loadstore1.py
+++ b/
src/soc/experiment/test/test_loadstore1.py
@@
-190,6
+190,13
@@
def _test_loadstore1_ifetch_multi(dut, mem):
yield
# TODO fetch instructions from multiple addresses
# should cope with some addresses being invalid
+ addrs = [0x10200,0x10204,10208,10200]
+ for addr in addrs:
+ yield from debug(dut, "TODO_fetch_from "+hex(addrs))
+ # use the new interface in this test
+ yield
+ yield
+ yield
def _test_loadstore1_ifetch(dut, mem):
"""test_loadstore1_ifetch