MatchLib
|
Abstract Memory Class. More...
#include <mem_array.h>
Public Types | |
typedef Wrapped< T > | WData_t |
typedef sc_lv< WordWidth > | Data_t |
typedef sc_lv< SliceWidth > | Slice_t |
typedef Slice_t | BankType[NumEntriesPerBank *NumByteEnables] |
Public Member Functions | |
typedef | NVUINTW (nvhls::index_width< NumEntriesPerBank >::val) LocalIndex |
typedef | NVUINTW (nvhls::index_width< NumEntriesPerBank *NumByteEnables >::val) LocalSliceIndex |
typedef | NVUINTW (nvhls::index_width< NumBanks >::val) BankIndex |
typedef | NVUINTW (NumByteEnables) WriteMask |
typedef | NVUINTW (nvhls::index_width< NumByteEnables >::val) ByteEnableIndex |
void | clear () |
T | read (LocalIndex idx, BankIndex bank_sel=0, WriteMask read_mask=~static_cast< WriteMask >(0)) |
void | write (LocalIndex idx, BankIndex bank_sel, T val, WriteMask write_mask=~static_cast< WriteMask >(0), bool wce=1) |
template<unsigned int Size> | |
void | Marshall (Marshaller< Size > &m) |
Public Attributes | |
BankType | bank [NumBanks] |
Abstract Memory Class.
T | Datatype of an entry to be stored in memory |
NumEntriesPerBank | Number of entries per bank in memory |
NumBanks | Number of banks in memory |
Definition at line 199 of file mem_array.h.