Base class for all structural entities. More...
#include <sysc/kernel/sc_module.h>
Public Member Functions | |
sc_simcontext * | sc_get_curr_simcontext () |
const char * | gen_unique_name (const char *basename_, bool preserve_first) |
virtual const char * | kind () const |
void | test_message () |
virtual | ~sc_module () |
sc_module & | operator<< (sc_interface &) |
sc_module & | operator<< (sc_port_base &) |
sc_module & | operator, (sc_interface &interface_) |
sc_module & | operator, (sc_port_base &port_) |
const ::std::vector< sc_object * > & | get_child_objects () const |
void | defunct () |
void | operator() (const sc_bind_proxy &p001, const sc_bind_proxy &p002=SC_BIND_PROXY_NIL, const sc_bind_proxy &p003=SC_BIND_PROXY_NIL, const sc_bind_proxy &p004=SC_BIND_PROXY_NIL, const sc_bind_proxy &p005=SC_BIND_PROXY_NIL, const sc_bind_proxy &p006=SC_BIND_PROXY_NIL, const sc_bind_proxy &p007=SC_BIND_PROXY_NIL, const sc_bind_proxy &p008=SC_BIND_PROXY_NIL, const sc_bind_proxy &p009=SC_BIND_PROXY_NIL, const sc_bind_proxy &p010=SC_BIND_PROXY_NIL, const sc_bind_proxy &p011=SC_BIND_PROXY_NIL, const sc_bind_proxy &p012=SC_BIND_PROXY_NIL, const sc_bind_proxy &p013=SC_BIND_PROXY_NIL, const sc_bind_proxy &p014=SC_BIND_PROXY_NIL, const sc_bind_proxy &p015=SC_BIND_PROXY_NIL, const sc_bind_proxy &p016=SC_BIND_PROXY_NIL, const sc_bind_proxy &p017=SC_BIND_PROXY_NIL, const sc_bind_proxy &p018=SC_BIND_PROXY_NIL, const sc_bind_proxy &p019=SC_BIND_PROXY_NIL, const sc_bind_proxy &p020=SC_BIND_PROXY_NIL, const sc_bind_proxy &p021=SC_BIND_PROXY_NIL, const sc_bind_proxy &p022=SC_BIND_PROXY_NIL, const sc_bind_proxy &p023=SC_BIND_PROXY_NIL, const sc_bind_proxy &p024=SC_BIND_PROXY_NIL, const sc_bind_proxy &p025=SC_BIND_PROXY_NIL, const sc_bind_proxy &p026=SC_BIND_PROXY_NIL, const sc_bind_proxy &p027=SC_BIND_PROXY_NIL, const sc_bind_proxy &p028=SC_BIND_PROXY_NIL, const sc_bind_proxy &p029=SC_BIND_PROXY_NIL, const sc_bind_proxy &p030=SC_BIND_PROXY_NIL, const sc_bind_proxy &p031=SC_BIND_PROXY_NIL, const sc_bind_proxy &p032=SC_BIND_PROXY_NIL, const sc_bind_proxy &p033=SC_BIND_PROXY_NIL, const sc_bind_proxy &p034=SC_BIND_PROXY_NIL, const sc_bind_proxy &p035=SC_BIND_PROXY_NIL, const sc_bind_proxy &p036=SC_BIND_PROXY_NIL, const sc_bind_proxy &p037=SC_BIND_PROXY_NIL, const sc_bind_proxy &p038=SC_BIND_PROXY_NIL, const sc_bind_proxy &p039=SC_BIND_PROXY_NIL, const sc_bind_proxy &p040=SC_BIND_PROXY_NIL, const sc_bind_proxy &p041=SC_BIND_PROXY_NIL, const sc_bind_proxy &p042=SC_BIND_PROXY_NIL, const sc_bind_proxy &p043=SC_BIND_PROXY_NIL, const sc_bind_proxy &p044=SC_BIND_PROXY_NIL, const sc_bind_proxy &p045=SC_BIND_PROXY_NIL, const sc_bind_proxy &p046=SC_BIND_PROXY_NIL, const sc_bind_proxy &p047=SC_BIND_PROXY_NIL, const sc_bind_proxy &p048=SC_BIND_PROXY_NIL, const sc_bind_proxy &p049=SC_BIND_PROXY_NIL, const sc_bind_proxy &p050=SC_BIND_PROXY_NIL, const sc_bind_proxy &p051=SC_BIND_PROXY_NIL, const sc_bind_proxy &p052=SC_BIND_PROXY_NIL, const sc_bind_proxy &p053=SC_BIND_PROXY_NIL, const sc_bind_proxy &p054=SC_BIND_PROXY_NIL, const sc_bind_proxy &p055=SC_BIND_PROXY_NIL, const sc_bind_proxy &p056=SC_BIND_PROXY_NIL, const sc_bind_proxy &p057=SC_BIND_PROXY_NIL, const sc_bind_proxy &p058=SC_BIND_PROXY_NIL, const sc_bind_proxy &p059=SC_BIND_PROXY_NIL, const sc_bind_proxy &p060=SC_BIND_PROXY_NIL, const sc_bind_proxy &p061=SC_BIND_PROXY_NIL, const sc_bind_proxy &p062=SC_BIND_PROXY_NIL, const sc_bind_proxy &p063=SC_BIND_PROXY_NIL, const sc_bind_proxy &p064=SC_BIND_PROXY_NIL) |
Protected Member Functions | |
virtual void | before_end_of_elaboration () |
void | construction_done () |
virtual void | end_of_elaboration () |
void | elaboration_done (bool &) |
virtual void | start_of_simulation () |
void | start_simulation () |
virtual void | end_of_simulation () |
void | simulation_done () |
void | sc_module_init () |
sc_module () | |
sc_module (const sc_module_name &nm) | |
sc_module (const char *nm) | |
sc_module (const std::string &nm) | |
void | end_module () |
void | dont_initialize () |
void | positional_bind (sc_interface &) |
void | positional_bind (sc_port_base &) |
void | async_reset_signal_is (const sc_in< bool > &port, bool level) |
void | async_reset_signal_is (const sc_inout< bool > &port, bool level) |
void | async_reset_signal_is (const sc_out< bool > &port, bool level) |
void | async_reset_signal_is (const sc_signal_in_if< bool > &iface, bool level) |
void | reset_signal_is (const sc_in< bool > &port, bool level) |
void | reset_signal_is (const sc_inout< bool > &port, bool level) |
void | reset_signal_is (const sc_out< bool > &port, bool level) |
void | reset_signal_is (const sc_signal_in_if< bool > &iface, bool level) |
void | seg_bound () |
void | wait (int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (const sc_time &t, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event &e, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (const sc_time &t, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
bool | timed_out () |
void | halt (int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | wait (int n, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | at_posedge (const sc_signal_in_if< bool > &s, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | at_posedge (const sc_signal_in_if< sc_dt::sc_logic > &s, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | at_negedge (const sc_signal_in_if< bool > &s, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | at_negedge (const sc_signal_in_if< sc_dt::sc_logic > &s, int seg_id) |
A new parameter segment ID is added for the out-of-order simulation. | |
void | watching (bool) |
void | set_stack_size (std::size_t) |
Function to set the stack size of the current (c)thread process and method process. | |
int | append_port (sc_port_base *) |
Protected Attributes | |
sc_sensitive | sensitive |
sc_sensitive_pos | sensitive_pos |
sc_sensitive_neg | sensitive_neg |
int | m_instance_id |
Instance ID of this module. | |
Friends | |
class | sc_module_name |
class | sc_module_registry |
class | sc_object |
class | sc_port_registry |
class | sc_process_b |
class | sc_simcontext |
Base class for all structural entities.
Definition at line 81 of file sc_module.h.
sc_core::sc_module::sc_module | ( | ) | [protected] |
sc_core::sc_module::sc_module | ( | const sc_module_name & | nm | ) | [protected] |
sc_core::sc_module::sc_module | ( | const char * | nm | ) | [protected] |
sc_core::sc_module::sc_module | ( | const std::string & | nm | ) | [protected] |
virtual sc_core::sc_module::~sc_module | ( | ) | [virtual] |
int sc_core::sc_module::append_port | ( | sc_port_base * | ) | [protected] |
void sc_core::sc_module::async_reset_signal_is | ( | const sc_signal_in_if< bool > & | iface, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::async_reset_signal_is | ( | const sc_out< bool > & | port, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::async_reset_signal_is | ( | const sc_inout< bool > & | port, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::async_reset_signal_is | ( | const sc_in< bool > & | port, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::at_negedge | ( | const sc_signal_in_if< sc_dt::sc_logic > & | s, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 453 of file sc_module.h.
void sc_core::sc_module::at_negedge | ( | const sc_signal_in_if< bool > & | s, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 445 of file sc_module.h.
void sc_core::sc_module::at_posedge | ( | const sc_signal_in_if< sc_dt::sc_logic > & | s, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 437 of file sc_module.h.
void sc_core::sc_module::at_posedge | ( | const sc_signal_in_if< bool > & | s, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 429 of file sc_module.h.
virtual void sc_core::sc_module::before_end_of_elaboration | ( | ) | [protected, virtual] |
void sc_core::sc_module::construction_done | ( | ) | [protected] |
void sc_core::sc_module::defunct | ( | ) | [inline] |
Reimplemented from sc_core::sc_process_host.
Definition at line 494 of file sc_module.h.
void sc_core::sc_module::dont_initialize | ( | ) | [protected] |
void sc_core::sc_module::elaboration_done | ( | bool & | ) | [protected] |
void sc_core::sc_module::end_module | ( | ) | [protected] |
virtual void sc_core::sc_module::end_of_elaboration | ( | ) | [protected, virtual] |
virtual void sc_core::sc_module::end_of_simulation | ( | ) | [protected, virtual] |
const char* sc_core::sc_module::gen_unique_name | ( | const char * | basename_, | |
bool | preserve_first | |||
) |
const ::std::vector<sc_object*>& sc_core::sc_module::get_child_objects | ( | ) | const [virtual] |
Reimplemented from sc_core::sc_object.
void sc_core::sc_module::halt | ( | int | seg_id | ) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 413 of file sc_module.h.
virtual const char* sc_core::sc_module::kind | ( | ) | const [inline, virtual] |
Reimplemented from sc_core::sc_object.
Reimplemented in sc_core::sc_event_queue, and sc_core::sc_channel.
Definition at line 99 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 394 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_time & | t, | |
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 385 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 375 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_time & | t, | |
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 366 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 356 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_time & | t, | |
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 348 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | double | v, | |
sc_time_unit | tu, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 339 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_time & | t, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 331 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_event_and_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 323 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_event_or_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 315 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | const sc_event & | e, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 307 of file sc_module.h.
void sc_core::sc_module::next_trigger | ( | int | seg_id | ) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 296 of file sc_module.h.
sc_module& sc_core::sc_module::operator, | ( | sc_port_base & | port_ | ) | [inline] |
Definition at line 146 of file sc_module.h.
sc_module& sc_core::sc_module::operator, | ( | sc_interface & | interface_ | ) | [inline] |
Definition at line 143 of file sc_module.h.
sc_module& sc_core::sc_module::operator<< | ( | sc_port_base & | ) |
sc_module& sc_core::sc_module::operator<< | ( | sc_interface & | ) |
void sc_core::sc_module::positional_bind | ( | sc_port_base & | ) | [protected] |
void sc_core::sc_module::positional_bind | ( | sc_interface & | ) | [protected] |
void sc_core::sc_module::reset_signal_is | ( | const sc_signal_in_if< bool > & | iface, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::reset_signal_is | ( | const sc_out< bool > & | port, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::reset_signal_is | ( | const sc_inout< bool > & | port, | |
bool | level | |||
) | [protected] |
void sc_core::sc_module::reset_signal_is | ( | const sc_in< bool > & | port, | |
bool | level | |||
) | [protected] |
sc_simcontext* sc_core::sc_module::sc_get_curr_simcontext | ( | ) | [inline] |
Definition at line 93 of file sc_module.h.
void sc_core::sc_module::sc_module_init | ( | ) | [protected] |
void sc_core::sc_module::seg_bound | ( | ) | [inline, protected] |
Definition at line 179 of file sc_module.h.
void sc_core::sc_module::set_stack_size | ( | std::size_t | ) | [protected] |
Function to set the stack size of the current (c)thread process and method process.
void sc_core::sc_module::simulation_done | ( | ) | [protected] |
virtual void sc_core::sc_module::start_of_simulation | ( | ) | [protected, virtual] |
void sc_core::sc_module::start_simulation | ( | ) | [protected] |
void sc_core::sc_module::test_message | ( | ) |
bool sc_core::sc_module::timed_out | ( | ) | [inline, protected] |
Definition at line 402 of file sc_module.h.
void sc_core::sc_module::wait | ( | int | n, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 421 of file sc_module.h.
void sc_core::sc_module::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 283 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_time & | t, | |
const sc_event_and_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 275 of file sc_module.h.
void sc_core::sc_module::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 265 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_time & | t, | |
const sc_event_or_list & | el, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 257 of file sc_module.h.
void sc_core::sc_module::wait | ( | double | v, | |
sc_time_unit | tu, | |||
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 248 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_time & | t, | |
const sc_event & | e, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 240 of file sc_module.h.
void sc_core::sc_module::wait | ( | double | v, | |
sc_time_unit | tu, | |||
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 231 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_time & | t, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 223 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_event_and_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 215 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_event_or_list & | el, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 207 of file sc_module.h.
void sc_core::sc_module::wait | ( | const sc_event & | e, | |
int | seg_id | |||
) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 198 of file sc_module.h.
void sc_core::sc_module::wait | ( | int | seg_id | ) | [inline, protected] |
A new parameter segment ID is added for the out-of-order simulation.
Definition at line 188 of file sc_module.h.
void sc_core::sc_module::watching | ( | bool | ) | [inline, protected] |
Definition at line 457 of file sc_module.h.
friend class sc_module_name [friend] |
Reimplemented in sc_core::sc_channel.
Definition at line 84 of file sc_module.h.
friend class sc_module_registry [friend] |
Reimplemented in sc_core::sc_channel.
Definition at line 85 of file sc_module.h.
friend class sc_object [friend] |
Reimplemented in sc_core::sc_channel.
Definition at line 86 of file sc_module.h.
friend class sc_port_registry [friend] |
Reimplemented in sc_core::sc_channel.
Definition at line 87 of file sc_module.h.
friend class sc_process_b [friend] |
Reimplemented from sc_core::sc_object.
Reimplemented in sc_core::sc_channel.
Definition at line 88 of file sc_module.h.
friend class sc_simcontext [friend] |
Reimplemented from sc_core::sc_object.
Reimplemented in sc_core::sc_channel.
Definition at line 89 of file sc_module.h.
int sc_core::sc_module::m_instance_id [protected] |
Instance ID of this module.
Definition at line 478 of file sc_module.h.
sc_sensitive sc_core::sc_module::sensitive [protected] |
Definition at line 461 of file sc_module.h.
sc_sensitive_neg sc_core::sc_module::sensitive_neg [protected] |
Definition at line 463 of file sc_module.h.
sc_sensitive_pos sc_core::sc_module::sensitive_pos [protected] |
Definition at line 462 of file sc_module.h.