gem5 v24.0.0.0
|
Enumerations | |
enum | tlm_command { TLM_READ_COMMAND , TLM_WRITE_COMMAND , TLM_IGNORE_COMMAND } |
enum | tlm_response_status { TLM_OK_RESPONSE = 1 , TLM_INCOMPLETE_RESPONSE = 0 , TLM_GENERIC_ERROR_RESPONSE = -1 , TLM_ADDRESS_ERROR_RESPONSE = -2 , TLM_COMMAND_ERROR_RESPONSE = -3 , TLM_BURST_ERROR_RESPONSE = -4 , TLM_BYTE_ENABLE_ERROR_RESPONSE = -5 } |
enum | tlm_gp_option { TLM_MIN_PAYLOAD , TLM_FULL_PAYLOAD , TLM_FULL_PAYLOAD_ACCEPTED } |
enum | tlm_endianness { TLM_UNKNOWN_ENDIAN , TLM_LITTLE_ENDIAN , TLM_BIG_ENDIAN } |
enum | tlm_phase_enum { UNINITIALIZED_PHASE = 0 , BEGIN_REQ = 1 , END_REQ , BEGIN_RESP , END_RESP } |
enum | tlm_sync_enum { TLM_ACCEPTED , TLM_UPDATED , TLM_COMPLETED } |
enum | tlm_socket_category { TLM_UNKNOWN_SOCKET = 0 , TLM_INITIATOR_SOCKET = 0x1 , TLM_TARGET_SOCKET = 0x2 , TLM_MULTI_SOCKET = 0x10 , TLM_MULTI_INITIATOR_SOCKET = TLM_INITIATOR_SOCKET | TLM_MULTI_SOCKET , TLM_MULTI_TARGET_SOCKET = TLM_TARGET_SOCKET | TLM_MULTI_SOCKET } |
Functions | |
tlm_endian_context * | establish_context (tlm_generic_payload *txn) |
void | copy_db0 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
void | copy_dbtrue0 (unsigned char *src1, unsigned char *, unsigned char *dest1, unsigned char *dest2) |
void | copy_btrue0 (unsigned char *, unsigned char *, unsigned char *, unsigned char *dest2) |
void | copy_b0 (unsigned char *, unsigned char *src2, unsigned char *, unsigned char *dest2) |
void | copy_dbyb0 (unsigned char *src1, unsigned char *, unsigned char *dest1, unsigned char *dest2) |
template<class D , void COPY> | |
void | loop_generic0 (int new_len, int new_stream_width, int orig_stream_width, int sizeof_databus, sc_dt::uint64 orig_start_address, sc_dt::uint64 new_start_address, int be_length, unsigned char *ie_data, unsigned char *ie_be, unsigned char *he_data, unsigned char *he_be) |
template<class DATAWORD > | |
void | tlm_from_hostendian_generic (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class DATAWORD > | |
void | tlm_to_hostendian_generic (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class D > | |
void | copy_d1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | copy_db1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | true_b1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | copy_b1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | copy_dbyb1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | copy_dbytrue1 (unsigned char *src1, unsigned char *src2, unsigned char *dest1, unsigned char *dest2) |
template<class D > | |
void | false_b1 (unsigned char *dest1) |
template<class D > | |
void | no_b1 (unsigned char *dest1) |
template<class D , void COPY, void COPYuchar, void FILLFALSE, void FILLFALSEuchar> | |
int | loop_word1 (int bytes_left, int len0, int lenN, int sizeof_databus, unsigned char *start, unsigned char *end, unsigned char *src, unsigned char *bsrc, unsigned char *dest, unsigned char *bdest) |
template<class DATAWORD > | |
void | tlm_from_hostendian_word (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class DATAWORD > | |
void | tlm_to_hostendian_word (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class D > | |
void | copy_d2 (D *src1, D *src2, D *dest1, D *dest2) |
template<class D > | |
void | copy_db2 (D *src1, D *src2, D *dest1, D *dest2) |
template<class D > | |
void | copy_dbyb2 (D *src1, D *src2, D *dest1, D *dest2) |
template<class D , void COPY> | |
void | loop_aligned2 (D *src1, D *src2, D *dest1, D *dest2, int words, int words_per_bus) |
template<class DATAWORD > | |
void | tlm_from_hostendian_aligned (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class DATAWORD > | |
void | tlm_to_hostendian_aligned (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class DATAWORD > | |
void | tlm_from_hostendian_single (tlm_generic_payload *txn, unsigned int sizeof_databus) |
template<class DATAWORD > | |
void | tlm_to_hostendian_single (tlm_generic_payload *txn, unsigned int sizeof_databus) |
void | tlm_from_hostendian (tlm_generic_payload *txn) |
unsigned int | max_num_extensions () |
tlm_endianness | get_host_endianness () |
bool | host_has_little_endianness () |
bool | has_host_endianness (tlm_endianness endianness) |
std::ostream & | operator<< (std::ostream &s, const tlm_phase &p) |
const unsigned int | tlm_version_major (TLM_VERSION_MAJOR) |
const unsigned int | tlm_version_minor (TLM_VERSION_MINOR) |
const unsigned int | tlm_version_patch (TLM_VERSION_PATCH) |
const bool | tlm_is_prerelease (TLM_IS_PRERELEASE) |
const std::string | tlm_version_string (TLM_VERSION_STRING) |
const std::string | tlm_version_originator (TLM_VERSION_ORIGINATOR) |
const std::string | tlm_version_prerelease (TLM_VERSION_PRERELEASE) |
const std::string | tlm_version_release_date (TLM_VERSION_STRING_RELEASE_DATE) |
const std::string | tlm_copyright_string (TLM_COPYRIGHT) |
const std::string | tlm_version_string_2 (TLM_VERSION_STRING_2) |
const char * | tlm_release () |
const char * | tlm_version () |
const char * | tlm_copyright () |
Variables | |
static tlm_endian_context_pool | global_tlm_endian_context_pool |
enum tlm::tlm_command |
enum tlm::tlm_endianness |
Enumerator | |
---|---|
TLM_UNKNOWN_ENDIAN | |
TLM_LITTLE_ENDIAN | |
TLM_BIG_ENDIAN |
Definition at line 26 of file helpers.hh.
enum tlm::tlm_gp_option |
enum tlm::tlm_phase_enum |
Enumerator | |
---|---|
TLM_UNKNOWN_SOCKET | |
TLM_INITIATOR_SOCKET | |
TLM_TARGET_SOCKET | |
TLM_MULTI_SOCKET | |
TLM_MULTI_INITIATOR_SOCKET | |
TLM_MULTI_TARGET_SOCKET |
Definition at line 31 of file base_socket_if.hh.
enum tlm::tlm_sync_enum |
Enumerator | |
---|---|
TLM_ACCEPTED | |
TLM_UPDATED | |
TLM_COMPLETED |
Definition at line 31 of file fw_bw_ifs.hh.
|
inline |
Definition at line 330 of file endian_conv.hh.
|
inline |
Definition at line 504 of file endian_conv.hh.
Referenced by tlm_to_hostendian_word().
|
inline |
Definition at line 323 of file endian_conv.hh.
References TLM_BYTE_ENABLED.
|
inline |
Definition at line 478 of file endian_conv.hh.
Referenced by tlm_to_hostendian_word().
|
inline |
Definition at line 751 of file endian_conv.hh.
|
inline |
Definition at line 307 of file endian_conv.hh.
|
inline |
Definition at line 487 of file endian_conv.hh.
Referenced by tlm_to_hostendian_word().
|
inline |
Definition at line 755 of file endian_conv.hh.
|
inline |
Definition at line 315 of file endian_conv.hh.
References TLM_BYTE_ENABLED.
|
inline |
Definition at line 337 of file endian_conv.hh.
References TLM_BYTE_ENABLED.
|
inline |
Definition at line 512 of file endian_conv.hh.
References TLM_BYTE_DISABLED.
Referenced by tlm_from_hostendian_word().
|
inline |
Definition at line 763 of file endian_conv.hh.
|
inline |
Definition at line 521 of file endian_conv.hh.
Referenced by tlm_from_hostendian_word().
|
inline |
Definition at line 236 of file endian_conv.hh.
References tlm::tlm_generic_payload::get_extension(), global_tlm_endian_context_pool, tlm::tlm_endian_context_pool::pop(), and tlm::tlm_generic_payload::set_extension().
Referenced by tlm_to_hostendian_aligned(), tlm_to_hostendian_generic(), tlm_to_hostendian_single(), and tlm_to_hostendian_word().
|
inline |
Definition at line 529 of file endian_conv.hh.
Referenced by tlm_to_hostendian_word().
|
inline |
Definition at line 29 of file helpers.hh.
References TLM_BIG_ENDIAN, TLM_LITTLE_ENDIAN, and TLM_UNKNOWN_ENDIAN.
|
inline |
Definition at line 59 of file helpers.hh.
References host_has_little_endianness(), TLM_BIG_ENDIAN, and TLM_LITTLE_ENDIAN.
|
inline |
Definition at line 43 of file helpers.hh.
References TLM_UNKNOWN_ENDIAN.
Referenced by SimpleLTInitiator1_dmi::end_of_simulation(), SimpleLTInitiator2_dmi::end_of_simulation(), SimpleLTInitiator_ext::end_of_simulation(), and has_host_endianness().
|
inline |
Definition at line 771 of file endian_conv.hh.
Referenced by tlm_from_hostendian_aligned(), and tlm_to_hostendian_aligned().
|
inline |
Definition at line 349 of file endian_conv.hh.
Referenced by tlm_from_hostendian_generic(), and tlm_to_hostendian_generic().
|
inline |
Definition at line 547 of file endian_conv.hh.
Referenced by tlm_from_hostendian_word(), and tlm_to_hostendian_word().
unsigned int tlm::max_num_extensions | ( | ) |
Definition at line 85 of file gp.cc.
Referenced by tlm::tlm_generic_payload::resize_extensions().
|
inline |
Definition at line 536 of file endian_conv.hh.
Referenced by tlm_from_hostendian_word().
|
inline |
|
inline |
Definition at line 151 of file version.hh.
References tlm_copyright_string().
const std::string tlm::tlm_copyright_string | ( | TLM_COPYRIGHT | ) |
Referenced by tlm_copyright().
|
inline |
Definition at line 933 of file endian_conv.hh.
References tlm::tlm_endian_context::from_f, tlm::tlm_generic_payload::get_extension(), and tlm::tlm_endian_context::sizeof_databus.
|
inline |
Definition at line 803 of file endian_conv.hh.
References tlm::tlm_endian_context::data_ptr, tlm::tlm_generic_payload::get_byte_enable_ptr(), tlm::tlm_generic_payload::get_data_length(), tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::is_read(), and loop_aligned2().
Referenced by tlm_to_hostendian_aligned().
|
inline |
Definition at line 381 of file endian_conv.hh.
References tlm::tlm_endian_context::address, tlm::tlm_endian_context::data_ptr, tlm::tlm_generic_payload::get_byte_enable_ptr(), tlm::tlm_generic_payload::get_data_length(), tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::get_streaming_width(), tlm::tlm_generic_payload::is_read(), loop_generic0(), tlm::tlm_endian_context::new_address, and tlm::tlm_endian_context::stream_width.
Referenced by tlm_to_hostendian_generic().
|
inline |
Definition at line 902 of file endian_conv.hh.
Referenced by tlm_to_hostendian_single().
|
inline |
Definition at line 618 of file endian_conv.hh.
References tlm::tlm_endian_context::address, tlm::tlm_endian_context::byte_enable, copy_dbyb1(), copy_dbytrue1(), tlm::tlm_endian_context::data_ptr, tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::is_read(), tlm::tlm_endian_context::length, loop_word1(), and no_b1().
Referenced by tlm_to_hostendian_word().
const bool tlm::tlm_is_prerelease | ( | TLM_IS_PRERELEASE | ) |
|
inline |
Definition at line 149 of file version.hh.
References tlm_version_string().
|
inline |
Definition at line 839 of file endian_conv.hh.
References tlm::tlm_endian_context::data_ptr, tlm::tlm_endian_context::establish_bebuf(), establish_context(), tlm::tlm_endian_context::establish_dbuf(), tlm::tlm_endian_context::from_f, tlm::tlm_generic_payload::get_byte_enable_ptr(), tlm::tlm_generic_payload::get_data_length(), tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::is_write(), loop_aligned2(), tlm::tlm_endian_context::new_bebuf, tlm::tlm_endian_context::new_dbuf, tlm::tlm_generic_payload::set_byte_enable_length(), tlm::tlm_generic_payload::set_byte_enable_ptr(), tlm::tlm_generic_payload::set_data_ptr(), tlm::tlm_endian_context::sizeof_databus, and tlm_from_hostendian_aligned().
|
inline |
Definition at line 400 of file endian_conv.hh.
References tlm::tlm_endian_context::address, tlm::tlm_endian_context::data_ptr, tlm::tlm_endian_context::establish_bebuf(), establish_context(), tlm::tlm_endian_context::establish_dbuf(), tlm::tlm_endian_context::from_f, tlm::tlm_generic_payload::get_address(), tlm::tlm_generic_payload::get_byte_enable_length(), tlm::tlm_generic_payload::get_byte_enable_ptr(), tlm::tlm_generic_payload::get_data_length(), tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::get_streaming_width(), tlm::tlm_generic_payload::is_write(), loop_generic0(), tlm::tlm_endian_context::new_address, tlm::tlm_endian_context::new_bebuf, tlm::tlm_endian_context::new_dbuf, tlm::tlm_generic_payload::set_address(), tlm::tlm_generic_payload::set_byte_enable_length(), tlm::tlm_generic_payload::set_byte_enable_ptr(), tlm::tlm_generic_payload::set_data_length(), tlm::tlm_generic_payload::set_data_ptr(), tlm::tlm_generic_payload::set_streaming_width(), tlm::tlm_endian_context::sizeof_databus, tlm::tlm_endian_context::stream_width, TLM_BYTE_DISABLED, and tlm_from_hostendian_generic().
|
inline |
Definition at line 913 of file endian_conv.hh.
References a, establish_context(), tlm::tlm_endian_context::from_f, tlm::tlm_generic_payload::get_address(), tlm::tlm_generic_payload::set_address(), tlm::tlm_endian_context::sizeof_databus, and tlm_from_hostendian_single().
|
inline |
Definition at line 661 of file endian_conv.hh.
References tlm::tlm_endian_context::address, tlm::tlm_endian_context::byte_enable, copy_b1(), copy_d1(), copy_db1(), tlm::tlm_endian_context::data_ptr, tlm::tlm_endian_context::establish_bebuf(), establish_context(), tlm::tlm_endian_context::establish_dbuf(), false_b1(), tlm::tlm_endian_context::from_f, tlm::tlm_generic_payload::get_address(), tlm::tlm_generic_payload::get_byte_enable_ptr(), tlm::tlm_generic_payload::get_data_length(), tlm::tlm_generic_payload::get_data_ptr(), tlm::tlm_generic_payload::is_read(), tlm::tlm_endian_context::length, loop_word1(), tlm::tlm_endian_context::new_bebuf, tlm::tlm_endian_context::new_dbuf, tlm::tlm_generic_payload::set_address(), tlm::tlm_generic_payload::set_byte_enable_length(), tlm::tlm_generic_payload::set_byte_enable_ptr(), tlm::tlm_generic_payload::set_data_length(), tlm::tlm_generic_payload::set_data_ptr(), tlm::tlm_generic_payload::set_streaming_width(), tlm::tlm_endian_context::sizeof_databus, tlm_from_hostendian_word(), and true_b1().
|
inline |
Definition at line 150 of file version.hh.
References tlm_version_string_2().
const unsigned int tlm::tlm_version_major | ( | TLM_VERSION_MAJOR | ) |
const unsigned int tlm::tlm_version_minor | ( | TLM_VERSION_MINOR | ) |
const std::string tlm::tlm_version_originator | ( | TLM_VERSION_ORIGINATOR | ) |
const unsigned int tlm::tlm_version_patch | ( | TLM_VERSION_PATCH | ) |
const std::string tlm::tlm_version_prerelease | ( | TLM_VERSION_PRERELEASE | ) |
const std::string tlm::tlm_version_release_date | ( | TLM_VERSION_STRING_RELEASE_DATE | ) |
const std::string tlm::tlm_version_string | ( | TLM_VERSION_STRING | ) |
Referenced by tlm_release().
const std::string tlm::tlm_version_string_2 | ( | TLM_VERSION_STRING_2 | ) |
Referenced by tlm_version().
|
inline |
Definition at line 496 of file endian_conv.hh.
Referenced by tlm_to_hostendian_word().
|
static |
Definition at line 159 of file endian_conv.hh.
Referenced by establish_context(), and tlm::tlm_endian_context::free().