Public メソッド | |
wif_sc_uint_base_trace (const sc_dt::sc_uint_base &object_, const std::string &name_, const std::string &wif_name_) | |
void | write (FILE *f) |
bool | changed () |
void | set_width () |
Protected 変数 | |
const sc_dt::sc_uint_base & | object |
sc_dt::sc_uint_base | old_value |
sc_wif_trace.cpp の 527 行で定義されています。
sc_core::wif_sc_uint_base_trace::wif_sc_uint_base_trace | ( | const sc_dt::sc_uint_base & | object_, | |
const std::string & | name_, | |||
const std::string & | wif_name_ | |||
) |
void sc_core::wif_sc_uint_base_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 557 行で定義されています。
00558 { 00559 char buf[1000], *buf_ptr = buf; 00560 00561 int bitindex; 00562 for(bitindex = object.length() - 1; bitindex >= 0; --bitindex) { 00563 *buf_ptr++ = "01"[(object)[bitindex]]; 00564 } 00565 *buf_ptr = '\0'; 00566 std::fprintf(f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf); 00567 old_value = object; 00568 }
bool sc_core::wif_sc_uint_base_trace::changed | ( | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 552 行で定義されています。
00553 { 00554 return object != old_value; 00555 }
void sc_core::wif_sc_uint_base_trace::set_width | ( | ) | [virtual] |
sc_core::wif_traceを再定義しています。
sc_wif_trace.cpp の 570 行で定義されています。
00571 { 00572 bit_width = object.length(); 00573 }
const sc_dt::sc_uint_base& sc_core::wif_sc_uint_base_trace::object [protected] |
sc_wif_trace.cpp の 537 行で定義されています。
sc_wif_trace.cpp の 538 行で定義されています。