keep address held sustained whilst valid
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 10:50:36 +0000 (11:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 10:50:36 +0000 (11:50 +0100)
src/soc/experiment/compldst_multi.py

index 1ac968623ad831dbbe607e544db8747f6796401d..1ffc3197cbdbe0688120ab7bdd67aa6a9a09b962 100644 (file)
@@ -477,7 +477,7 @@ class LDSTCompUnit(Elaboratable):
         comb += pi.op.eq(self.oper_i)    # op details (not all needed)
         # address
         comb += pi.addr.data.eq(addr_r)           # EA from adder
-        comb += pi.addr.ok.eq(self.ad.go) # "go do address stuff"
+        comb += pi.addr.ok.eq(alu_valid) # "go do address stuff"
         comb += self.addr_exc_o.eq(pi.addr_exc_o) # exception occurred
         comb += addr_ok.eq(self.pi.addr_ok_o)  # no exc, address fine
         # ld - ld gets latched in via lod_l