From: Tobias Platen Date: Wed, 5 Aug 2020 18:15:09 +0000 (+0200) Subject: fix LDSTSplitter X-Git-Tag: semi_working_ecp5~439 X-Git-Url: https://git.libre-soc.org/?p=soc.git;a=commitdiff_plain;h=3af455a19b0b6aec28621e4a58b328ebd481a617 fix LDSTSplitter --- 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)