From 509bd629f0d1314eb1696c1e87a336ddc8b93b3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 4 May 2020 20:41:53 +0100 Subject: [PATCH] whitespace cleanup --- src/soc/experiment/l0_cache.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/experiment/l0_cache.py b/src/soc/experiment/l0_cache.py index 20868d20..1b5654eb 100644 --- a/src/soc/experiment/l0_cache.py +++ b/src/soc/experiment/l0_cache.py @@ -325,6 +325,7 @@ class TstL0CacheBuffer(Elaboratable): yield self.mem.wrport.data # TODO: mem ports + def wait_busy(port, no=False): while True: busy = yield port.pi.busy_o @@ -342,6 +343,7 @@ def wait_addr(port): break yield + def wait_ldok(port): while True: ldok = yield port.pi.ld.ok @@ -350,6 +352,7 @@ def wait_ldok(port): break yield + def l0_cache_st(dut, addr, data): l0 = dut.l0 mem = dut.mem @@ -414,8 +417,6 @@ def l0_cache_ldst(dut): yield from l0_cache_st(dut, addr, data) result = yield from l0_cache_ld(dut, addr, data) yield - yield - yield assert data == result, "data %x != %x" % (result, data) -- 2.30.2