ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Public Member Functions | Public Attributes | Friends | List of all members
SSelectorIO< DWIDTH, SEL_MAX > Struct Template Reference

#include <memu.h>

Public Member Functions

 SSelectorIO (sc_uint< DWIDTH > _dat=0, sc_uint< NUM_BITS(SEL_MAX)> _sel=0, bool _sel_valid=0)
 
bool operator== (const SSelectorIO &t)
 

Public Attributes

sc_uint< DWIDTH > dat
 
sc_uint< NUM_BITS(SEL_MAX)> sel
 
bool sel_valid
 

Friends

ostream & operator<< (ostream &o, const SSelectorIO &t)
 
void sc_trace (sc_trace_file *tf, const SSelectorIO &t, const std::string &name)
 

Constructor & Destructor Documentation

◆ SSelectorIO()

template<int DWIDTH = 1, int SEL_MAX = 1>
SSelectorIO< DWIDTH, SEL_MAX >::SSelectorIO ( sc_uint< DWIDTH >  _dat = 0,
sc_uint< NUM_BITS(SEL_MAX)>  _sel = 0,
bool  _sel_valid = 0 
)
inline

Member Function Documentation

◆ operator==()

template<int DWIDTH = 1, int SEL_MAX = 1>
bool SSelectorIO< DWIDTH, SEL_MAX >::operator== ( const SSelectorIO< DWIDTH, SEL_MAX > &  t)
inline

Friends And Related Function Documentation

◆ operator<<

template<int DWIDTH = 1, int SEL_MAX = 1>
ostream& operator<< ( ostream &  o,
const SSelectorIO< DWIDTH, SEL_MAX > &  t 
)
friend

◆ sc_trace

template<int DWIDTH = 1, int SEL_MAX = 1>
void sc_trace ( sc_trace_file *  tf,
const SSelectorIO< DWIDTH, SEL_MAX > &  t,
const std::string &  name 
)
friend

Member Data Documentation

◆ dat

template<int DWIDTH = 1, int SEL_MAX = 1>
sc_uint<DWIDTH> SSelectorIO< DWIDTH, SEL_MAX >::dat

◆ sel

template<int DWIDTH = 1, int SEL_MAX = 1>
sc_uint<NUM_BITS(SEL_MAX)> SSelectorIO< DWIDTH, SEL_MAX >::sel

◆ sel_valid

template<int DWIDTH = 1, int SEL_MAX = 1>
bool SSelectorIO< DWIDTH, SEL_MAX >::sel_valid

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