|
MatchLib
|
An AXI subordinate for use in a testbench. More...
#include <Subordinate.h>
Public Types | |
| typedef axi::axi4< axiCfg > | axi4_ |
Public Member Functions | |
| SC_CTOR (Subordinate) | |
Public Attributes | |
| axi4_::read::template subordinate | if_rd |
| axi4_::write::template subordinate | if_wr |
| sc_in< bool > | reset_bar |
| sc_in< bool > | clk |
| std::queue< typename axi4_::ReadPayload > | rd_resp |
| std::queue< typename axi4_::Addr > | rd_resp_addr |
| std::queue< typename axi4_::AddrPayload > | wr_addr |
| std::queue< typename axi4_::WritePayload > | wr_data |
| std::queue< typename axi4_::WRespPayload > | wr_resp |
| std::map< typename axi4_::Addr, typename axi4_::Data > | localMem |
| std::map< typename axi4_::Addr, NVUINT8 > | localMem_wstrb |
| std::vector< typename axi4_::Addr > | validReadAddresses |
Static Public Attributes | |
| static const int | kDebugLevel = 1 |
| static const int | bytesPerBeat = axi4_::DATA_WIDTH >> 3 |
Protected Member Functions | |
| void | run_rd () |
| void | run_wr () |
An AXI subordinate for use in a testbench.
| axiCfg | A valid AXI config. |
Definition at line 45 of file Subordinate.h.
| typedef axi::axi4<axiCfg> Subordinate< axiCfg >::axi4_ |
Definition at line 48 of file Subordinate.h.
|
inline |
Definition at line 68 of file Subordinate.h.
|
inlineprotected |
Definition at line 80 of file Subordinate.h.
|
inlineprotected |
Definition at line 147 of file Subordinate.h.
|
static |
Definition at line 47 of file Subordinate.h.
| axi4_::read::template subordinate Subordinate< axiCfg >::if_rd |
Definition at line 50 of file Subordinate.h.
| axi4_::write::template subordinate Subordinate< axiCfg >::if_wr |
Definition at line 51 of file Subordinate.h.
| sc_in<bool> Subordinate< axiCfg >::reset_bar |
Definition at line 53 of file Subordinate.h.
| sc_in<bool> Subordinate< axiCfg >::clk |
Definition at line 54 of file Subordinate.h.
| std::queue<typename axi4_::ReadPayload> Subordinate< axiCfg >::rd_resp |
Definition at line 56 of file Subordinate.h.
| std::queue<typename axi4_::Addr> Subordinate< axiCfg >::rd_resp_addr |
Definition at line 57 of file Subordinate.h.
| std::queue<typename axi4_::AddrPayload> Subordinate< axiCfg >::wr_addr |
Definition at line 58 of file Subordinate.h.
| std::queue<typename axi4_::WritePayload> Subordinate< axiCfg >::wr_data |
Definition at line 59 of file Subordinate.h.
| std::queue<typename axi4_::WRespPayload> Subordinate< axiCfg >::wr_resp |
Definition at line 60 of file Subordinate.h.
| std::map<typename axi4_::Addr, typename axi4_::Data> Subordinate< axiCfg >::localMem |
Definition at line 62 of file Subordinate.h.
| std::map<typename axi4_::Addr, NVUINT8 > Subordinate< axiCfg >::localMem_wstrb |
Definition at line 63 of file Subordinate.h.
| std::vector<typename axi4_::Addr> Subordinate< axiCfg >::validReadAddresses |
Definition at line 64 of file Subordinate.h.
|
static |
Definition at line 66 of file Subordinate.h.