TLM2.0 (July 2008) tidies away the TLM1.0 interface inheritance using convenience sockets and defines the Generic Payload.
Also defined memory/garbage ownership and transport primitives with timing and backdoor access to RAM models.
trans->set_command(tlm::TLM_WRITE_COMMAND); trans->set_address(addr); trans->set_data_ptr(reinterpret_cast(&data)); trans->set_data_length(4); trans->set_streaming_width(4); trans->set_byte_enable_ptr(0); trans->set_response_status( tlm::TLM_INCOMPLETE_RESPONSE ); socket->b_transport(*trans, delay);
Other standard payloads (e.g. 802.3 frame or audio sample) might be expected ?