From: Luke Kenneth Casson Leighton Date: Tue, 27 Apr 2021 18:46:24 +0000 (+0100) Subject: return read data out from Loadstore1 only when valid X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd5e33e5d7070e95bdc88d5ec0dcffa63e53444e;p=soc.git return read data out from Loadstore1 only when valid --- diff --git a/src/soc/fu/mmu/fsm.py b/src/soc/fu/mmu/fsm.py index 3eea39cb..31c01a59 100644 --- a/src/soc/fu/mmu/fsm.py +++ b/src/soc/fu/mmu/fsm.py @@ -64,8 +64,8 @@ class LoadStore1(PortInterfaceBase): return st_ok def get_rd_data(self, m): - ld_ok = Const(1, 1) - data = self.d_out.data + ld_ok = self.d_out.valid # indicates read data is valid + data = self.d_out.data # actual read data return data, ld_ok """