gem5
v20.1.0.0
|
Simple address map implementation for the generic protocol. More...
#include <simpleAddressMap.h>
Public Member Functions | |
SimpleAddressMap () | |
void | checkSanity () |
Check for overlapping address ranges. More... | |
void | dumpMap () |
Print map. More... | |
unsigned int | decode (sc_dt::uint64 address_) |
Decode slave address. More... | |
const sc_dt::uint64 & | get_max () |
const sc_dt::uint64 & | get_min () |
void | insert (sc_dt::uint64 baseAddress_, sc_dt::uint64 highAddress_, unsigned int portNumber_) |
Insert a slave into the address map. More... | |
Private Types | |
typedef std::map< sc_dt::uint64, unsigned int > | mapType |
typedef std::map< sc_dt::uint64, unsigned int >::iterator | addressMapIterator |
Private Attributes | |
sc_dt::uint64 | retval |
mapType | m_addressMap |
the address map More... | |
Simple address map implementation for the generic protocol.
Definition at line 32 of file simpleAddressMap.h.
|
private |
Definition at line 52 of file simpleAddressMap.h.
|
private |
Definition at line 51 of file simpleAddressMap.h.
|
inline |
Definition at line 55 of file simpleAddressMap.h.
|
inline |
Check for overlapping address ranges.
Definition at line 62 of file simpleAddressMap.h.
|
inline |
Decode slave address.
address_ | A slave address. |
Definition at line 102 of file simpleAddressMap.h.
|
inline |
Print map.
Definition at line 82 of file simpleAddressMap.h.
|
inline |
Definition at line 116 of file simpleAddressMap.h.
|
inline |
Definition at line 129 of file simpleAddressMap.h.
References m_addressMap, and SC_REPORT_ERROR.
|
inline |
Insert a slave into the address map.
Definition at line 146 of file simpleAddressMap.h.
Referenced by MultiSocketSimpleSwitchAT::MultiSocketSimpleSwitchAT().
|
private |
|
private |
Definition at line 157 of file simpleAddressMap.h.