|
gem5 [DEVELOP-FOR-25.0]
|
#include <SimpleBusAT.h>
Classes | |
| struct | ConnectionInfo |
Public Types | |
| typedef tlm::tlm_generic_payload | transaction_type |
| typedef tlm::tlm_phase | phase_type |
| typedef tlm::tlm_sync_enum | sync_enum_type |
| typedef tlm_utils::simple_target_socket_tagged< SimpleBusAT > | target_socket_type |
| typedef tlm_utils::simple_initiator_socket_tagged< SimpleBusAT > | initiator_socket_type |
Public Attributes | |
| target_socket_type | target_socket [NR_OF_INITIATORS] |
| initiator_socket_type | initiator_socket [NR_OF_TARGETS] |
Private Types | |
| typedef std::map< transaction_type *, ConnectionInfo > | PendingTransactions |
| typedef PendingTransactions::iterator | PendingTransactionsIterator |
| typedef PendingTransactions::const_iterator | PendingTransactionsConstIterator |
Private Member Functions | |
| void | addPendingTransaction (transaction_type &trans, initiator_socket_type *to, int initiatorId) |
Definition at line 32 of file SimpleBusAT.h.
| typedef tlm_utils::simple_initiator_socket_tagged<SimpleBusAT> SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket_type |
Definition at line 39 of file SimpleBusAT.h.
|
private |
Definition at line 362 of file SimpleBusAT.h.
|
private |
Definition at line 364 of file SimpleBusAT.h.
|
private |
Definition at line 363 of file SimpleBusAT.h.
| typedef tlm::tlm_phase SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::phase_type |
Definition at line 36 of file SimpleBusAT.h.
| typedef tlm::tlm_sync_enum SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::sync_enum_type |
Definition at line 37 of file SimpleBusAT.h.
| typedef tlm_utils::simple_target_socket_tagged<SimpleBusAT> SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket_type |
Definition at line 38 of file SimpleBusAT.h.
| typedef tlm::tlm_generic_payload SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::transaction_type |
Definition at line 35 of file SimpleBusAT.h.
|
inline |
Definition at line 47 of file SimpleBusAT.h.
References getDMIPointer(), initiator_socket, initiatorNBTransport(), invalidateDMIPointers(), mRequestPEQ, mResponsePEQ, sc_core::sc_object::name(), RequestThread(), ResponseThread(), sc_core::sc_module::sc_module(), SC_THREAD, target_socket, targetNBTransport(), and transportDebug().
Referenced by SC_HAS_PROCESS().
|
inlineprivate |
Definition at line 348 of file SimpleBusAT.h.
References mPendingTransactions, and target_socket.
Referenced by initiatorNBTransport().
|
inline |
Definition at line 87 of file SimpleBusAT.h.
References getPortId().
Referenced by getDMIPointer(), RequestThread(), and transportDebug().
|
inline |
Definition at line 82 of file SimpleBusAT.h.
Referenced by getDMIPointer(), limitRange(), RequestThread(), and transportDebug().
|
inline |
Definition at line 77 of file SimpleBusAT.h.
Referenced by limitRange().
|
inline |
Definition at line 294 of file SimpleBusAT.h.
References decode(), tlm::tlm_generic_payload::get_address(), tlm::tlm_dmi::get_end_address(), tlm::tlm_dmi::get_start_address(), getAddressMask(), initiator_socket, limitRange(), tlm::tlm_generic_payload::set_address(), tlm::tlm_dmi::set_end_address(), and tlm::tlm_dmi::set_start_address().
Referenced by SimpleBusAT().
|
inline |
Definition at line 72 of file SimpleBusAT.h.
Referenced by decode().
|
inline |
Definition at line 221 of file SimpleBusAT.h.
References tlm::tlm_generic_payload::acquire(), addPendingTransaction(), tlm::BEGIN_REQ, tlm::END_RESP, mEndResponseEvent, mRequestPEQ, sc_core::sc_object::name(), tlm::TLM_ACCEPTED, and tlm::TLM_COMPLETED.
Referenced by SimpleBusAT().
|
inline |
Definition at line 331 of file SimpleBusAT.h.
References limitRange(), and target_socket.
Referenced by SimpleBusAT().
|
inline |
Definition at line 274 of file SimpleBusAT.h.
References getAddressMask(), and getAddressOffset().
Referenced by getDMIPointer(), and invalidateDMIPointers().
|
inline |
Definition at line 99 of file SimpleBusAT.h.
References tlm::BEGIN_REQ, tlm::BEGIN_RESP, decode(), tlm::END_REQ, tlm::tlm_generic_payload::get_address(), getAddressMask(), initiator_socket, mEndRequestEvent, mPendingTransactions, mRequestPEQ, mResponsePEQ, sc_core::SC_ZERO_TIME, tlm::tlm_generic_payload::set_address(), tlm::TLM_ACCEPTED, tlm::TLM_COMPLETED, tlm::TLM_UPDATED, and sc_core::sc_module::wait().
Referenced by SimpleBusAT().
|
inline |
Definition at line 168 of file SimpleBusAT.h.
References tlm::BEGIN_RESP, tlm::END_RESP, mEndResponseEvent, mPendingTransactions, mResponsePEQ, tlm::tlm_generic_payload::release(), sc_core::SC_ZERO_TIME, tlm::TLM_ACCEPTED, tlm::TLM_COMPLETED, tlm::TLM_UPDATED, and sc_core::sc_module::wait().
Referenced by SimpleBusAT().
| SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SC_HAS_PROCESS | ( | SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS > | ) |
References SimpleBusAT().
|
inline |
Definition at line 245 of file SimpleBusAT.h.
References tlm::BEGIN_RESP, tlm::END_REQ, mEndRequestEvent, mResponsePEQ, sc_core::sc_object::name(), and tlm::TLM_ACCEPTED.
Referenced by SimpleBusAT().
|
inline |
Definition at line 264 of file SimpleBusAT.h.
References decode(), tlm::tlm_generic_payload::get_address(), getAddressMask(), initiator_socket, and tlm::tlm_generic_payload::set_address().
Referenced by SimpleBusAT().
| initiator_socket_type SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket[NR_OF_TARGETS] |
Definition at line 43 of file SimpleBusAT.h.
Referenced by getDMIPointer(), RequestThread(), SimpleBusAT(), and transportDebug().
|
private |
Definition at line 370 of file SimpleBusAT.h.
|
private |
Definition at line 374 of file SimpleBusAT.h.
|
private |
Definition at line 371 of file SimpleBusAT.h.
Referenced by RequestThread(), and targetNBTransport().
|
private |
Definition at line 375 of file SimpleBusAT.h.
Referenced by initiatorNBTransport(), and ResponseThread().
|
private |
Definition at line 367 of file SimpleBusAT.h.
Referenced by addPendingTransaction(), RequestThread(), and ResponseThread().
|
private |
Definition at line 369 of file SimpleBusAT.h.
Referenced by initiatorNBTransport(), RequestThread(), and SimpleBusAT().
|
private |
Definition at line 373 of file SimpleBusAT.h.
Referenced by RequestThread(), ResponseThread(), SimpleBusAT(), and targetNBTransport().
| target_socket_type SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket[NR_OF_INITIATORS] |
Definition at line 42 of file SimpleBusAT.h.
Referenced by addPendingTransaction(), invalidateDMIPointers(), and SimpleBusAT().