gem5 v24.1.0.1
|
#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 SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getDMIPointer(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiatorNBTransport(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::invalidateDMIPointers(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::register_get_direct_mem_ptr(), tlm_utils::simple_initiator_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::register_invalidate_direct_mem_ptr(), tlm_utils::simple_initiator_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::register_nb_transport_bw(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::register_nb_transport_fw(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::register_transport_dbg(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::ResponseThread(), SC_THREAD, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::targetNBTransport(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::transportDebug().
|
inlineprivate |
Definition at line 348 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mPendingTransactions, and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiatorNBTransport().
|
inline |
Definition at line 87 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getPortId().
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getDMIPointer(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::transportDebug().
|
inline |
Definition at line 82 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getDMIPointer(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::limitRange(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::transportDebug().
|
inline |
Definition at line 77 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::limitRange().
|
inline |
Definition at line 294 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::decode(), tlm::tlm_generic_payload::get_address(), tlm::tlm_dmi::get_end_address(), tlm::tlm_dmi::get_start_address(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getAddressMask(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::limitRange(), tlm::tlm_generic_payload::set_address(), tlm::tlm_dmi::set_end_address(), and tlm::tlm_dmi::set_start_address().
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
|
inline |
Definition at line 72 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::decode().
|
inline |
Definition at line 221 of file SimpleBusAT.h.
References tlm::tlm_generic_payload::acquire(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::addPendingTransaction(), tlm::BEGIN_REQ, tlm::END_RESP, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mEndResponseEvent, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mRequestPEQ, sc_core::sc_object::name(), sc_core::sc_event::notify(), tlm_utils::peq_with_get< PAYLOAD >::notify(), tlm::TLM_ACCEPTED, and tlm::TLM_COMPLETED.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
|
inline |
Definition at line 331 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::limitRange(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
|
inline |
Definition at line 274 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getAddressMask(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getAddressOffset().
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getDMIPointer(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::invalidateDMIPointers().
|
inline |
Definition at line 99 of file SimpleBusAT.h.
References tlm::BEGIN_REQ, tlm::BEGIN_RESP, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::decode(), tlm::END_REQ, tlm::tlm_generic_payload::get_address(), tlm_utils::peq_with_get< PAYLOAD >::get_event(), tlm_utils::peq_with_get< PAYLOAD >::get_next_transaction(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getAddressMask(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mEndRequestEvent, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mPendingTransactions, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mRequestPEQ, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mResponsePEQ, tlm_utils::peq_with_get< PAYLOAD >::notify(), 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< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
|
inline |
Definition at line 168 of file SimpleBusAT.h.
References tlm::BEGIN_RESP, tlm::END_RESP, tlm_utils::peq_with_get< PAYLOAD >::get_event(), tlm_utils::peq_with_get< PAYLOAD >::get_next_transaction(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mEndResponseEvent, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mPendingTransactions, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::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< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SC_HAS_PROCESS | ( | SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS > | ) |
|
inline |
Definition at line 245 of file SimpleBusAT.h.
References tlm::BEGIN_RESP, tlm::END_REQ, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mEndRequestEvent, SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::mResponsePEQ, sc_core::sc_object::name(), sc_core::sc_event::notify(), tlm_utils::peq_with_get< PAYLOAD >::notify(), and tlm::TLM_ACCEPTED.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT().
|
inline |
Definition at line 264 of file SimpleBusAT.h.
References SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::decode(), tlm::tlm_generic_payload::get_address(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getAddressMask(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiator_socket, and tlm::tlm_generic_payload::set_address().
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::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 SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::getDMIPointer(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::SimpleBusAT(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::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 SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::targetNBTransport().
|
private |
Definition at line 375 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiatorNBTransport(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::ResponseThread().
|
private |
|
private |
Definition at line 369 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::initiatorNBTransport(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread().
|
private |
Definition at line 373 of file SimpleBusAT.h.
Referenced by SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::RequestThread(), SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::ResponseThread(), and SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::targetNBTransport().
target_socket_type SimpleBusAT< NR_OF_INITIATORS, NR_OF_TARGETS >::target_socket[NR_OF_INITIATORS] |