Public メソッド | |
wif_sc_signed_trace (const sc_dt::sc_signed &object_, const std::string &name_, const std::string &wif_name_) | |
void | write (FILE *f) |
bool | changed () |
void | set_width () |
Protected 変数 | |
const sc_dt::sc_signed & | object |
sc_dt::sc_signed | old_value |
sc_wif_trace.cpp の 477 行で定義されています。
sc_core::wif_sc_signed_trace::wif_sc_signed_trace | ( | const sc_dt::sc_signed & | object_, | |
const std::string & | name_, | |||
const std::string & | wif_name_ | |||
) |
void sc_core::wif_sc_signed_trace::write | ( | FILE * | f | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 506 行で定義されています。
00507 { 00508 char buf[1000], *buf_ptr = buf; 00509 00510 int bitindex; 00511 for(bitindex = object.length() - 1; bitindex >= 0; --bitindex) { 00512 *buf_ptr++ = "01"[(object)[bitindex]]; 00513 } 00514 *buf_ptr = '\0'; 00515 00516 std::fprintf(f, "assign %s \"%s\" ;\n", wif_name.c_str(), buf); 00517 old_value = object; 00518 }
bool sc_core::wif_sc_signed_trace::changed | ( | ) | [virtual] |
sc_core::wif_traceを実装しています。
sc_wif_trace.cpp の 501 行で定義されています。
00502 { 00503 return object != old_value; 00504 }
void sc_core::wif_sc_signed_trace::set_width | ( | ) | [virtual] |
sc_core::wif_traceを再定義しています。
sc_wif_trace.cpp の 520 行で定義されています。
00521 { 00522 bit_width = object.length(); 00523 }
const sc_dt::sc_signed& sc_core::wif_sc_signed_trace::object [protected] |
sc_wif_trace.cpp の 487 行で定義されています。
sc_wif_trace.cpp の 488 行で定義されています。