correct address in pi2ls
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 26 Jun 2020 22:38:37 +0000 (23:38 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 26 Jun 2020 22:38:37 +0000 (23:38 +0100)
src/soc/experiment/pi2ls.py

index 32ed0a8a0ed4de7efb986d3500b5c21003a1c075..7f711a63247f24e8c2f70af5a913b0e39182206f 100644 (file)
@@ -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)