From b79586f9c44294c5f831ee62a41a582ed0be987f Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Thu, 9 Dec 2021 17:56:04 +0100 Subject: [PATCH] cleanup test_loadstore1.py --- src/soc/experiment/test/test_loadstore1.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/soc/experiment/test/test_loadstore1.py b/src/soc/experiment/test/test_loadstore1.py index 4e7ee7fe..a4a82177 100644 --- a/src/soc/experiment/test/test_loadstore1.py +++ b/src/soc/experiment/test/test_loadstore1.py @@ -424,20 +424,12 @@ def _test_loadstore1_ifetch_invalid(dut, mem): yield yield - # some more cycles for gtkwave debugging - yield - yield - yield - - wbget.stop = True - return - # TODO: implement rest - # miss, stalls for a bit yield i_in.req.eq(1) yield i_in.nia.eq(addr) yield valid = yield i_out.valid + nia = yield i_out.nia while not valid: yield valid = yield i_out.valid @@ -445,6 +437,7 @@ def _test_loadstore1_ifetch_invalid(dut, mem): nia = yield i_out.nia insn = yield i_out.insn + yield yield @@ -491,6 +484,8 @@ def _test_loadstore1_ifetch_invalid(dut, mem): yield yield + wbget.stop = True + def test_loadstore1_ifetch(): @@ -566,7 +561,8 @@ def test_loadstore1_ifetch_invalid(): if __name__ == '__main__': - #test_loadstore1() - #test_loadstore1_invalid() - #test_loadstore1_ifetch() + test_loadstore1() + test_loadstore1_invalid() + test_loadstore1_ifetch() test_loadstore1_ifetch_invalid() + -- 2.30.2