#include <sc_unsigned.h>
Public メソッド | |
virtual | ~sc_unsigned_subref_r () |
sc_unsigned_subref_r (const sc_unsigned_subref_r &a) | |
int | length () const |
operator sc_unsigned () const | |
int | to_int () const |
unsigned int | to_uint () const |
long | to_long () const |
unsigned long | to_ulong () const |
int64 | to_int64 () const |
uint64 | to_uint64 () const |
double | to_double () const |
const std::string | to_string (sc_numrep numrep=SC_DEC) const |
const std::string | to_string (sc_numrep numrep, bool w_prefix) const |
virtual int | concat_length (bool *xz_present_p) const |
virtual uint64 | concat_get_uint64 () const |
virtual bool | concat_get_ctrl (sc_digit *dst_p, int low_i) const |
virtual bool | concat_get_data (sc_digit *dst_p, int low_i) const |
bool | and_reduce () const |
bool | nand_reduce () const |
bool | or_reduce () const |
bool | nor_reduce () const |
bool | xor_reduce () const |
bool | xnor_reduce () const |
void | print (::std::ostream &os=::std::cout) const |
Protected メソッド | |
sc_unsigned_subref_r () | |
void | initialize (const sc_unsigned *obj_p, int left_, int right_) |
Protected 変数 | |
int | m_left |
sc_unsigned * | m_obj_p |
int | m_right |
Private メソッド | |
const sc_unsigned_subref_r & | operator= (const sc_unsigned_subref_r &) |
フレンド | |
class | sc_signed |
class | sc_unsigned |
class | sc_unsigned_signal |
sc_unsigned.h の 782 行で定義されています。
sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r | ( | ) | [inline, protected] |
virtual sc_dt::sc_unsigned_subref_r::~sc_unsigned_subref_r | ( | ) | [inline, virtual] |
sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r | ( | const sc_unsigned_subref_r & | a | ) | [inline] |
void sc_dt::sc_unsigned_subref_r::initialize | ( | const sc_unsigned * | obj_p, | |
int | left_, | |||
int | right_ | |||
) | [inline, protected] |
sc_unsigned.h の 795 行で定義されています。
00796 { 00797 m_obj_p = CCAST<sc_unsigned*>( obj_p ); 00798 m_left = left_; 00799 m_right = right_; 00800 }
int sc_dt::sc_unsigned_subref_r::length | ( | ) | const [inline] |
sc_dt::sc_unsigned_subref_r::operator sc_unsigned | ( | ) | const |
sc_unsigned.cpp の 6097 行で定義されています。
int sc_dt::sc_unsigned_subref_r::to_int | ( | ) | const |
sc_unsigned.cpp の 6106 行で定義されています。
unsigned int sc_dt::sc_unsigned_subref_r::to_uint | ( | ) | const |
sc_unsigned.cpp の 6113 行で定義されています。
long sc_dt::sc_unsigned_subref_r::to_long | ( | ) | const |
sc_unsigned.cpp の 6120 行で定義されています。
unsigned long sc_dt::sc_unsigned_subref_r::to_ulong | ( | ) | const |
sc_unsigned.cpp の 6127 行で定義されています。
int64 sc_dt::sc_unsigned_subref_r::to_int64 | ( | ) | const |
sc_unsigned.cpp の 6134 行で定義されています。
uint64 sc_dt::sc_unsigned_subref_r::to_uint64 | ( | ) | const |
sc_unsigned.cpp の 6141 行で定義されています。
double sc_dt::sc_unsigned_subref_r::to_double | ( | ) | const |
sc_unsigned.cpp の 6148 行で定義されています。
const std::string sc_dt::sc_unsigned_subref_r::to_string | ( | sc_numrep | numrep = SC_DEC |
) | const |
sc_unsigned.cpp の 6158 行で定義されています。
const std::string sc_dt::sc_unsigned_subref_r::to_string | ( | sc_numrep | numrep, | |
bool | w_prefix | |||
) | const |
sc_unsigned.cpp の 6166 行で定義されています。
virtual int sc_dt::sc_unsigned_subref_r::concat_length | ( | bool * | xz_present_p | ) | const [inline, virtual] |
uint64 sc_dt::sc_unsigned_subref_r::concat_get_uint64 | ( | ) | const [virtual] |
bool sc_dt::sc_unsigned_subref_r::concat_get_ctrl | ( | sc_digit * | dst_p, | |
int | low_i | |||
) | const [virtual] |
bool sc_dt::sc_unsigned_subref_r::concat_get_data | ( | sc_digit * | dst_p, | |
int | low_i | |||
) | const [virtual] |
bool sc_dt::sc_unsigned_subref_r::and_reduce | ( | ) | const [inline] |
sc_unsigned.h の 2047 行で定義されています。
02048 { 02049 const sc_unsigned* target_p = m_obj_p; 02050 for ( int i = m_right; i <= m_left; i++ ) 02051 if ( !target_p->test(i) ) return false; 02052 return true; 02053 }
bool sc_dt::sc_unsigned_subref_r::nand_reduce | ( | ) | const [inline] |
bool sc_dt::sc_unsigned_subref_r::or_reduce | ( | ) | const [inline] |
sc_unsigned.h の 2060 行で定義されています。
02061 { 02062 const sc_unsigned* target_p = m_obj_p; 02063 for ( int i = m_right; i <= m_left; i++ ) 02064 if ( target_p->test(i) ) return true; 02065 return false; 02066 }
bool sc_dt::sc_unsigned_subref_r::nor_reduce | ( | ) | const [inline] |
bool sc_dt::sc_unsigned_subref_r::xor_reduce | ( | ) | const [inline] |
sc_unsigned.h の 2073 行で定義されています。
02074 { 02075 int odd; 02076 const sc_unsigned* target_p = m_obj_p; 02077 odd = 0; 02078 for ( int i = m_right; i <= m_left; i++ ) 02079 if ( target_p->test(i) ) odd = ~odd; 02080 return odd ? true : false; 02081 }
bool sc_dt::sc_unsigned_subref_r::xnor_reduce | ( | ) | const [inline] |
void sc_dt::sc_unsigned_subref_r::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline] |
sc_unsigned.h の 867 行で定義されています。
00868 { os << to_string(sc_io_base(os,SC_DEC),sc_io_show_base(os)); }
const sc_unsigned_subref_r& sc_dt::sc_unsigned_subref_r::operator= | ( | const sc_unsigned_subref_r & | ) | [private] |
sc_dt::sc_unsigned_subrefで再定義されています。
friend class sc_signed [friend] |
sc_unsigned.h の 784 行で定義されています。
friend class sc_unsigned [friend] |
friend class sc_unsigned_signal [friend] |
sc_unsigned.h の 786 行で定義されています。
int sc_dt::sc_unsigned_subref_r::m_left [protected] |
sc_unsigned.h の 872 行で定義されています。
sc_unsigned* sc_dt::sc_unsigned_subref_r::m_obj_p [protected] |
sc_unsigned.h の 873 行で定義されています。
int sc_dt::sc_unsigned_subref_r::m_right [protected] |
sc_unsigned.h の 874 行で定義されています。