scc  2022.4.0
SystemC components library
axi::ace_response Struct Reference

#include <axi_tlm.h>

Inheritance diagram for axi::ace_response:
Collaboration diagram for axi::ace_response:

Public Member Functions

void set_cresp (uint8_t)
 set the coherent response status More...
 
uint8_t get_cresp () const
 get the coherent response status More...
 
bool is_pass_dirty () const
 check the response status bit PassDirty (CRESP[2]) More...
 
void set_pass_dirty (bool=true)
 set the response status bit PassDirty More...
 
bool is_shared () const
 check the response status bit IsShared (CRESP[3]) More...
 
void set_shared (bool=true)
 set the response status bit IsShared More...
 
bool is_snoop_data_transfer () const
 check the response status bit DataTransfer More...
 
void set_snoop_data_transfer (bool=true)
 set the response status bit DataTransfer More...
 
bool is_snoop_error () const
 check the response status bit Error More...
 
void set_snoop_error (bool=true)
 set the response status bit Error More...
 
bool is_snoop_was_unique () const
 check the response status bit WasUnique More...
 
void set_snoop_was_unique (bool=true)
 set the response status bit WasUnique More...
 
- Public Member Functions inherited from axi::response
responseoperator= (const response &o)
 assignment operator More...
 
void reset ()
 reset all data member to their default
 
void set_resp (resp_e)
 set the response status as POD More...
 
resp_e get_resp () const
 get the response status as POD More...
 
bool is_okay () const
 check if the response status is OKAY More...
 
void set_okay ()
 set the response status to OKAY
 
bool is_exokay () const
 check if the response status is EXOKAY More...
 
void set_exokay ()
 set the response status to EXOKAY
 
bool is_slverr () const
 check if the response status is SLVERR More...
 
void set_slverr ()
 set the response status to SLVERR
 
bool is_decerr () const
 check if the response status is DECERR More...
 
void set_decerr ()
 set the response status to DECERR
 

Additional Inherited Members

- Static Public Member Functions inherited from axi::response
static resp_e from_tlm_response_status (tlm::tlm_response_status)
 converts the response status of a generic payload to a More...
 
static tlm::tlm_response_status to_tlm_response_status (resp_e)
 converts a More...
 
- Protected Types inherited from axi::response
enum  {
  DATATRANSFER = 1 , SNOOPEERROR = 2 , PASSDIRTY = 4 , ISSHARED = 8 ,
  WASUNIQUE = 16
}
 
- Protected Attributes inherited from axi::response
uint8_t resp {static_cast<uint8_t>(resp_e::OKAY)}
 

Detailed Description

the response status of an ACE and SNOOP transaction extending the AXI one

Definition at line 683 of file axi_tlm.h.

Member Function Documentation

◆ get_cresp()

uint8_t axi::ace_response::get_cresp ( ) const
inline

get the coherent response status

Returns
the status

Definition at line 1533 of file axi_tlm.h.

◆ is_pass_dirty()

bool axi::ace_response::is_pass_dirty ( ) const
inline

check the response status bit PassDirty (CRESP[2])

Returns
true if the status was pass dirty

Definition at line 1535 of file axi_tlm.h.

◆ is_shared()

bool axi::ace_response::is_shared ( ) const
inline

check the response status bit IsShared (CRESP[3])

Returns
true if the status was shared

Definition at line 1544 of file axi_tlm.h.

◆ is_snoop_data_transfer()

bool axi::ace_response::is_snoop_data_transfer ( ) const
inline

check the response status bit DataTransfer

Returns
true if there is data to be transfered

Definition at line 1553 of file axi_tlm.h.

◆ is_snoop_error()

bool axi::ace_response::is_snoop_error ( ) const
inline

check the response status bit Error

Returns
true if the was an error

Definition at line 1562 of file axi_tlm.h.

◆ is_snoop_was_unique()

bool axi::ace_response::is_snoop_was_unique ( ) const
inline

check the response status bit WasUnique

Returns
true if the access was unique

Definition at line 1571 of file axi_tlm.h.

◆ set_cresp()

void axi::ace_response::set_cresp ( uint8_t  resp)
inline

set the coherent response status

Parameters
thestatus

Definition at line 1531 of file axi_tlm.h.

◆ set_pass_dirty()

void axi::ace_response::set_pass_dirty ( bool  dirty = true)
inline

set the response status bit PassDirty

Parameters
thepass dirty status

Definition at line 1537 of file axi_tlm.h.

◆ set_shared()

void axi::ace_response::set_shared ( bool  shared = true)
inline

set the response status bit IsShared

Parameters
theshared status

Definition at line 1546 of file axi_tlm.h.

◆ set_snoop_data_transfer()

void axi::ace_response::set_snoop_data_transfer ( bool  snoop_data = true)
inline

set the response status bit DataTransfer

Parameters
trueif there is data to be transfered false otherwise

Definition at line 1555 of file axi_tlm.h.

◆ set_snoop_error()

void axi::ace_response::set_snoop_error ( bool  err = true)
inline

set the response status bit Error

Parameters
trueif there is an error false otherwise

Definition at line 1564 of file axi_tlm.h.

◆ set_snoop_was_unique()

void axi::ace_response::set_snoop_was_unique ( bool  uniq = true)
inline

set the response status bit WasUnique

Parameters
theunique flag

Definition at line 1573 of file axi_tlm.h.


The documentation for this struct was generated from the following file: