From: Tobias Platen Date: Sat, 11 Dec 2021 16:10:18 +0000 (+0100) Subject: add loop with multiple instructions for testing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8032b9a827c9dd67720a56cabefc2a7834ec74a;p=soc.git add loop with multiple instructions for testing --- diff --git a/src/soc/experiment/test/test_loadstore1.py b/src/soc/experiment/test/test_loadstore1.py index 56932c29..251e3d9b 100644 --- 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