Public メソッド | |
wif_sc_fxnum_trace (const sc_dt::sc_fxnum &object_, const std::string &name_, const std::string &wif_name_) | |
void | write (FILE *f) |
bool | changed () |
void | set_width () |
Protected 変数 | |
const sc_dt::sc_fxnum & | object |
sc_dt::sc_fxnum | old_value |
sc_wif_trace.cpp の 716 行で定義されています。
sc_core::wif_sc_fxnum_trace::wif_sc_fxnum_trace | ( | const sc_dt::sc_fxnum & | object_, | |
const std::string & | name_, | |||
const std::string & | wif_name_ | |||
) |
void sc_core::wif_sc_fxnum_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 755 行で定義されています。
00756 { 00757 char buf[1000], *buf_ptr = buf; 00758 00759 int bitindex; 00760 for( bitindex = object.wl() - 1; bitindex >= 0; -- bitindex ) 00761 { 00762 *buf_ptr ++ = "01"[(object)[bitindex]]; 00763 } 00764 *buf_ptr = '\0'; 00765 00766 std::fprintf( f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf ); 00767 old_value = object; 00768 }
bool sc_core::wif_sc_fxnum_trace::changed | ( | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 749 行で定義されています。
00750 { 00751 return object != old_value; 00752 }
void sc_core::wif_sc_fxnum_trace::set_width | ( | ) | [virtual] |
sc_core::wif_traceを再定義しています。
sc_wif_trace.cpp の 771 行で定義されています。
00772 { 00773 bit_width = object.wl(); 00774 }
const sc_dt::sc_fxnum& sc_core::wif_sc_fxnum_trace::object [protected] |
sc_wif_trace.cpp の 729 行で定義されています。
sc_wif_trace.cpp の 730 行で定義されています。