#include <assert.h>
#include <time.h>
#include <cstdlib>
#include "sysc/kernel/sc_simcontext.h"
#include "sysc/kernel/sc_ver.h"
#include "sysc/datatypes/bit/sc_bit.h"
#include "sysc/datatypes/bit/sc_logic.h"
#include "sysc/datatypes/bit/sc_lv_base.h"
#include "sysc/datatypes/int/sc_signed.h"
#include "sysc/datatypes/int/sc_unsigned.h"
#include "sysc/datatypes/int/sc_int_base.h"
#include "sysc/datatypes/int/sc_uint_base.h"
#include "sysc/datatypes/fx/fx.h"
#include "sysc/tracing/sc_vcd_trace.h"
#include "sysc/utils/sc_string.h"
#define DEFN_TRACE_METHOD | ( | tp | ) |
値:
void \ vcd_trace_file::trace(const sc_dt::tp& object_, const std::string& name_)\ { \ if( initialized ) { \ vcd_put_error_message( \ "No traces can be added once simulation has started.\n" \ "To add traces, create a new vcd trace file.", false ); \ } \ std::string temp_vcd_name; \ create_vcd_name( &temp_vcd_name ); \ traces.push_back( new vcd_ ## tp ## _trace( object_, \ name_, \ temp_vcd_name ) ); \ }
#define DEFN_TRACE_METHOD | ( | tp | ) |
値:
void \ vcd_trace_file::trace(const tp& object_, const std::string& name_) \ { \ if( initialized ) { \ vcd_put_error_message( \ "No traces can be added once simulation has started.\n" \ "To add traces, create a new vcd trace file.", false ); \ } \ std::string temp_vcd_name; \ create_vcd_name( &temp_vcd_name ); \ traces.push_back( new vcd_ ## tp ## _trace( object_, \ name_, \ temp_vcd_name ) ); \ }
#define DEFN_TRACE_METHOD_LONG_LONG | ( | tp | ) |
値:
void \ vcd_trace_file::trace( const sc_dt::tp& object_, \ const std::string& name_, \ int width_ ) \ { \ if( initialized ) { \ vcd_put_error_message( \ "No traces can be added once simulation has started.\n" \ "To add traces, create a new vcd trace file.", false ); \ } \ std::string temp_vcd_name; \ create_vcd_name( &temp_vcd_name ); \ traces.push_back( new vcd_ ## tp ## _trace( object_, \ name_, \ temp_vcd_name, \ width_ ) ); \ }
#define DEFN_TRACE_METHOD_SIGNED | ( | tp | ) |
値:
void \ vcd_trace_file::trace( const tp& object_, \ const std::string& name_, \ int width_ ) \ { \ if( initialized ) { \ vcd_put_error_message( \ "No traces can be added once simulation has started.\n" \ "To add traces, create a new vcd trace file.", false ); \ } \ std::string temp_vcd_name; \ create_vcd_name( &temp_vcd_name ); \ traces.push_back( new vcd_signed_ ## tp ## _trace( object_, \ name_, \ temp_vcd_name, \ width_ ) ); \ }
#define DEFN_TRACE_METHOD_UNSIGNED | ( | tp | ) |
値:
void \ vcd_trace_file::trace( const unsigned tp& object_, \ const std::string& name_, \ int width_ ) \ { \ if( initialized ) { \ vcd_put_error_message( \ "No traces can be added once simulation has started.\n" \ "To add traces, create a new vcd trace file.", false ); \ } \ std::string temp_vcd_name; \ create_vcd_name( &temp_vcd_name ); \ traces.push_back( new vcd_unsigned_ ## tp ## _trace( object_, \ name_, \ temp_vcd_name, \ width_ ) ); \ }