From bd42a01137950b596fb110b268b1ffebb76c4f63 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 26 Jun 2020 23:38:37 +0100 Subject: [PATCH] correct address in pi2ls --- src/soc/experiment/pi2ls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2