Go to the documentation of this file.
32 #ifndef __SIMPLE_LT_INITIATOR2_H__
33 #define __SIMPLE_LT_INITIATOR2_H__
36 #include "tlm_utils/simple_initiator_socket.h"
55 unsigned int nrOfTransactions = 0x5,
56 unsigned int baseAddress = 0x0) :
96 std::cout <<
name() <<
": Send write request: A = 0x"
97 << std::hex << (
unsigned int)trans.get_address()
98 <<
", D = 0x" <<
mData << std::dec
102 std::cout <<
name() <<
": Send read request: A = 0x"
103 << std::hex << (
unsigned int)trans.get_address() << std::dec
111 std::cout <<
name() <<
": Received error response @ "
115 std::cout <<
name() <<
": Received ok response";
117 std::cout <<
": D = 0x" << std::hex <<
mData << std::dec;
void set_data_length(const unsigned int length)
@ TLM_INCOMPLETE_RESPONSE
tlm::tlm_phase phase_type
sc_core::sc_event mEndEvent
SC_HAS_PROCESS(SimpleLTInitiator2)
const sc_time SC_ZERO_TIME
tlm::tlm_sync_enum sync_enum_type
void set_dmi_allowed(bool dmi_allowed)
tlm_utils::simple_initiator_socket< SimpleLTInitiator2 > initiator_socket_type
void set_command(const tlm_command command)
initiator_socket_type socket
bool initTransaction(transaction_type &trans)
unsigned int mBaseAddress
void set_streaming_width(const unsigned int streaming_width)
unsigned int mNrOfTransactions
SimpleLTInitiator2(sc_core::sc_module_name name, unsigned int nrOfTransactions=0x5, unsigned int baseAddress=0x0)
const char * name() const
void set_address(const sc_dt::uint64 address)
unsigned int mTransactionCount
tlm::tlm_generic_payload transaction_type
void logEndTransaction(transaction_type &trans)
const sc_time & sc_time_stamp()
void logStartTransation(transaction_type &trans)
void set_data_ptr(unsigned char *data)
void set_response_status(const tlm_response_status response_status)
Generated on Wed Sep 30 2020 14:02:16 for gem5 by doxygen 1.8.17