gem5  v22.1.0.0
Public Member Functions | Private Attributes | Friends | List of all members
sc_dt::sc_fxtype_params Class Reference

#include <sc_fxtype_params.hh>

Public Member Functions

 sc_fxtype_params ()
 
 sc_fxtype_params (int, int)
 
 sc_fxtype_params (sc_q_mode, sc_o_mode, int=0)
 
 sc_fxtype_params (int, int, sc_q_mode, sc_o_mode, int=0)
 
 sc_fxtype_params (const sc_fxtype_params &)
 
 sc_fxtype_params (const sc_fxtype_params &, int, int)
 
 sc_fxtype_params (const sc_fxtype_params &, sc_q_mode, sc_o_mode, int=0)
 
 sc_fxtype_params (sc_without_context)
 
sc_fxtype_paramsoperator= (const sc_fxtype_params &)
 
int wl () const
 
void wl (int)
 
int iwl () const
 
void iwl (int)
 
sc_q_mode q_mode () const
 
void q_mode (sc_q_mode)
 
sc_o_mode o_mode () const
 
void o_mode (sc_o_mode)
 
int n_bits () const
 
void n_bits (int)
 
const std::string to_string () const
 
void print (::std::ostream &=::std::cout) const
 
void dump (::std::ostream &=::std::cout) const
 

Private Attributes

int m_wl
 
int m_iwl
 
sc_q_mode m_q_mode
 
sc_o_mode m_o_mode
 
int m_n_bits
 

Friends

bool operator== (const sc_fxtype_params &, const sc_fxtype_params &)
 
bool operator!= (const sc_fxtype_params &, const sc_fxtype_params &)
 

Detailed Description

Definition at line 70 of file sc_fxtype_params.hh.

Constructor & Destructor Documentation

◆ sc_fxtype_params() [1/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( )
inline

Definition at line 136 of file sc_fxtype_params.hh.

References sc_dt::sc_context< T >::default_value().

◆ sc_fxtype_params() [2/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( int  wl_,
int  iwl_ 
)
inline

◆ sc_fxtype_params() [3/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( sc_q_mode  q_mode_,
sc_o_mode  o_mode_,
int  n_bits_ = 0 
)
inline

◆ sc_fxtype_params() [4/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( int  wl_,
int  iwl_,
sc_q_mode  q_mode_,
sc_o_mode  o_mode_,
int  n_bits_ = 0 
)
inline

Definition at line 164 of file sc_fxtype_params.hh.

References m_iwl, m_n_bits, m_o_mode, m_q_mode, m_wl, SC_CHECK_N_BITS_, and SC_CHECK_WL_.

◆ sc_fxtype_params() [5/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( const sc_fxtype_params a)
inline

Definition at line 177 of file sc_fxtype_params.hh.

◆ sc_fxtype_params() [6/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( const sc_fxtype_params a,
int  wl_,
int  iwl_ 
)
inline

Definition at line 182 of file sc_fxtype_params.hh.

◆ sc_fxtype_params() [7/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( const sc_fxtype_params a,
sc_q_mode  q_mode_,
sc_o_mode  o_mode_,
int  n_bits_ = 0 
)
inline

Definition at line 188 of file sc_fxtype_params.hh.

◆ sc_fxtype_params() [8/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( sc_without_context  )
inlineexplicit

Definition at line 195 of file sc_fxtype_params.hh.

Member Function Documentation

◆ dump()

void sc_dt::sc_fxtype_params::dump ( ::std::ostream &  os = ::std::cout) const

Definition at line 85 of file sc_fxtype_params.cc.

References m_iwl, m_n_bits, m_o_mode, m_q_mode, m_wl, and gem5::X86ISA::os.

Referenced by sc_dt::scfx_params::dump().

◆ iwl() [1/2]

int sc_dt::sc_fxtype_params::iwl ( ) const
inline

Definition at line 238 of file sc_fxtype_params.hh.

References m_iwl.

Referenced by sc_dt::scfx_params::fwl(), and sc_dt::scfx_params::iwl().

◆ iwl() [2/2]

void sc_dt::sc_fxtype_params::iwl ( int  iwl_)
inline

Definition at line 239 of file sc_fxtype_params.hh.

References m_iwl.

◆ n_bits() [1/2]

int sc_dt::sc_fxtype_params::n_bits ( ) const
inline

Definition at line 248 of file sc_fxtype_params.hh.

References m_n_bits.

Referenced by sc_dt::scfx_params::n_bits().

◆ n_bits() [2/2]

void sc_dt::sc_fxtype_params::n_bits ( int  n_bits_)
inline

Definition at line 250 of file sc_fxtype_params.hh.

References m_n_bits, and SC_CHECK_N_BITS_.

◆ o_mode() [1/2]

sc_o_mode sc_dt::sc_fxtype_params::o_mode ( ) const
inline

Definition at line 245 of file sc_fxtype_params.hh.

References m_o_mode.

Referenced by sc_dt::scfx_params::o_mode(), and sc_dt::scfx_params::scfx_params().

◆ o_mode() [2/2]

void sc_dt::sc_fxtype_params::o_mode ( sc_o_mode  o_mode_)
inline

Definition at line 246 of file sc_fxtype_params.hh.

References m_o_mode.

◆ operator=()

sc_fxtype_params & sc_dt::sc_fxtype_params::operator= ( const sc_fxtype_params a)
inline

Definition at line 202 of file sc_fxtype_params.hh.

References gem5::ArmISA::a, m_iwl, m_n_bits, m_o_mode, m_q_mode, and m_wl.

◆ print()

void sc_dt::sc_fxtype_params::print ( ::std::ostream &  os = ::std::cout) const

Definition at line 73 of file sc_fxtype_params.cc.

References m_iwl, m_n_bits, m_o_mode, m_q_mode, m_wl, and gem5::X86ISA::os.

Referenced by to_string().

◆ q_mode() [1/2]

sc_q_mode sc_dt::sc_fxtype_params::q_mode ( ) const
inline

Definition at line 242 of file sc_fxtype_params.hh.

References m_q_mode.

Referenced by sc_dt::scfx_params::q_mode().

◆ q_mode() [2/2]

void sc_dt::sc_fxtype_params::q_mode ( sc_q_mode  q_mode_)
inline

Definition at line 243 of file sc_fxtype_params.hh.

References m_q_mode.

◆ to_string()

const std::string sc_dt::sc_fxtype_params::to_string ( ) const

Definition at line 65 of file sc_fxtype_params.cc.

References print(), and ss.

◆ wl() [1/2]

int sc_dt::sc_fxtype_params::wl ( ) const
inline

Definition at line 230 of file sc_fxtype_params.hh.

References m_wl.

Referenced by sc_dt::scfx_params::fwl(), and sc_dt::scfx_params::wl().

◆ wl() [2/2]

void sc_dt::sc_fxtype_params::wl ( int  wl_)
inline

Definition at line 232 of file sc_fxtype_params.hh.

References m_wl, and SC_CHECK_WL_.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const sc_fxtype_params a,
const sc_fxtype_params b 
)
friend

Definition at line 223 of file sc_fxtype_params.hh.

◆ operator==

bool operator== ( const sc_fxtype_params a,
const sc_fxtype_params b 
)
friend

Definition at line 215 of file sc_fxtype_params.hh.

Member Data Documentation

◆ m_iwl

int sc_dt::sc_fxtype_params::m_iwl
private

Definition at line 111 of file sc_fxtype_params.hh.

Referenced by dump(), iwl(), operator=(), print(), and sc_fxtype_params().

◆ m_n_bits

int sc_dt::sc_fxtype_params::m_n_bits
private

Definition at line 114 of file sc_fxtype_params.hh.

Referenced by dump(), n_bits(), operator=(), print(), and sc_fxtype_params().

◆ m_o_mode

sc_o_mode sc_dt::sc_fxtype_params::m_o_mode
private

Definition at line 113 of file sc_fxtype_params.hh.

Referenced by dump(), o_mode(), operator=(), print(), and sc_fxtype_params().

◆ m_q_mode

sc_q_mode sc_dt::sc_fxtype_params::m_q_mode
private

Definition at line 112 of file sc_fxtype_params.hh.

Referenced by dump(), operator=(), print(), q_mode(), and sc_fxtype_params().

◆ m_wl

int sc_dt::sc_fxtype_params::m_wl
private

Definition at line 110 of file sc_fxtype_params.hh.

Referenced by dump(), operator=(), print(), sc_fxtype_params(), and wl().


The documentation for this class was generated from the following files:

Generated on Wed Dec 21 2022 10:25:09 for gem5 by doxygen 1.9.1