From 8ca22a5a5be4e62f20c21b2eb2731aef9e6e10c2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 14 Jun 2020 15:50:35 +0100 Subject: [PATCH] error in address width (truncated) in setting up L0CacheBuffer --- src/soc/experiment/l0_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/l0_cache.py b/src/soc/experiment/l0_cache.py index aadd4f48..ae5aea75 100644 --- a/src/soc/experiment/l0_cache.py +++ b/src/soc/experiment/l0_cache.py @@ -498,7 +498,7 @@ class L0CacheBuffer(Elaboratable): class TstL0CacheBuffer(Elaboratable): def __init__(self, n_units=3, regwid=16, addrwid=4): self.mem = TestMemory(regwid, addrwid, granularity=regwid//8) - self.l0 = L0CacheBuffer(n_units, self.mem, regwid, addrwid) + self.l0 = L0CacheBuffer(n_units, self.mem, regwid, addrwid<<1) def elaborate(self, platform): m = Module() -- 2.30.2