SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::sc_fxtype_params Class Reference

Fixed-point type parameters class. More...

#include <sysc/datatypes/fx/sc_fxtype_params.h>

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
 

Friends

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

Detailed Description

Fixed-point type parameters class.

Definition at line 70 of file sc_fxtype_params.h.

Constructor & Destructor Documentation

◆ sc_fxtype_params() [1/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( )
inline

Definition at line 144 of file sc_fxtype_params.h.

◆ sc_fxtype_params() [2/8]

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

Definition at line 151 of file sc_fxtype_params.h.

◆ 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

Definition at line 162 of file sc_fxtype_params.h.

◆ 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 175 of file sc_fxtype_params.h.

◆ sc_fxtype_params() [5/8]

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

Definition at line 190 of file sc_fxtype_params.h.

◆ 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 197 of file sc_fxtype_params.h.

◆ 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 205 of file sc_fxtype_params.h.

◆ sc_fxtype_params() [8/8]

sc_dt::sc_fxtype_params::sc_fxtype_params ( sc_without_context  )
inlineexplicit

Definition at line 214 of file sc_fxtype_params.h.

Member Function Documentation

◆ dump()

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

◆ iwl() [1/2]

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

Definition at line 280 of file sc_fxtype_params.h.

◆ iwl() [2/2]

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

Definition at line 287 of file sc_fxtype_params.h.

◆ n_bits() [1/2]

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

Definition at line 325 of file sc_fxtype_params.h.

◆ n_bits() [2/2]

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

Definition at line 332 of file sc_fxtype_params.h.

◆ o_mode() [1/2]

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

Definition at line 310 of file sc_fxtype_params.h.

◆ o_mode() [2/2]

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

Definition at line 317 of file sc_fxtype_params.h.

◆ operator=()

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

Definition at line 225 of file sc_fxtype_params.h.

◆ print()

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

◆ q_mode() [1/2]

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

Definition at line 295 of file sc_fxtype_params.h.

◆ q_mode() [2/2]

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

Definition at line 302 of file sc_fxtype_params.h.

◆ to_string()

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

◆ wl() [1/2]

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

Definition at line 264 of file sc_fxtype_params.h.

◆ wl() [2/2]

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

Definition at line 271 of file sc_fxtype_params.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 252 of file sc_fxtype_params.h.

◆ operator==

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

Definition at line 241 of file sc_fxtype_params.h.


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