set address ok and fix unit test to check it properly
[soc.git] / src / soc / experiment / pi2ls.py
index 11cd1ab53c7f66b211fcf0ea9b00da0e4dd7cad1..3fe43b73d4896e5b6f27585743c7dee32abb9d4d 100644 (file)
@@ -63,6 +63,8 @@ class Pi2LSUI(Elaboratable):
             # pass through the address, indicate "valid"
             m.d.comb += lsui.x_addr_i.eq(pi.addr.data) # full address
             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)
 
         with m.If(pi.is_ld_i):
             m.d.comb += pi.ld.data.eq(lsui.m_ld_data_o)