From b8032b9a827c9dd67720a56cabefc2a7834ec74a Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Sat, 11 Dec 2021 17:10:18 +0100 Subject: [PATCH] add loop with multiple instructions for testing --- src/soc/experiment/test/test_loadstore1.py | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2