MatchLib
|
An AXI subordinate SRAM. More...
#include <AxiSubordinateToMem.h>
Public Types | |
typedef axi::axi4< axiCfg > | axi4_ |
Public Member Functions | |
SC_CTOR (AxiSubordinateToMem) | |
Public Attributes | |
axi4_::read::template subordinate | if_rd |
axi4_::write::template subordinate | if_wr |
sc_in< bool > | reset_bar |
sc_in< bool > | clk |
FIFO< typename axi4_::ReadPayload, fifoDepth > | rd_resp |
FIFO< typename axi4_::AddrPayload, fifoDepth > | wr_addr |
FIFO< typename axi4_::AddrPayload, fifoDepth > | rd_addr |
FIFO< typename axi4_::WRespPayload, fifoDepth > | wr_resp |
Static Public Attributes | |
static const int | kDebugLevel = 2 |
static const int | bytesPerWord = axiCfg::dataWidth >> 3 |
Protected Member Functions | |
void | run () |
An AXI subordinate SRAM.
axiCfg | A valid AXI config. |
capacity | The capacity in bytes of the local SRAM. |
fifoDepth | Depth of the input and output FIFO queues. |
This module sets the stall mode to flush by default to mitigate possible RTL bugs that can occur in the default stall mode. If you are confident that this class of bugs will not occur in your use case, you can change the stall mode via TCL directive:
This may reduce area/power.
Definition at line 57 of file AxiSubordinateToMem.h.