Go to the source code of this file.
|
#define | SC_NEW(x) ::sc_core::sc_module_dynalloc(new x); |
|
#define | SC_MODULE(user_module_name) struct user_module_name : ::sc_core::sc_module |
|
#define | SC_CTOR(user_module_name) |
|
#define | SC_HAS_PROCESS(user_module_name) typedef user_module_name SC_CURRENT_USER_MODULE |
|
#define | declare_method_process(handle, name, host_tag, func) |
|
#define | declare_thread_process(handle, name, host_tag, func) |
|
#define | declare_cthread_process(handle, name, host_tag, func, edge) |
|
#define | SC_CTHREAD(func, edge) |
|
#define | SC_METHOD(func) |
|
#define | SC_THREAD(func) |
|
#define declare_cthread_process |
( |
|
handle, |
|
|
|
name, |
|
|
|
host_tag, |
|
|
|
func, |
|
|
|
edge |
|
) |
| |
Value:{ \
name, false, \
this->sensitive.operator() ( handle, edge );\
}
sc_process_handle create_cthread_process(const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p)
sc_simcontext * sc_get_curr_simcontext()
#define SC_MAKE_FUNC_PTR(callback_tag, func)
Definition at line 436 of file sc_module.h.
#define declare_method_process |
( |
|
handle, |
|
|
|
name, |
|
|
|
host_tag, |
|
|
|
func |
|
) |
| |
Value:{ \
this, 0 ); \
this->sensitive << handle; \
this->sensitive_pos << handle; \
this->sensitive_neg << handle; \
}
sc_simcontext * sc_get_curr_simcontext()
#define SC_MAKE_FUNC_PTR(callback_tag, func)
sc_process_handle create_method_process(const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p)
Definition at line 414 of file sc_module.h.
#define declare_thread_process |
( |
|
handle, |
|
|
|
name, |
|
|
|
host_tag, |
|
|
|
func |
|
) |
| |
Value:{ \
name, false, \
this->sensitive << handle; \
this->sensitive_pos << handle; \
this->sensitive_neg << handle; \
}
sc_simcontext * sc_get_curr_simcontext()
#define SC_MAKE_FUNC_PTR(callback_tag, func)
sc_process_handle create_thread_process(const char *name_p, bool free_host, SC_ENTRY_FUNC method_p, sc_process_host *host_p, const sc_spawn_options *opt_p)
Definition at line 425 of file sc_module.h.
#define SC_CTHREAD |
( |
|
func, |
|
|
|
edge |
|
) |
| |
Value:
#func, \
SC_CURRENT_USER_MODULE, \
func, \
edge )
#define declare_cthread_process(handle, name, host_tag, func, edge)
Definition at line 445 of file sc_module.h.
#define SC_CTOR |
( |
|
user_module_name | ) |
|
Value:typedef user_module_name SC_CURRENT_USER_MODULE; \
Definition at line 397 of file sc_module.h.
#define SC_HAS_PROCESS |
( |
|
user_module_name | ) |
typedef user_module_name SC_CURRENT_USER_MODULE |
#define SC_METHOD |
( |
|
func | ) |
|
Value:
#func, \
SC_CURRENT_USER_MODULE, \
func )
#define declare_method_process(handle, name, host_tag, func)
Definition at line 452 of file sc_module.h.
#define SC_THREAD |
( |
|
func | ) |
|
Value:
#func, \
SC_CURRENT_USER_MODULE, \
func )
#define declare_thread_process(handle, name, host_tag, func)
Definition at line 458 of file sc_module.h.