From 3546f1deed2dc0f7c7715c61e6efd0674562e18d Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Wed, 24 Jun 2020 13:46:20 -0400 Subject: [PATCH] Update comments on LoadStoreUnitInterface --- src/soc/minerva/units/loadstore.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/soc/minerva/units/loadstore.py b/src/soc/minerva/units/loadstore.py index 379b2919..925def86 100644 --- a/src/soc/minerva/units/loadstore.py +++ b/src/soc/minerva/units/loadstore.py @@ -15,18 +15,18 @@ class LoadStoreUnitInterface: self.dbus = Record(wishbone_layout) badwid = addr_wid-log2_int(mask_wid) # TODO: is this correct? + # INPUTS self.x_addr = Signal(addr_wid) # The address used for loads/stores self.x_mask = Signal(mask_wid) # Mask of which bytes to write self.x_load = Signal() # set to do a memory load self.x_store = Signal() # set to do a memory store self.x_store_data = Signal(data_wid) # The data to write when storing - self.x_stall = Signal() # input - do nothing until low - self.x_valid = Signal() - self.m_stall = Signal() # input - do nothing until low - self.m_valid = Signal() # when this is high and m_busy is - # low, the data for the memory load - # can be read from m_load_data + self.x_stall = Signal() # do nothing until low + self.x_valid = Signal() # Not entirely sure yet + self.m_stall = Signal() # do nothing until low + self.m_valid = Signal() # Not entirely sure yet + # OUTPUTS self.x_busy = Signal() # set when the memory is busy self.m_busy = Signal() # set when the memory is busy self.m_load_data = Signal(data_wid) # Data returned from a memory read -- 2.30.2