Go to the documentation of this file.
32 #ifndef __CORE_DECOUPLING_LT_INITIATOR_H__
33 #define __CORE_DECOUPLING_LT_INITIATOR_H__
36 #include "tlm_utils/simple_initiator_socket.h"
37 #include "tlm_utils/tlm_quantumkeeper.h"
54 unsigned int nrOfTransactions = 0x5,
55 unsigned int baseAddress = 0) :
85 trans.set_data_ptr(
reinterpret_cast<unsigned char*
>(&
mData));
86 trans.set_data_length(4);
87 trans.set_streaming_width(4);
97 std::cout <<
name() <<
": Send write request: A = 0x"
98 << std::hex << (
unsigned int)trans.get_address()
99 <<
", D = 0x" <<
mData << std::dec
106 std::cout <<
name() <<
": Send read request: A = 0x"
107 << std::hex << (
unsigned int)trans.get_address()
118 std::cout <<
name() <<
": Received error response @ "
125 std::cout <<
name() <<
": Received ok response";
127 std::cout <<
": D = 0x" << std::hex <<
mData << std::dec;
149 std::cout <<
"Sync'ing..." << std::endl;
@ TLM_INCOMPLETE_RESPONSE
virtual void set(const sc_core::sc_time &t)
initiator_socket_type socket
unsigned int mNrOfTransactions
void logStartTransation(transaction_type &trans)
CoreDecouplingLTInitiator(sc_core::sc_module_name name, unsigned int nrOfTransactions=0x5, unsigned int baseAddress=0)
unsigned int mBaseAddress
tlm_utils::tlm_quantumkeeper mQuantumKeeper
void logEndTransaction(transaction_type &trans)
unsigned int mTransactionCount
tlm::tlm_generic_payload transaction_type
virtual bool need_sync() const
virtual sc_core::sc_time get_current_time() const
SC_HAS_PROCESS(CoreDecouplingLTInitiator)
bool initTransaction(transaction_type &trans)
static void set_global_quantum(const sc_core::sc_time &t)
const char * name() const
virtual sc_core::sc_time get_local_time() const
const sc_time & sc_time_stamp()
tlm_utils::simple_initiator_socket< CoreDecouplingLTInitiator > initiator_socket_type
Generated on Wed Sep 30 2020 14:02:16 for gem5 by doxygen 1.8.17