クラス sc_core::wif_trace

sc_core::wif_traceに対する継承グラフ

Inheritance graph
[凡例]

すべてのメンバ一覧

Public メソッド

 wif_trace (const std::string &name_, const std::string &wif_name_)
virtual void write (FILE *f)=0
virtual void set_width ()
virtual bool changed ()=0
virtual void print_variable_declaration_line (FILE *f)
virtual ~wif_trace ()

Public 変数

const std::string name
const std::string wif_name
const char * wif_type
int bit_width


説明

sc_wif_trace.cpp94 行で定義されています。


コンストラクタとデストラクタ

sc_core::wif_trace::wif_trace ( const std::string &  name_,
const std::string &  wif_name_ 
)

sc_wif_trace.cpp122 行で定義されています。

00124         : name(name_), wif_name(wif_name_), bit_width(-1)
00125 {
00126     /* Intentionally blank */
00127 }

sc_core::wif_trace::~wif_trace (  )  [virtual]

sc_wif_trace.cpp155 行で定義されています。

00156 {
00157     /* Intentionally Blank */
00158 }


関数

virtual void sc_core::wif_trace::write ( FILE *  f  )  [pure virtual]

void sc_core::wif_trace::set_width (  )  [virtual]

sc_core::wif_sc_unsigned_trace, sc_core::wif_sc_signed_trace, sc_core::wif_sc_uint_base_trace, sc_core::wif_sc_int_base_trace, sc_core::wif_sc_fxnum_trace, sc_core::wif_sc_fxnum_fast_trace, と sc_core::wif_T_trace< T >で再定義されています。

sc_wif_trace.cpp150 行で定義されています。

00151 {
00152     /* Intentionally Blank, should be defined for each type separately */
00153 }

virtual bool sc_core::wif_trace::changed (  )  [pure virtual]

void sc_core::wif_trace::print_variable_declaration_line ( FILE *  f  )  [virtual]

sc_core::wif_enum_traceで再定義されています。

sc_wif_trace.cpp130 行で定義されています。

00131 {
00132     char buf[2000];
00133 
00134     if( bit_width < 0 ) {
00135         std::sprintf( buf, "Traced object \"%s\" has < 0 Bits, cannot be traced.",
00136               name.c_str() );
00137         put_error_message( buf, false );
00138     } else {
00139         std::fprintf( f, "declare  %s   \"%s\"  %s  ",
00140             wif_name.c_str(), name.c_str(), wif_type );
00141         if( bit_width > 0 ) {
00142             std::fprintf( f, "0 %d ", bit_width - 1 );
00143         }
00144         std::fprintf( f, "variable ;\n" );
00145         std::fprintf( f, "start_trace %s ;\n", wif_name.c_str() );
00146     }
00147 }


変数

const std::string sc_core::wif_trace::name

sc_wif_trace.cpp115 行で定義されています。

const std::string sc_core::wif_trace::wif_name

sc_wif_trace.cpp116 行で定義されています。

sc_wif_trace.cpp117 行で定義されています。

sc_wif_trace.cpp118 行で定義されています。


このクラスの説明は次のファイルから生成されました:

SystemCに対してFri Jun 6 20:12:12 2008に生成されました。  doxygen 1.5.6