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.
typedef axi::axi4<axiCfg> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::axi4_ |
Definition at line 70 of file AxiSubordinateToMem.h.
|
inline |
Definition at line 84 of file AxiSubordinateToMem.h.
|
inlineprotected |
Definition at line 92 of file AxiSubordinateToMem.h.
|
static |
Definition at line 68 of file AxiSubordinateToMem.h.
|
static |
Definition at line 71 of file AxiSubordinateToMem.h.
axi4_::read::template subordinate AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::if_rd |
Definition at line 73 of file AxiSubordinateToMem.h.
axi4_::write::template subordinate AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::if_wr |
Definition at line 74 of file AxiSubordinateToMem.h.
sc_in<bool> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::reset_bar |
Definition at line 76 of file AxiSubordinateToMem.h.
sc_in<bool> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::clk |
Definition at line 77 of file AxiSubordinateToMem.h.
FIFO<typename axi4_::ReadPayload, fifoDepth> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::rd_resp |
Definition at line 79 of file AxiSubordinateToMem.h.
FIFO<typename axi4_::AddrPayload, fifoDepth> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::wr_addr |
Definition at line 80 of file AxiSubordinateToMem.h.
FIFO<typename axi4_::AddrPayload, fifoDepth> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::rd_addr |
Definition at line 81 of file AxiSubordinateToMem.h.
FIFO<typename axi4_::WRespPayload, fifoDepth> AxiSubordinateToMem< axiCfg, capacity, fifoDepth >::wr_resp |
Definition at line 82 of file AxiSubordinateToMem.h.