comb += addr_ok.eq(self.pi.addr_ok_o) # no exc, address fine
# byte-reverse on LD - yes this is inverted
comb += addr_ok.eq(self.pi.addr_ok_o) # no exc, address fine
# byte-reverse on LD - yes this is inverted
comb += ldd_o.eq(pi.ld.data) # put data out, straight (as BE)
with m.Else():
# byte-reverse the data based on ld/st width (turn it to LE)
comb += ldd_o.eq(pi.ld.data) # put data out, straight (as BE)
with m.Else():
# byte-reverse the data based on ld/st width (turn it to LE)