From: Luke Kenneth Casson Leighton Date: Fri, 26 Jun 2020 22:38:37 +0000 (+0100) Subject: correct address in pi2ls X-Git-Tag: div_pipeline~247 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd42a01137950b596fb110b268b1ffebb76c4f63;p=soc.git correct address in pi2ls --- diff --git a/src/soc/experiment/pi2ls.py b/src/soc/experiment/pi2ls.py index 32ed0a8a..7f711a63 100644 --- a/src/soc/experiment/pi2ls.py +++ b/src/soc/experiment/pi2ls.py @@ -66,7 +66,7 @@ class Pi2LSUI(Elaboratable): m.d.comb += lenexp.addr_i.eq(lsbaddr) # LSBs of addr m.d.comb += lsui.x_mask_i.eq(lenexp.lexp_o) # pass through the address, indicate "valid" - m.d.comb += lsui.x_addr_i.eq(msbaddr) # XXX hmmm... + m.d.comb += lsui.x_addr_i.eq(pi.addr.data) # XXX hmmm... m.d.comb += lsui.x_valid_i.eq(1) # indicate "OK" - XXX should be checking address valid m.d.comb += pi.addr_ok_o.eq(1)