From 3af455a19b0b6aec28621e4a58b328ebd481a617 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Wed, 5 Aug 2020 20:15:09 +0200 Subject: [PATCH] fix LDSTSplitter --- src/soc/scoreboard/addr_split.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/scoreboard/addr_split.py b/src/soc/scoreboard/addr_split.py index aa99f63c..0cd546ce 100644 --- a/src/soc/scoreboard/addr_split.py +++ b/src/soc/scoreboard/addr_split.py @@ -100,7 +100,7 @@ class LDSTSplitter(Elaboratable): mzero = Const(0, mlen) m.submodules.ld1 = ld1 = LDLatch(self.dwidth, self.awidth-dlen, mlen) m.submodules.ld2 = ld2 = LDLatch(self.dwidth, self.awidth-dlen, mlen) - m.submodules.lenexp = lenexp = LenExpand(self.dlen) + m.submodules.lenexp = lenexp = LenExpand(self.dlen, cover=8) # set up len-expander, len to mask. ld1 gets first bit, ld2 gets rest comb += lenexp.addr_i.eq(self.addr_i) -- 2.30.2