Public メソッド | |
vcd_sc_fxnum_trace (const sc_dt::sc_fxnum &object, const std::string &name_, const std::string &vcd_name_) | |
void | write (FILE *f) |
bool | changed () |
void | set_width () |
Protected 変数 | |
const sc_dt::sc_fxnum & | object |
sc_dt::sc_fxnum | old_value |
sc_vcd_trace.cpp の 743 行で定義されています。
sc_core::vcd_sc_fxnum_trace::vcd_sc_fxnum_trace | ( | const sc_dt::sc_fxnum & | object, | |
const std::string & | name_, | |||
const std::string & | vcd_name_ | |||
) |
sc_vcd_trace.cpp の 761 行で定義されています。
00764 : vcd_trace( name_, vcd_name_ ), 00765 object( object_ ), 00766 old_value( object_.m_params.type_params(), 00767 object_.m_params.enc(), 00768 object_.m_params.cast_switch(), 00769 0 ) 00770 { 00771 vcd_var_typ_name = "wire"; 00772 old_value = object; 00773 }
void sc_core::vcd_sc_fxnum_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::vcd_traceを実装しています。
sc_vcd_trace.cpp の 782 行で定義されています。
00783 { 00784 char rawdata[1000], *rawdata_ptr = rawdata; 00785 char compdata[1000]; 00786 00787 int bitindex; 00788 for( bitindex = object.wl() - 1; bitindex >= 0; -- bitindex ) 00789 { 00790 *rawdata_ptr ++ = "01"[(object)[bitindex]]; 00791 } 00792 *rawdata_ptr = '\0'; 00793 compose_data_line( rawdata, compdata ); 00794 00795 std::fputs( compdata, f ); 00796 old_value = object; 00797 }
bool sc_core::vcd_sc_fxnum_trace::changed | ( | ) | [virtual] |
sc_core::vcd_traceを実装しています。
sc_vcd_trace.cpp の 776 行で定義されています。
00777 { 00778 return object != old_value; 00779 }
void sc_core::vcd_sc_fxnum_trace::set_width | ( | ) | [virtual] |
sc_core::vcd_traceを再定義しています。
sc_vcd_trace.cpp の 800 行で定義されています。
00801 { 00802 bit_width = object.wl(); 00803 }
const sc_dt::sc_fxnum& sc_core::vcd_sc_fxnum_trace::object [protected] |
sc_vcd_trace.cpp の 756 行で定義されています。
sc_vcd_trace.cpp の 757 行で定義されています。