Public メソッド | |
wif_sc_fxnum_fast_trace (const sc_dt::sc_fxnum_fast &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_fast & | object |
sc_dt::sc_fxnum_fast | old_value |
sc_wif_trace.cpp の 778 行で定義されています。
sc_core::wif_sc_fxnum_fast_trace::wif_sc_fxnum_fast_trace | ( | const sc_dt::sc_fxnum_fast & | object_, | |
const std::string & | name_, | |||
const std::string & | wif_name_ | |||
) |
void sc_core::wif_sc_fxnum_fast_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 818 行で定義されています。
00819 { 00820 char buf[1000], *buf_ptr = buf; 00821 00822 int bitindex; 00823 for( bitindex = object.wl() - 1; bitindex >= 0; -- bitindex ) 00824 { 00825 *buf_ptr ++ = "01"[(object)[bitindex]]; 00826 } 00827 *buf_ptr = '\0'; 00828 00829 std::fprintf( f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf ); 00830 old_value = object; 00831 }
bool sc_core::wif_sc_fxnum_fast_trace::changed | ( | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 812 行で定義されています。
00813 { 00814 return object != old_value; 00815 }
void sc_core::wif_sc_fxnum_fast_trace::set_width | ( | ) | [virtual] |
sc_core::wif_traceを再定義しています。
sc_wif_trace.cpp の 834 行で定義されています。
00835 { 00836 bit_width = object.wl(); 00837 }
const sc_dt::sc_fxnum_fast& sc_core::wif_sc_fxnum_fast_trace::object [protected] |
sc_wif_trace.cpp の 791 行で定義されています。
sc_wif_trace.cpp の 792 行で定義されています。