|
template<typename CFG , typename TYPES = master_types> |
using | wdata_ace = wdata_axi< CFG, TYPES > |
| alias declaration for rresp_ch_ace, wdata_ch_ace, b_ch_ace???
|
|
template<typename CFG , typename TYPES = master_types> |
using | b_ace = b_axi< CFG, TYPES > |
|
template<typename CFG , typename TYPES = master_types> |
using | wdata_ace_lite = wdata_axi< CFG, TYPES > |
|
template<typename CFG , typename TYPES = master_types> |
using | b_ace_lite = b_axi< CFG, TYPES > |
|
template<typename CFG , typename TYPES = master_types> |
using | rresp_ace_lite = rresp_axi< CFG, TYPES > |
|
template<typename CFG , typename TYPES = master_types> |
using | aw_ace_lite = aw_ace< CFG, TYPES > |
|
template<typename CFG , typename TYPES = master_types> |
using | ar_ace_lite = ar_ace< CFG, TYPES > |
|
using | axi_payload = tlm::tlm_generic_payload |
| aliases for payload and phase types
|
|
using | axi_phase = tlm::tlm_phase |
|
template<typename TYPES = axi_protocol_types> |
using | axi_fw_transport_if = tlm::tlm_fw_transport_if< TYPES > |
| alias declaration for the forward interface
|
|
template<typename TYPES = axi_protocol_types> |
using | axi_bw_transport_if = tlm::tlm_bw_transport_if< TYPES > |
| alias declaration for the backward interface:
|
|
template<typename TYPES = axi_protocol_types> |
using | ace_fw_transport_if = tlm::tlm_fw_transport_if< TYPES > |
| alias declaration for the ACE forward interface
|
|
|
enum class | flavor_e { AXI
, ACEL
, ACE
} |
|
enum class | burst_e : uint8_t { FIXED = 0
, INCR = 1
, WRAP = 2
} |
|
enum class | lock_e : uint8_t { NORMAL = 0x0
, EXLUSIVE = 0x1
, LOCKED = 0x2
} |
|
enum class | domain_e : uint8_t { NON_SHAREABLE = 0x0
, INNER_SHAREABLE = 0x1
, OUTER_SHAREABLE = 0x2
, SYSTEM = 0x3
} |
|
enum class | bar_e : uint8_t { RESPECT_BARRIER = 0x0
, MEMORY_BARRIER = 0x1
, IGNORE_BARRIER = 0x2
, SYNCHRONISATION_BARRIER = 0x3
} |
|
enum class | snoop_e : uint8_t {
READ_NO_SNOOP = 0x10
, READ_ONCE = 0x0
, READ_SHARED = 0x1
, READ_CLEAN = 0x2
,
READ_NOT_SHARED_DIRTY = 0x3
, READ_ONCE_CLEAN_INVALID = 0x4
, READ_ONCE_MAKE_INVALID = 0x5
, READ_UNIQUE = 0x7
,
CLEAN_UNIQUE = 0xb
, MAKE_UNIQUE = 0xc
, CLEAN_SHARED = 0x8
, CLEAN_INVALID = 0x9
,
CLEAN_SHARED_PERSIST = 0xa
, MAKE_INVALID = 0xd
, DVM_COMPLETE = 0xe
, DVM_MESSAGE = 0xf
,
BARRIER = 0x40
, WRITE_NO_SNOOP = 0x30
, WRITE_UNIQUE = 0x20
, WRITE_LINE_UNIQUE = 0x21
,
WRITE_CLEAN = 0x22
, WRITE_BACK = 0x23
, EVICT = 0x24
, WRITE_EVICT = 0x25
,
CMO_ON_WRITE = 0x26
, WRITE_UNIQUE_PTL_STASH = 0x28
, WRITE_UNIQUE_FULL_STASH = 0x29
, STASH_ONCE_SHARED = 0x2c
,
STASH_ONCE_UNIQUE = 0x2d
, STASH_TRANSLATION = 0x2e
} |
|
enum class | atop_low_e {
ADD = 0x0
, CLR = 0x1
, EOR = 0x2
, SET = 0x3
,
SMAX = 0x4
, SMIN = 0x5
, UMAX = 0x6
, UMIN = 0x7
} |
|
enum class | atop_enc_e {
NonAtomic = 0x00
, AtomicStore = 0x10
, AtomicLoad = 0x20
, AtomicSwap = 0x30
,
AtomicCompare = 0x31
} |
|
enum class | resp_e : uint8_t { OKAY = 0x0
, EXOKAY = 0x1
, SLVERR = 0x2
, DECERR = 0x3
} |
|
|
std::string | concat (const char *prefix, const char *name) |
|
template<> |
const char * | to_char< snoop_e > (snoop_e v) |
|
template<> |
const char * | to_char< burst_e > (burst_e v) |
|
template<> |
const char * | to_char< lock_e > (lock_e v) |
|
template<> |
const char * | to_char< domain_e > (domain_e v) |
|
template<> |
const char * | to_char< bar_e > (bar_e v) |
|
template<> |
const char * | to_char< resp_e > (resp_e v) |
|
std::ostream & | operator<< (std::ostream &os, const tlm::tlm_generic_payload &t) |
|
template<> |
char const * | is_valid_msg< axi::ace_extension > (axi::ace_extension *ext) |
|
template<> |
char const * | is_valid_msg< axi::axi4_extension > (axi::axi4_extension *ext) |
|
template<> |
char const * | is_valid_msg< axi::axi3_extension > (axi::axi3_extension *ext) |
|
template<typename E > |
E | into (typename std::underlying_type< E >::type t) |
|
template<typename E , typename ULT = typename std::underlying_type<E>::type, typename X = typename std::enable_if<std::is_enum<E>::value && !std::is_convertible<E, ULT>::value, bool>::type> |
constexpr ULT | to_int (E t) |
|
template<typename E > |
const char * | to_char (E t) |
|
template<typename E , typename std::enable_if< enable_for_enum< E >::value, bool >::type > |
std::ostream & | operator<< (std::ostream &os, E e) |
|
| DECLARE_EXTENDED_PHASE (BEGIN_PARTIAL_REQ) |
|
| DECLARE_EXTENDED_PHASE (END_PARTIAL_REQ) |
|
| DECLARE_EXTENDED_PHASE (BEGIN_PARTIAL_RESP) |
|
| DECLARE_EXTENDED_PHASE (END_PARTIAL_RESP) |
|
| DECLARE_EXTENDED_PHASE (ACK) |
|
template<typename EXT > |
bool | is_valid (EXT &ext) |
|
template<typename EXT > |
bool | is_valid (EXT *ext) |
|
template<typename EXT > |
char const * | is_valid_msg (EXT &ext) |
|
template<typename EXT > |
char const * | is_valid_msg (EXT *ext) |
|
bool | is_dataless (axi::ace_extension const *ext) |
|
unsigned | get_axi_id (axi::axi_protocol_types::tlm_payload_type const &trans) |
|
unsigned | get_axi_id (axi::axi_protocol_types::tlm_payload_type const *trans) |
|
bool | is_burst (const axi::axi_protocol_types::tlm_payload_type &trans) |
|
bool | is_burst (const axi::axi_protocol_types::tlm_payload_type *trans) |
|
unsigned | get_burst_length (const request &r) |
|
unsigned | get_burst_length (const request *r) |
|
unsigned | get_burst_length (const axi::axi_protocol_types::tlm_payload_type &trans) |
|
unsigned | get_burst_length (const axi::axi_protocol_types::tlm_payload_type *trans) |
|
unsigned | get_burst_size (const request &r) |
|
unsigned | get_burst_size (const request *r) |
|
unsigned | get_burst_size (const axi::axi_protocol_types::tlm_payload_type &trans) |
|
unsigned | get_burst_size (const axi::axi_protocol_types::tlm_payload_type *trans) |
|
burst_e | get_burst_type (const axi::axi_protocol_types::tlm_payload_type &trans) |
|
burst_e | get_burst_type (const axi::axi_protocol_types::tlm_payload_type *trans) |
|
unsigned | get_cache (const axi::axi_protocol_types::tlm_payload_type &trans) |
|
unsigned | get_cache (const axi::axi_protocol_types::tlm_payload_type *trans) |
|
template<> |
burst_e | into< burst_e > (typename std::underlying_type< burst_e >::type t) |
|
template<> |
lock_e | into< lock_e > (typename std::underlying_type< lock_e >::type t) |
|
template<> |
domain_e | into< domain_e > (typename std::underlying_type< domain_e >::type t) |
|
template<> |
bar_e | into< bar_e > (typename std::underlying_type< bar_e >::type t) |
|
template<> |
snoop_e | into< snoop_e > (typename std::underlying_type< snoop_e >::type t) |
|
template<> |
resp_e | into< resp_e > (typename std::underlying_type< resp_e >::type t) |
|
TLM2.0 components modeling AHB.
SCV components for AXI/ACE.
LWTR components for AXI/ACE.
TLM2.0 components modeling AXI/ACE.
TLM2.0 components modeling AXI.
template<typename E , typename ULT = typename std::underlying_type<E>::type, typename X = typename std::enable_if<std::is_enum<E>::value && !std::is_convertible<E, ULT>::value, bool>::type>
constexpr ULT axi::to_int |
( |
E |
t | ) |
|
|
inlineconstexpr |
helper function to convert class enums into integer
- Parameters
-
- Returns
Definition at line 47 of file axi_tlm.h.