22 #include <type_traits>
27 enum class flavor_e { AXI, ACEL, ACE };
32 template <
typename Enum>
struct enable_for_enum {
static const bool value =
false; };
38 template <
typename E>
inline E
into(
typename std::underlying_type<E>::type t);
45 typename E,
typename ULT =
typename std::underlying_type<E>::type,
46 typename X =
typename std::enable_if<std::is_enum<E>::value && !std::is_convertible<E, ULT>::value,
bool>::type>
48 return static_cast<typename std::underlying_type<E>::type
>(t);
55 template <
typename E>
const char*
to_char(E t);
62 template <typename E, typename std::enable_if<enable_for_enum<E>::value,
bool>::type>
63 inline std::ostream& operator<<(std::ostream& os, E e) {
68 std::ostream& operator<<(std::ostream& os, tlm::tlm_generic_payload
const& t);
81 enum class lock_e : uint8_t { NORMAL = 0x0, EXLUSIVE = 0x1, LOCKED = 0x2 };
85 enum class domain_e : uint8_t { NON_SHAREABLE = 0x0, INNER_SHAREABLE = 0x1, OUTER_SHAREABLE = 0x2, SYSTEM = 0x3 };
90 RESPECT_BARRIER = 0x0,
102 READ_NO_SNOOP = 0x10,
107 READ_NOT_SHARED_DIRTY = 0x3,
108 READ_ONCE_CLEAN_INVALID = 0x4,
109 READ_ONCE_MAKE_INVALID = 0x5,
116 CLEAN_SHARED_PERSIST = 0xa,
124 WRITE_NO_SNOOP = 0x30,
127 WRITE_LINE_UNIQUE = 0x21,
136 WRITE_UNIQUE_PTL_STASH = 0x28,
137 WRITE_UNIQUE_FULL_STASH = 0x29,
138 STASH_ONCE_SHARED = 0x2c,
139 STASH_ONCE_UNIQUE = 0x2d,
140 STASH_TRANSLATION = 0x2e
144 enum class atop_low_e { ADD = 0x0, CLR = 0x1, EOR = 0x2, SET = 0x3, SMAX = 0x4, SMIN = 0x5, UMAX = 0x6, UMIN = 0x7 };
146 enum class atop_enc_e {
151 AtomicCompare = 0x31,
156 enum class resp_e : uint8_t { OKAY = 0x0, EXOKAY = 0x1, SLVERR = 0x2, DECERR = 0x3 };
181 void set_id(
unsigned int value);
184 unsigned int get_id()
const;
195 std::array<unsigned, 3> user{{0, 0, 0}};
392 domain_e domain{domain_e::NON_SHAREABLE};
393 snoop_e snoop{snoop_e::READ_NO_SNOOP};
394 bar_e barrier{bar_e::RESPECT_BARRIER};
395 lock_e lock{lock_e::NORMAL};
398 uint16_t stash_nid{std::numeric_limits<uint16_t>::max()};
399 uint8_t stash_lpid{std::numeric_limits<uint8_t>::max()};
678 uint8_t resp{
static_cast<uint8_t
>(resp_e::OKAY)};
751 template <
typename REQ,
typename RESP = response>
805 std::vector<response> response_arr{};
806 bool response_array_complete{
false};
826 tlm::tlm_extension_base*
clone()
const override;
831 void copy_from(tlm::tlm_extension_base
const& ext)
override;
851 tlm::tlm_extension_base*
clone()
const override;
856 void copy_from(tlm::tlm_extension_base
const& ext)
override;
876 tlm::tlm_extension_base*
clone()
const override;
881 void copy_from(tlm::tlm_extension_base
const& ext)
override;
885 using axi_phase = tlm::tlm_phase;
892 typedef axi_phase tlm_phase_type;
905 template <
typename TRANS = tlm::tlm_
generic_payload>
913 virtual void b_snoop(TRANS& trans, sc_core::sc_time& t) = 0;
916 template <
typename TYPES = axi_protocol_types>
using axi_fw_transport_if = tlm::tlm_fw_transport_if<TYPES>;
918 template <
typename TYPES = axi_protocol_types>
using axi_bw_transport_if = tlm::tlm_bw_transport_if<TYPES>;
920 template <
typename TYPES = axi_protocol_types>
using ace_fw_transport_if = tlm::tlm_fw_transport_if<TYPES>;
924 template <
typename TYPES = axi_protocol_types>
931 sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
933 :
public tlm::tlm_base_initiator_socket<BUSWIDTH, axi_fw_transport_if<TYPES>, axi_bw_transport_if<TYPES>, N, POL> {
952 const char*
kind()
const override {
return "axi_initiator_socket"; }
954 #if SYSTEMC_VERSION >= 20181013
956 sc_core::sc_type_index get_protocol_types()
const override {
return typeid(TYPES); }
962 template <
unsigned int BUSWIDTH = 32,
typename TYPES = axi_protocol_types,
int N = 1,
963 sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
965 :
public tlm::tlm_base_target_socket<BUSWIDTH, axi_fw_transport_if<TYPES>, axi_bw_transport_if<TYPES>, N, POL> {
984 const char*
kind()
const override {
return "axi_target_socket"; }
986 #if SYSTEMC_VERSION >= 20181013
988 sc_core::sc_type_index get_protocol_types()
const override {
return typeid(TYPES); }
994 template <
unsigned int BUSWIDTH = 32,
typename TYPES = axi_protocol_types,
int N = 1,
995 sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
997 :
public tlm::tlm_base_initiator_socket<BUSWIDTH, ace_fw_transport_if<TYPES>, ace_bw_transport_if<TYPES>, N, POL> {
1016 const char*
kind()
const override {
return "axi_initiator_socket"; }
1017 #if SYSTEMC_VERSION >= 20181013
1022 sc_core::sc_type_index get_protocol_types() const override { return typeid(TYPES); }
1028 template <
unsigned int BUSWIDTH = 32,
typename TYPES = axi_protocol_types,
int N = 1,
1029 sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
1031 :
public tlm::tlm_base_target_socket<BUSWIDTH, ace_fw_transport_if<TYPES>, ace_bw_transport_if<TYPES>, N, POL> {
1050 const char*
kind()
const override {
return "axi_target_socket"; }
1052 #if SYSTEMC_VERSION >= 20181013
1057 sc_core::sc_type_index get_protocol_types() const override { return typeid(TYPES); }
1064 template <
typename EXT>
bool is_valid(EXT& ext) {
return is_valid(&ext); }
1066 template <
typename EXT>
bool is_valid(EXT* ext) {
return is_valid_msg(ext) ==
nullptr; }
1068 template <
typename EXT>
char const* is_valid_msg(EXT& ext) {
return is_valid_msg(&ext); }
1070 template <
typename EXT>
char const* is_valid_msg(EXT* ext);
1076 return snp == snoop_e::CLEAN_UNIQUE || snp == snoop_e::MAKE_UNIQUE || snp == snoop_e::CLEAN_SHARED ||
1077 snp == snoop_e::CLEAN_INVALID || snp == snoop_e::MAKE_INVALID || snp == snoop_e::EVICT ||
1078 snp == snoop_e::STASH_ONCE_SHARED || snp == snoop_e::STASH_ONCE_UNIQUE;
1081 inline unsigned get_axi_id(axi::axi_protocol_types::tlm_payload_type
const& trans) {
1088 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1089 return std::numeric_limits<unsigned>::max();
1092 inline unsigned get_axi_id(axi::axi_protocol_types::tlm_payload_type
const* trans) {
return get_axi_id(*trans); }
1101 inline bool is_burst(
const axi::axi_protocol_types::tlm_payload_type& trans) {
1103 return e->get_length() > 0;
1105 return e->get_length() > 0;
1107 return e->get_length() > 0;
1108 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1116 inline bool is_burst(
const axi::axi_protocol_types::tlm_payload_type* trans) {
return is_burst(*trans); }
1136 return e->get_length() + 1;
1138 return e->get_length() + 1;
1140 return e->get_length() + 1;
1141 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1169 inline unsigned get_burst_size(
const axi::axi_protocol_types::tlm_payload_type& trans) {
1171 return 1 << e->get_size();
1173 return 1 << e->get_size();
1175 return 1 << e->get_size();
1176 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1184 inline unsigned get_burst_size(
const axi::axi_protocol_types::tlm_payload_type* trans) {
1188 inline burst_e get_burst_type(
const axi::axi_protocol_types::tlm_payload_type& trans) {
1190 return e->get_burst();
1192 return e->get_burst();
1194 return e->get_burst();
1195 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1196 return burst_e::FIXED;
1198 inline burst_e get_burst_type(
const axi::axi_protocol_types::tlm_payload_type* trans) {
return get_burst_type(*trans); }
1200 inline unsigned get_cache(
const axi::axi_protocol_types::tlm_payload_type& trans) {
1202 return e->get_cache();
1204 return e->get_cache();
1206 return e->get_cache();
1207 sc_assert(
false &&
"transaction is not an axi or ace transaction");
1210 inline unsigned get_cache(
const axi::axi_protocol_types::tlm_payload_type* trans) {
return get_cache(*trans); }
1222 template <>
inline burst_e into<burst_e>(
typename std::underlying_type<burst_e>::type t) {
1223 assert(t <=
static_cast<std::underlying_type<burst_e>::type
>(
burst_e::WRAP));
1224 return static_cast<burst_e>(t);
1227 template <>
inline lock_e into<lock_e>(
typename std::underlying_type<lock_e>::type t) {
1228 assert(t <=
static_cast<std::underlying_type<lock_e>::type
>(lock_e::LOCKED));
1229 return static_cast<lock_e>(t);
1232 template <>
inline domain_e into<domain_e>(
typename std::underlying_type<domain_e>::type t) {
1233 assert(t <=
static_cast<std::underlying_type<domain_e>::type
>(domain_e::SYSTEM));
1237 template <>
inline bar_e into<bar_e>(
typename std::underlying_type<bar_e>::type t) {
1239 return static_cast<bar_e>(t);
1242 template <>
inline snoop_e into<snoop_e>(
typename std::underlying_type<snoop_e>::type t) {
1243 assert(t <=
static_cast<std::underlying_type<snoop_e>::type
>(snoop_e::WRITE_NO_SNOOP));
1244 return static_cast<snoop_e>(t);
1247 template <>
inline resp_e into<resp_e>(
typename std::underlying_type<resp_e>::type t) {
1248 assert(t <=
static_cast<std::underlying_type<resp_e>::type
>(resp_e::DECERR));
1249 return static_cast<resp_e>(t);
1261 uint8_t t =
to_int(lock);
1266 lock = into<lock_e>(t);
1270 uint8_t t =
to_int(lock);
1271 return (t & EXCL) != 0;
1275 uint8_t t =
to_int(lock);
1280 lock = into<lock_e>(t);
1284 uint8_t t =
to_int(lock);
1285 return (t & LOCKED) != 0;
1290 cache |= BUFFERABLE;
1292 cache &= ~BUFFERABLE;
1301 cache &= ~CACHEABLE;
1330 cache |= BUFFERABLE;
1332 cache &= ~BUFFERABLE;
1341 cache &= ~CACHEABLE;
1367 burst = burst_e::FIXED;
1371 domain = domain_e::NON_SHAREABLE;
1372 snoop = snoop_e::READ_NO_SNOOP;
1373 barrier = bar_e::RESPECT_BARRIER;
1374 lock = lock_e::NORMAL;
1403 prot &= ~PRIVILEGED;
1419 prot &= ~INSTRUCTION;
1421 prot |= INSTRUCTION;
1436 this->cache = cache;
1477 case tlm::TLM_OK_RESPONSE:
1478 return resp_e::OKAY;
1479 case tlm::TLM_INCOMPLETE_RESPONSE:
1480 case tlm::TLM_ADDRESS_ERROR_RESPONSE:
1481 return resp_e::DECERR;
1483 return resp_e::SLVERR;
1488 switch(
to_int(resp) & 0x3) {
1489 case to_int(resp_e::OKAY):
1490 return tlm::TLM_OK_RESPONSE;
1491 case to_int(resp_e::EXOKAY):
1492 return tlm::TLM_OK_RESPONSE;
1493 case to_int(resp_e::DECERR):
1494 return tlm::TLM_ADDRESS_ERROR_RESPONSE;
1496 return tlm::TLM_GENERIC_ERROR_RESPONSE;
1503 switch(resp & 0x3) {
1505 return resp_e::OKAY;
1507 return resp_e::EXOKAY;
1509 return resp_e::SLVERR;
1511 return resp_e::DECERR;
1557 resp |= DATATRANSFER;
1559 resp &= ~DATATRANSFER;
1566 resp |= SNOOPEERROR;
1568 resp &= ~SNOOPEERROR;
1581 static_cast<common&
>(*this) = *ext;
1582 static_cast<REQ&
>(*this) = *ext;
1583 static_cast<response&
>(*this) = *ext;
1594 static_cast<REQ&
>(*this) = *control;
1599 response_arr.push_back(arr);
1602 template <
typename REQ,
typename RESP>
1604 return response_arr;
1608 return response_arr;
1611 template <
typename REQ,
typename RESP>
1613 response_array_complete = complete;
1617 return response_array_complete;
1625 static_cast<common&
>(*this) = *ext;
1627 static_cast<response&
>(*this) = *ext;
1635 static_cast<common&
>(*this) = *ext;
1637 static_cast<response&
>(*this) = *ext;
1643 auto const* ext =
dynamic_cast<const ace_extension*
>(&bext);
1645 static_cast<common&
>(*this) = *ext;
1647 static_cast<response&
>(*this) = *ext;
virtual void b_snoop(TRANS &trans, sc_core::sc_time &t)=0
snoop access to a snooped master
TLM2.0 components modeling AHB.
unsigned get_burst_length(const request &r)
tlm::tlm_generic_payload axi_payload
aliases for payload and phase types
E into(typename std::underlying_type< E >::type t)
@ MEMORY_BARRIER
Normal access, respecting barriers.
@ SYNCHRONISATION_BARRIER
Normal access, ignoring barriers.
@ IGNORE_BARRIER
Memory barrier.
const char * to_char(E t)
tlm::tlm_bw_transport_if< TYPES > axi_bw_transport_if
alias declaration for the backward interface:
DECLARE_EXTENDED_PHASE(BEGIN_PARTIAL_REQ)
tlm::tlm_fw_transport_if< TYPES > axi_fw_transport_if
alias declaration for the forward interface
constexpr ULT to_int(E t)
bool is_burst(const axi::axi_protocol_types::tlm_payload_type &trans)
unsigned get_burst_size(const request &r)
tlm::tlm_fw_transport_if< TYPES > ace_fw_transport_if
alias declaration for the ACE forward interface
ace_extension()=default
the default constructor
ace_extension(const ace_extension *o)
the copy constructor
tlm::tlm_extension_base * clone() const override
the clone function to create deep copies of
void copy_from(tlm::tlm_extension_base const &ext) override
deep copy all values from ext
tlm::tlm_base_initiator_socket< BUSWIDTH, ace_fw_transport_if< TYPES >, ace_bw_transport_if< TYPES >, N, POL > base_type
base type alias
const char * kind() const override
get the kind of this sc_object
ace_initiator_socket(const char *name)
constructor with instance name
ace_initiator_socket()
default constructor using a generated instance name
void set_snoop_was_unique(bool=true)
set the response status bit WasUnique
bool is_snoop_data_transfer() const
check the response status bit DataTransfer
void set_cresp(uint8_t)
set the coherent response status
bool is_snoop_was_unique() const
check the response status bit WasUnique
void set_snoop_error(bool=true)
set the response status bit Error
void set_pass_dirty(bool=true)
set the response status bit PassDirty
uint8_t get_cresp() const
get the coherent response status
bool is_pass_dirty() const
check the response status bit PassDirty (CRESP[2])
bool is_shared() const
check the response status bit IsShared (CRESP[3])
void set_shared(bool=true)
set the response status bit IsShared
bool is_snoop_error() const
check the response status bit Error
void set_snoop_data_transfer(bool=true)
set the response status bit DataTransfer
ace_target_socket()
default constructor using a generated instance name
const char * kind() const override
get the kind of this sc_object
tlm::tlm_base_target_socket< BUSWIDTH, ace_fw_transport_if< TYPES >, ace_bw_transport_if< TYPES >, N, POL > base_type
base type alias
ace_target_socket(const char *name)
constructor with instance name
void set_barrier(bar_e)
set the AxBAR value
bool get_unique() const
get the AxUNIQUE value return the unique value
void set_domain(domain_e)
set the AxDOMAIN value
bar_e get_barrier() const
get the AxBAR value return the barrier value
void set_unique(bool)
set the AxUNIQUE value
ace & operator=(const ace &o)
snoop_e get_snoop() const
get the AxSNOOP value return the snoop value
domain_e get_domain() const
get the AxDOMAIN value return the domain value
void set_snoop(snoop_e)
set the AxSNOOP value
axi3_extension(const axi3_extension *o)
the copy constructor
tlm::tlm_extension_base * clone() const override
the clone function to create deep copies of
axi3_extension()=default
the default constructor
void copy_from(tlm::tlm_extension_base const &ext) override
deep copy all values from ext
bool is_bufferable() const
get the bufferable bit of AxCACHE (AxCACHE[0]) return the bufferable bit
void set_cacheable(bool=true)
set the cacheable bit of AxCACHE (AxCACHE[1])
void set_write_allocate(bool=true)
set the write_allocate bit of AxCACHE (AxCACHE[2])
bool is_read_allocate() const
get the read_allocate bit of AxCACHE (AxCACHE[3]) return the read_allocate bit
void set_locked(bool=true)
get the locked bit of AxLOCK (AxLOCK[1])
axi3 & operator=(const axi3 &o)
void set_exclusive(bool=true)
get the exclusive bit of AxLOCK (AxLOCK[0])
void set_read_allocate(bool=true)
set the read_allocate bit of AxCACHE (AxCACHE[3])
void set_bufferable(bool=true)
set the bufferable bit of AxCACHE (AxCACHE[0])
bool is_exclusive() const
get the exclusive bit of AxLOCK (AxLOCK[0]) return the exclusive bit
bool is_write_allocate() const
get the write_allocate bit of AxCACHE (AxCACHE[2]) return the write_allocate bit
bool is_cacheable() const
get the cacheable bit of AxCACHE (AxCACHE[1]) return the cacheable bit
bool is_locked() const
get the locked bit of AxLOCK (AxLOCK[1]) return the locked bit
axi4_extension()=default
the default constructor
axi4_extension(const axi4_extension *o)
the copy constructor
void copy_from(tlm::tlm_extension_base const &ext) override
deep copy all values from ext
tlm::tlm_extension_base * clone() const override
the clone function to create deep copies of
bool is_modifiable() const
get the modifiable bit of AxCACHE (AxCACHE[1]) return the modifiable bit
axi4 & operator=(const axi4 &o)
void set_exclusive(bool=true)
get the exclusive bit of AxLOCK (AxLOCK[0])
void set_modifiable(bool=true)
set the modifiable bit of AxCACHE (AxCACHE[1])
void set_read_other_allocate(bool=true)
set the read allocate/write other allocate bit of AxCACHE (AxCACHE[2])
bool is_bufferable() const
get the bufferable bit of AxCACHE (AxCACHE[0]) return the bufferable bit
bool is_exclusive() const
get the exclusive bit of AxLOCK (AxLOCK[0]) return the exclusive bit
bool is_write_other_allocate() const
get the write allocate/read other allocate bit of AxCACHE (AxCACHE[3]) return the write_other_allocat...
bool is_read_other_allocate() const
get the read allocate/write other allocate bit of AxCACHE (AxCACHE[2]) return the read_other_allocate...
void set_write_other_allocate(bool=true)
set the write allocate/read other allocate bit of AxCACHE (AxCACHE[3])
void set_bufferable(bool=true)
set the bufferable bit of AxCACHE (AxCACHE[0])
bool is_response_array_complete()
axi_extension(const axi_extension< REQ, RESP > *)
the copy constructor
axi_extension()=default
the default constructor
const std::vector< response > & get_response_array() const
return the read response array for constant instances
std::vector< response > & get_response_array()
return the read response array
void reset(const REQ *)
reset the common and response part, reset response using the given reset value
void set_response_array_complete(bool=true)
set the flag indicating the all read responses are collected
void add_to_response_array(response &)
add a read response to the response array
void reset()
reset all data member to their default
axi_initiator_socket()
default constructor using a generated instance name
axi_initiator_socket(const char *name)
constructor with instance name
const char * kind() const override
get the kind of this sc_object
tlm::tlm_base_initiator_socket< BUSWIDTH, axi_fw_transport_if< TYPES >, axi_bw_transport_if< TYPES >, N, POL > base_type
base type alias
The AXI protocol traits class. Since the protocoll defines additional non-ignorable phases a dedicate...
tlm::tlm_base_target_socket< BUSWIDTH, axi_fw_transport_if< TYPES >, axi_bw_transport_if< TYPES >, N, POL > base_type
base type alias
axi_target_socket(const char *name)
constructor with instance name
axi_target_socket()
default constructor using a generated instance name
const char * kind() const override
get the kind of this sc_object
void reset()
reset all data member to their default
void set_id(unsigned int value)
unsigned int get_user(id_type chnl) const
void set_user(id_type chnl, unsigned int value)
common & operator=(const common &o)
copy assignment operator
common()=default
the constructor
unsigned int get_id() const
void set_instruction(bool=true)
set the instruction bit of the AxPROT (AxPROT[2])
uint8_t get_atop() const
get the raw AWATOP value return the unique value
void set_length(uint8_t)
set the AxLEN value of the transaction, the value denotes the burst length - 1
bool is_stash_lpid_en() const
check if AWSTASHLPID is valid return the valid value
void set_qos(uint8_t)
set the AxQOS (quality of service) value
uint8_t get_stash_lpid() const
get the raw AWSTASHLPID value return the unique value
void set_cache(uint8_t)
set the AxCACHE value as POD, only value from 0..15 are allowed
request & operator=(const request &o)
void set_region(uint8_t)
set the AxREGION value
bool is_instruction() const
set the instruction bit of the AxPROT (AxPROT[2])
burst_e get_burst() const
get the AxBURST value,
uint8_t get_length() const
get the AxLEN value of the transaction, the value denotes the burst length - 1
bool is_privileged() const
get the privileged bit of the AxPROT (AxPROT[0])
void set_non_secure(bool=true)
set the non-secure bit of the AxPROT (AxPROT[1])
void set_stash_lpid(uint8_t)
set the raw AWSTASHLPID value
void set_burst(burst_e)
set the AxBURST value,
bool is_non_secure() const
set the non-secure bit of the AxPROT (AxPROT[1])
uint8_t get_region() const
get the AxREGION value
void set_privileged(bool=true)
set the privileged bit of the AxPROT (AxPROT[0])
bool is_stash_nid_en() const
check if AWSTASHNID is valid return the valid value
void reset()
reset all data member to their default
uint8_t get_qos() const
get the AxQOS (quality of service) value
uint8_t get_stash_nid() const
get the raw AWSTASHNID value return the unique value
void set_atop(uint8_t)
set the raw AWATOP value
void set_size(uint8_t)
get the AxSIZE value of the transaction, the length is 2^size. It needs to be less than 10 (512 bit w...
request()=default
the default constructor
uint8_t get_cache() const
get the AxCACHE value as POD
uint8_t get_prot() const
set the AxPROT value as POD, only values from 0...7 are allowed
void set_prot(uint8_t)
set the AxPROT value as POD, only values from 0...7 are allowed
void set_stash_nid(uint8_t)
set the raw AWSTASHNID value
uint8_t get_size() const
set the AxSIZE value of the transaction
resp_e get_resp() const
get the response status as POD
void set_okay()
set the response status to OKAY
void set_decerr()
set the response status to DECERR
bool is_decerr() const
check if the response status is DECERR
void set_resp(resp_e)
set the response status as POD
bool is_exokay() const
check if the response status is EXOKAY
bool is_slverr() const
check if the response status is SLVERR
void set_slverr()
set the response status to SLVERR
bool is_okay() const
check if the response status is OKAY
response & operator=(const response &o)
assignment operator
void reset()
reset all data member to their default
static tlm::tlm_response_status to_tlm_response_status(resp_e)
converts a
void set_exokay()
set the response status to EXOKAY
static resp_e from_tlm_response_status(tlm::tlm_response_status)
converts the response status of a generic payload to a