From: Luke Kenneth Casson Leighton Date: Fri, 26 Jun 2020 19:40:52 +0000 (+0100) Subject: remove extraneous yields X-Git-Tag: div_pipeline~251 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32d54349c2cfbce40229eb066cffe5d4a06158fe;p=soc.git remove extraneous yields --- diff --git a/src/soc/experiment/test/test_pi2ls.py b/src/soc/experiment/test/test_pi2ls.py index a1ea7633..10e9b59e 100644 --- a/src/soc/experiment/test/test_pi2ls.py +++ b/src/soc/experiment/test/test_pi2ls.py @@ -103,17 +103,9 @@ def l0_cache_ldst(arg, dut): data2 = 0xf00f #data = 0x4 yield from l0_cache_st(dut, 0x2, data, 2) - yield - yield yield from l0_cache_st(dut, 0x4, data2, 2) - yield - yield result = yield from l0_cache_ld(dut, 0x2, 2, data) - yield - yield result2 = yield from l0_cache_ld(dut, 0x4, 2, data2) - yield - yield arg.assertEqual(data, result, "data %x != %x" % (result, data)) arg.assertEqual(data2, result2, "data2 %x != %x" % (result2, data2))