Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

scv_util.h File Reference

#include "scv/scv_config.h"
#include <iostream>
#include <string>
#include "systemc.h"

Include dependency graph for scv_util.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SCV_STARTUP()
#define scv_out   (*_scv_out_p)
#define tb_status   cout
#define TBS_INFO   "%%TB_STATUS_INFO: "
#define TBS_WARNING   "%%TB_STATUS_WARNING: "
#define TBS_ERROR   "%%TB_STATUS_ERROR: "
#define TBS_SUCCESS   "%%TB_STATUS_SUCCESS: "
#define TBS_FAIL   "%%TB_STATUS_FAIL: "

Typedefs

typedef const char *( _scv_process_name_server_t )(sc_process_b *proc_p)

Functions

int _scv_make_unique_id (const string &name, const string &kind)
const string _scv_make_unique_name (const string &name, int id)
void _scv_set_process_name_server (_scv_process_name_server_t *)
const char * _scv_get_process_name (const sc_process_b *proc_p)
const char * scv_get_process_name (sc_process_b *proc_p)
bool scv_startup ()

Variables

_scv_process_name_server_t_scv_process_name_server
ostream * _scv_out_p


Define Documentation

#define scv_out   (*_scv_out_p)
 

Definition at line 98 of file scv_util.h.

Referenced by scv_tr_generator_base::_end_transaction(), _scv_print_registry(), _scv_use_constraint(), _scv_constraint_manager::add_sparse_var(), scv_report_handler::default_handler(), scv_report_handler::force(), _scv_extension_rand_enum::get_generator(), scv_sparse_array< Key, T >::operator[](), scv_sparse_array< Key, T >::print(), scv_smart_ptr< T >::print(), _scv_associative_array< scv_extensions_if *, bddNodeT * >::print(), scv_report_handler::set_actions(), scv_tr_generator_base::show(), scv_tr_handle::show(), scv_tr_stream::show(), scv_tr_db::show(), scv_sparse_array< Key, T >::show(), scv_random::show(), scv_object_if::show(), _scv_extension_util::show(), scv_expression::show(), scv_debug::show(), scv_constraint_base::show(), scv_bag< T >::show(), _scv_data_structure::show(), _scv_associative_array< scv_extensions_if *, bddNodeT * >::show(), scv_report_handler::stop_after(), and scv_report_handler::suppress().

 
#define SCV_STARTUP  
 

Value:

{ \
  static bool dummy = scv_startup(); \
  if (0) cout << dummy << endl; \
}

Definition at line 86 of file scv_util.h.

Referenced by scv_constraint_manager::getConstraintManagerP().

#define tb_status   cout
 

Definition at line 104 of file scv_util.h.

#define TBS_ERROR   "%%TB_STATUS_ERROR: "
 

Definition at line 107 of file scv_util.h.

#define TBS_FAIL   "%%TB_STATUS_FAIL: "
 

Definition at line 109 of file scv_util.h.

#define TBS_INFO   "%%TB_STATUS_INFO: "
 

Definition at line 105 of file scv_util.h.

#define TBS_SUCCESS   "%%TB_STATUS_SUCCESS: "
 

Definition at line 108 of file scv_util.h.

#define TBS_WARNING   "%%TB_STATUS_WARNING: "
 

Definition at line 106 of file scv_util.h.


Typedef Documentation

typedef const char*( _scv_process_name_server_t)(sc_process_b *proc_p)
 

Definition at line 74 of file scv_util.h.

Referenced by _scv_set_process_name_server().


Function Documentation

const char* _scv_get_process_name const sc_process_b   proc_p
 

Definition at line 131 of file scv_util.cpp.

References sc_object::name().

Referenced by scv_get_process_name().

int _scv_make_unique_id const string &    name,
const string &    kind
 

Definition at line 97 of file scv_util.cpp.

const string _scv_make_unique_name const string &    name,
int    id
 

Definition at line 105 of file scv_util.cpp.

References sprintf(), and strlen().

Referenced by rules< scv_actions >::get(), rules< scv_actions >::incr(), and rules< scv_actions >::set().

void _scv_set_process_name_server _scv_process_name_server_t  
 

Definition at line 128 of file scv_util.cpp.

References _scv_process_name_server, and _scv_process_name_server_t.

const char* scv_get_process_name sc_process_b   proc_p
 

Definition at line 136 of file scv_util.cpp.

References _scv_get_process_name(), and _scv_process_name_server.

Referenced by scv_report_handler::report().

bool scv_startup  
 

Definition at line 81 of file scv_util.cpp.

References scv_constraint_startup().


Variable Documentation

ostream* _scv_out_p
 

Definition at line 97 of file scv_util.h.

_scv_process_name_server_t* _scv_process_name_server
 

Definition at line 75 of file scv_util.h.

Referenced by _scv_set_process_name_server(), and scv_get_process_name().


Generated on Fri Jan 14 08:30:55 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18