scc  2022.4.0
SystemC components library
chi::common Struct Reference

#include <chi_tlm.h>

Public Member Functions

void reset ()
 
 common ()=default
 the constructori
 
commonoperator= (const common &o)
 reset all data member to their default More...
 
void set_txn_id (unsigned int)
 
unsigned int get_txn_id () const
 
void set_src_id (unsigned int)
 
unsigned int get_src_id () const
 
void set_qos (uint8_t qos)
 
unsigned int get_qos () const
 

Detailed Description

common : This structure contains common fields for all the 4 structures of 'request', 'snp_request', 'data' packet as well as 'response'

Definition at line 363 of file chi_tlm.h.

Member Function Documentation

◆ get_qos()

unsigned int chi::common::get_qos ( ) const
inline

get the chi qos value of a particular channel

Returns
chi qos value

Definition at line 1153 of file chi_tlm.h.

◆ get_src_id()

unsigned int chi::common::get_src_id ( ) const
inline

get the source id value of a particular channel

Returns
the SrcID

Definition at line 1145 of file chi_tlm.h.

◆ get_txn_id()

unsigned int chi::common::get_txn_id ( ) const
inline

get the transition id value of a particular channel

Returns
the TxnID

Definition at line 1137 of file chi_tlm.h.

◆ operator=()

common& chi::common::operator= ( const common o)
inline

reset all data member to their default

copy assignment operator

Parameters
o
Returns
reference to self

Definition at line 375 of file chi_tlm.h.

◆ set_qos()

void chi::common::set_qos ( uint8_t  qos)
inline

set the chi qos value of a particular channel

Parameters
chiqos value of the REQ,WDAT,RDAT and CRSP channel

Definition at line 1149 of file chi_tlm.h.

◆ set_src_id()

void chi::common::set_src_id ( unsigned int  src_id)
inline

set the source id value of REQ,WDAT,RDAT and CRSP a particular channel

Parameters
theTxnID of the channel

Definition at line 1141 of file chi_tlm.h.

◆ set_txn_id()

void chi::common::set_txn_id ( unsigned int  txn_id)
inline

set the transition id value of REQ,WDAT,RDAT and CRSP a particular channel

Parameters
theTxnID of the channel

Definition at line 1130 of file chi_tlm.h.


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