From: Luke Kenneth Casson Leighton Date: Sun, 22 Mar 2020 14:38:37 +0000 (+0000) Subject: get AddrSplitter working for data len=8 X-Git-Tag: div_pipeline~1653 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44017df54f875600efc1ea54cdfe19725211208a;p=soc.git get AddrSplitter working for data len=8 --- diff --git a/src/soc/scoreboard/addr_split.py b/src/soc/scoreboard/addr_split.py index a3dbfef9..f829c6d7 100644 --- a/src/soc/scoreboard/addr_split.py +++ b/src/soc/scoreboard/addr_split.py @@ -107,11 +107,14 @@ class LDSTSplitter(Elaboratable): # errors cause error condition comb += self.ld_data_o.err.eq(ld1.ld_o.err | ld2.ld_o.err) # data needs recombining via shifting. - ashift1 = self.addr_i[:self.dlen] + ashift1 = Signal(self.dlen) + ashift2 = Signal(self.dlen) + comb += ashift1.eq(self.addr_i[:self.dlen]) + comb += ashift2.eq((1<> ashift1) | - (ld2.ld_o.data << (1<> (1<> 16) & dmask1 + print ("ld data2", 1<> (1<