#include <systemc.h>Functions | |
| void | allocate_user_actions () |
| void | dump_all_handler (const sc_report &report, const sc_actions &actions) |
| void | set_rules () |
| void | query_rules (const char *id) |
| void | query_rules () |
| int | sc_main (int, char **) |
Variables | |
| const unsigned | num_usr_actions = 6 |
| sc_actions | usr_actions [num_usr_actions] |
| sc_actions & | usr1 = usr_actions[0] |
| sc_actions & | usr2 = usr_actions[1] |
| sc_actions & | usr3 = usr_actions[2] |
| sc_actions & | usr4 = usr_actions[3] |
| sc_actions & | usr5 = usr_actions[4] |
| sc_actions & | usr6 = usr_actions[5] |
| const char * | id1 = "ID1" |
| const char * | id2 = "ID2" |
| const char * | id3 = "ID3" |
| const char * | id4 = "ID4" |
| static const char * | severity2str [] |
| void allocate_user_actions | ( | ) |
References num_usr_actions, sc_core::SC_ABORT, sc_core::SC_CACHE_REPORT, sc_core::SC_DISPLAY, sc_core::SC_DO_NOTHING, sc_core::SC_LOG, sc_core::SC_STOP, sc_core::SC_THROW, sc_core::SC_UNSPECIFIED, and usr_actions.
Referenced by sc_main().
| void dump_all_handler | ( | const sc_report & | report, | |
| const sc_actions & | actions | |||
| ) |
References sc_core::sc_report::get_file_name(), sc_core::sc_report::get_line_number(), sc_core::sc_report::get_msg(), sc_core::sc_report::get_msg_type(), sc_core::sc_report::get_process_name(), sc_core::sc_report::get_severity(), sc_core::sc_report::get_time(), num_usr_actions, sc_core::SC_ABORT, sc_core::SC_CACHE_REPORT, sc_core::SC_DISPLAY, sc_core::SC_DO_NOTHING, sc_core::SC_INTERRUPT, sc_core::SC_LOG, sc_core::SC_STOP, sc_core::SC_THROW, sc_core::SC_UNSPECIFIED, severity2str, and usr_actions.
Referenced by sc_main().
| void query_rules | ( | ) |
References id1, id2, id3, and query_rules().
| void query_rules | ( | const char * | id | ) |
References sc_core::SC_ERROR, sc_core::SC_FATAL, sc_core::SC_INFO, and sc_core::SC_WARNING.
Referenced by query_rules(), and sc_main().
| int sc_main | ( | int | , | |
| char ** | ||||
| ) |
References allocate_user_actions(), dump_all_handler(), id1, id4, query_rules(), sc_core::SC_ERROR, sc_core::SC_FATAL, sc_core::SC_NS, sc_core::sc_start(), set_rules(), usr1, usr2, usr3, and usr4.
| void set_rules | ( | ) |
References id2, id3, sc_core::SC_ERROR, sc_core::SC_FATAL, sc_core::SC_INFO, sc_core::SC_WARNING, usr1, usr2, usr3, usr4, and usr5.
Referenced by sc_main().
| const char* id1 = "ID1" |
Referenced by query_rules(), and sc_main().
| const char* id2 = "ID2" |
Referenced by sc_dt::print_other(), query_rules(), sc_main(), and set_rules().
| const char* id3 = "ID3" |
Referenced by query_rules(), sc_main(), and set_rules().
| const unsigned num_usr_actions = 6 |
Referenced by allocate_user_actions(), and dump_all_handler().
const char* severity2str[] [static] |
Initial value:
{
"INFO", "WARNING", "ERROR", "FATAL", "UNKNOWN_SEVERITY"
}
Referenced by dump_all_handler().
| sc_actions& usr1 = usr_actions[0] |
Referenced by sc_main(), and set_rules().
| sc_actions& usr2 = usr_actions[1] |
Referenced by sc_main(), and set_rules().
| sc_actions& usr3 = usr_actions[2] |
Referenced by sc_main(), and set_rules().
| sc_actions& usr4 = usr_actions[3] |
Referenced by sc_main(), and set_rules().
| sc_actions& usr5 = usr_actions[4] |
Referenced by set_rules().
| sc_actions& usr6 = usr_actions[5] |
| sc_actions usr_actions[num_usr_actions] |
Referenced by allocate_user_actions(), and dump_all_handler().