Public メソッド | |
wif_sc_int_base_trace (const sc_dt::sc_int_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_int_base & | object |
sc_dt::sc_int_base | old_value |
sc_wif_trace.cpp の 578 行で定義されています。
sc_core::wif_sc_int_base_trace::wif_sc_int_base_trace | ( | const sc_dt::sc_int_base & | object_, | |
const std::string & | name_, | |||
const std::string & | wif_name_ | |||
) |
void sc_core::wif_sc_int_base_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 607 行で定義されています。
00608 { 00609 char buf[1000], *buf_ptr = buf; 00610 00611 int bitindex; 00612 for(bitindex = object.length() - 1; bitindex >= 0; --bitindex) { 00613 *buf_ptr++ = "01"[(object)[bitindex]]; 00614 } 00615 *buf_ptr = '\0'; 00616 00617 std::fprintf(f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf); 00618 old_value = object; 00619 }
bool sc_core::wif_sc_int_base_trace::changed | ( | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 602 行で定義されています。
00603 { 00604 return object != old_value; 00605 }
void sc_core::wif_sc_int_base_trace::set_width | ( | ) | [virtual] |
sc_core::wif_traceを再定義しています。
sc_wif_trace.cpp の 621 行で定義されています。
00622 { 00623 bit_width = object.length(); 00624 }
const sc_dt::sc_int_base& sc_core::wif_sc_int_base_trace::object [protected] |
sc_wif_trace.cpp の 588 行で定義されています。
sc_wif_trace.cpp の 589 行で定義されています。