From 2debd4ac7315a2b2852aca614c7af3bb1ed1612e Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Wed, 21 Jul 2021 20:02:48 +0200 Subject: [PATCH] test_dcbz_pi.py: do not use problem state --- src/soc/experiment/test/test_dcbz_pi.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/soc/experiment/test/test_dcbz_pi.py b/src/soc/experiment/test/test_dcbz_pi.py index fd593895..58370bf8 100644 --- a/src/soc/experiment/test/test_dcbz_pi.py +++ b/src/soc/experiment/test/test_dcbz_pi.py @@ -123,25 +123,25 @@ def _test_dcbz_addr_zero(dut, mem): addr = 0x100e0 data = 0xf553b658ba7e1f51 - # size ==, msr_pr TODO - ## causes hang in pi_dcbz -- investigate - yield from pi_st(pi, addr, data, 8, msr_pr=1) + yield from pi_st(pi, addr, data, 8, msr_pr=0) yield - yield Display("======== done_pi_st") - ld_data = yield from pi_ld(pi, addr, 8, msr_pr=1) + ld_data = yield from pi_ld(pi, addr, 8, msr_pr=0) + assert ld_data == 0xf553b658ba7e1f51 + ld_data = yield from pi_ld(pi, addr, 8, msr_pr=0) assert ld_data == 0xf553b658ba7e1f51 - #ok until here -- any other operation hangs ## verify this one first ## is_dcbz 1 ## addrok 1 - #yield from pi_dcbz(pi, addr, data, 8, msr_pr=1) - #yield + ##print("do_dcbz ===============") + ##yield from pi_dcbz(pi, addr, msr_pr=0) + ##yield yield stop = True +#FIXME: rename def test_dcbz_addr_zero(): m, cmpi = setup_mmu() -- 2.30.2