remove extraneous yields
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 26 Jun 2020 19:40:52 +0000 (20:40 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 26 Jun 2020 19:40:52 +0000 (20:40 +0100)
src/soc/experiment/test/test_pi2ls.py

index a1ea76334841911d1815642f214d61ec92aecd28..10e9b59e09e1d80f1ccb9d771357d5363332faea 100644 (file)
@@ -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))