gem5 v24.0.0.0
|
#include <sc_spawn.hh>
Classes | |
struct | Reset |
Public Member Functions | |
friend::sc_gem5::Process * | sc_gem5::spawnWork (::sc_gem5::ProcessFuncWrapper *, const char *, const sc_spawn_options *) |
sc_spawn_options () | |
void | spawn_method () |
void | dont_initialize () |
void | set_stack_size (int) |
void | set_sensitivity (const sc_event *) |
void | set_sensitivity (sc_port_base *) |
void | set_sensitivity (sc_export_base *) |
void | set_sensitivity (sc_interface *) |
void | set_sensitivity (sc_event_finder *) |
void | reset_signal_is (const sc_in< bool > &, bool) |
void | reset_signal_is (const sc_inout< bool > &, bool) |
void | reset_signal_is (const sc_out< bool > &, bool) |
void | reset_signal_is (const sc_signal_in_if< bool > &, bool) |
void | async_reset_signal_is (const sc_in< bool > &, bool) |
void | async_reset_signal_is (const sc_inout< bool > &, bool) |
void | async_reset_signal_is (const sc_out< bool > &, bool) |
void | async_reset_signal_is (const sc_signal_in_if< bool > &, bool) |
Private Member Functions | |
sc_spawn_options (const sc_spawn_options &) | |
sc_spawn_options & | operator= (const sc_spawn_options &) |
Private Attributes | |
bool | _spawnMethod |
bool | _dontInitialize |
int | _stackSize |
std::vector< const sc_event * > | _events |
std::vector< sc_port_base * > | _ports |
std::vector< sc_export_base * > | _exports |
std::vector< sc_interface * > | _interfaces |
std::vector< sc_event_finder * > | _finders |
std::vector< Reset< const sc_in< bool > > > | _in_resets |
std::vector< Reset< const sc_inout< bool > > > | _inout_resets |
std::vector< Reset< const sc_out< bool > > > | _out_resets |
std::vector< Reset< const sc_signal_in_if< bool > > > | _if_resets |
Definition at line 93 of file sc_spawn.hh.
sc_core::sc_spawn_options::sc_spawn_options | ( | ) |
Definition at line 121 of file sc_spawn.cc.
|
inlineprivate |
Definition at line 148 of file sc_spawn.hh.
void sc_core::sc_spawn_options::async_reset_signal_is | ( | const sc_in< bool > & | port, |
bool | value ) |
Definition at line 203 of file sc_spawn.cc.
References _in_resets.
void sc_core::sc_spawn_options::async_reset_signal_is | ( | const sc_inout< bool > & | port, |
bool | value ) |
Definition at line 209 of file sc_spawn.cc.
References _inout_resets.
void sc_core::sc_spawn_options::async_reset_signal_is | ( | const sc_out< bool > & | port, |
bool | value ) |
Definition at line 215 of file sc_spawn.cc.
References _out_resets.
void sc_core::sc_spawn_options::async_reset_signal_is | ( | const sc_signal_in_if< bool > & | iface, |
bool | value ) |
Definition at line 221 of file sc_spawn.cc.
References _if_resets.
void sc_core::sc_spawn_options::dont_initialize | ( | ) |
Definition at line 133 of file sc_spawn.cc.
References _dontInitialize.
Referenced by tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation(), and tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation().
|
inlineprivate |
Definition at line 149 of file sc_spawn.hh.
void sc_core::sc_spawn_options::reset_signal_is | ( | const sc_in< bool > & | port, |
bool | value ) |
Definition at line 177 of file sc_spawn.cc.
References _in_resets.
void sc_core::sc_spawn_options::reset_signal_is | ( | const sc_inout< bool > & | port, |
bool | value ) |
Definition at line 183 of file sc_spawn.cc.
References _inout_resets.
void sc_core::sc_spawn_options::reset_signal_is | ( | const sc_out< bool > & | port, |
bool | value ) |
Definition at line 189 of file sc_spawn.cc.
References _out_resets.
void sc_core::sc_spawn_options::reset_signal_is | ( | const sc_signal_in_if< bool > & | iface, |
bool | value ) |
Definition at line 195 of file sc_spawn.cc.
References _if_resets.
friend::sc_gem5::Process * sc_core::sc_spawn_options::sc_gem5::spawnWork | ( | ::sc_gem5::ProcessFuncWrapper * | , |
const char * | , | ||
const sc_spawn_options * | ) |
void sc_core::sc_spawn_options::set_sensitivity | ( | const sc_event * | e | ) |
Definition at line 146 of file sc_spawn.cc.
References _events.
Referenced by tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation(), and tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation().
void sc_core::sc_spawn_options::set_sensitivity | ( | sc_event_finder * | f | ) |
Definition at line 170 of file sc_spawn.cc.
void sc_core::sc_spawn_options::set_sensitivity | ( | sc_export_base * | e | ) |
Definition at line 158 of file sc_spawn.cc.
References _exports.
void sc_core::sc_spawn_options::set_sensitivity | ( | sc_interface * | i | ) |
Definition at line 164 of file sc_spawn.cc.
References _interfaces.
void sc_core::sc_spawn_options::set_sensitivity | ( | sc_port_base * | p | ) |
Definition at line 152 of file sc_spawn.cc.
References _ports.
void sc_core::sc_spawn_options::set_stack_size | ( | int | ss | ) |
Definition at line 139 of file sc_spawn.cc.
References _stackSize, and ss.
void sc_core::sc_spawn_options::spawn_method | ( | ) |
Definition at line 127 of file sc_spawn.cc.
References _spawnMethod.
Referenced by tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), and tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase().
|
private |
Definition at line 124 of file sc_spawn.hh.
Referenced by dont_initialize().
|
private |
Definition at line 126 of file sc_spawn.hh.
Referenced by set_sensitivity().
|
private |
Definition at line 128 of file sc_spawn.hh.
Referenced by set_sensitivity().
|
private |
Definition at line 130 of file sc_spawn.hh.
Referenced by set_sensitivity().
|
private |
Definition at line 145 of file sc_spawn.hh.
Referenced by async_reset_signal_is(), and reset_signal_is().
|
private |
Definition at line 142 of file sc_spawn.hh.
Referenced by async_reset_signal_is(), and reset_signal_is().
|
private |
Definition at line 143 of file sc_spawn.hh.
Referenced by async_reset_signal_is(), and reset_signal_is().
|
private |
Definition at line 129 of file sc_spawn.hh.
Referenced by set_sensitivity().
|
private |
Definition at line 144 of file sc_spawn.hh.
Referenced by async_reset_signal_is(), and reset_signal_is().
|
private |
Definition at line 127 of file sc_spawn.hh.
Referenced by set_sensitivity().
|
private |
Definition at line 123 of file sc_spawn.hh.
Referenced by spawn_method().
|
private |
Definition at line 125 of file sc_spawn.hh.
Referenced by set_stack_size().