gem5 v24.0.0.0
|
#include <module.hh>
Public Member Functions | |
Module (const char *name) | |
~Module () | |
void | finish (Object *this_obj) |
const char * | name () const |
void | endModule () |
void | deprecatedConstructor () |
sc_core::sc_module * | sc_mod () const |
void | sc_mod (sc_core::sc_module *sc_mod) |
Object * | obj () |
void | pop () |
const char * | uniqueName (const char *seed) |
void | bindPorts (std::vector< const ::sc_core::sc_bind_proxy * > &proxies) |
void | beforeEndOfElaboration () |
void | endOfElaboration () |
void | startOfSimulation () |
void | endOfSimulation () |
Static Public Member Functions | |
static Module * | fromScModule (::sc_core::sc_module *mod) |
Public Attributes | |
std::vector<::sc_core::sc_port_base * > | ports |
std::vector<::sc_core::sc_export_base * > | exports |
int | bindingIndex |
Private Attributes | |
const char * | _name |
sc_core::sc_module * | _sc_mod |
Object * | _obj |
bool | _ended |
bool | _deprecatedConstructor |
UniqueNameGen | nameGen |
sc_gem5::Module::Module | ( | const char * | name | ) |
sc_gem5::Module::~Module | ( | ) |
Definition at line 60 of file module.cc.
References sc_gem5::allModules, and pop().
void sc_gem5::Module::beforeEndOfElaboration | ( | ) |
Definition at line 129 of file module.cc.
References _sc_mod, sc_core::sc_module::before_end_of_elaboration(), exports, sc_gem5::popParentModule(), and sc_gem5::pushParentModule().
void sc_gem5::Module::bindPorts | ( | std::vector< const ::sc_core::sc_bind_proxy * > & | proxies | ) |
Definition at line 107 of file module.cc.
References bindingIndex, panic_if, and ports.
Referenced by sc_core::sc_module::operator()().
|
inline |
Definition at line 96 of file module.hh.
References _deprecatedConstructor.
Referenced by sc_core::sc_module::sc_module(), and sc_core::sc_module::sc_module().
|
inline |
Definition at line 95 of file module.hh.
References _ended.
Referenced by sc_core::sc_module::end_module().
void sc_gem5::Module::endOfElaboration | ( | ) |
Definition at line 144 of file module.cc.
References _deprecatedConstructor, _ended, _sc_mod, gem5::csprintf(), sc_core::sc_module::end_of_elaboration(), exports, name(), sc_gem5::popParentModule(), sc_gem5::pushParentModule(), sc_core::SC_ID_END_MODULE_NOT_CALLED_, and SC_REPORT_WARNING.
void sc_gem5::Module::endOfSimulation | ( | ) |
Definition at line 178 of file module.cc.
References _sc_mod, sc_core::sc_module::end_of_simulation(), exports, sc_gem5::popParentModule(), and sc_gem5::pushParentModule().
void sc_gem5::Module::finish | ( | Object * | this_obj | ) |
Definition at line 75 of file module.cc.
References _obj, sc_gem5::allModules, sc_gem5::popParentModule(), sc_gem5::pushParentModule(), sc_mod(), and sc_gem5::Object::sc_obj().
|
inlinestatic |
Definition at line 87 of file module.hh.
Referenced by sc_gem5::pickParentModule().
|
inline |
|
inline |
Definition at line 113 of file module.hh.
References _obj.
Referenced by sc_core::sc_module::get_child_events(), and sc_core::sc_module::get_child_objects().
void sc_gem5::Module::pop | ( | ) |
Definition at line 94 of file module.cc.
References panic_if, and sc_gem5::popParentModule().
Referenced by ~Module(), and sc_core::sc_module_name::~sc_module_name().
|
inline |
|
inline |
void sc_gem5::Module::startOfSimulation | ( | ) |
Definition at line 163 of file module.cc.
References _sc_mod, exports, sc_gem5::popParentModule(), sc_gem5::pushParentModule(), and sc_core::sc_module::start_of_simulation().
|
inline |
Definition at line 121 of file module.hh.
References sc_gem5::UniqueNameGen::gen(), and nameGen.
|
private |
Definition at line 78 of file module.hh.
Referenced by deprecatedConstructor(), and endOfElaboration().
|
private |
Definition at line 77 of file module.hh.
Referenced by endModule(), and endOfElaboration().
|
private |
|
private |
|
private |
Definition at line 75 of file module.hh.
Referenced by beforeEndOfElaboration(), endOfElaboration(), endOfSimulation(), sc_mod(), sc_mod(), and startOfSimulation().
int sc_gem5::Module::bindingIndex |
Definition at line 128 of file module.hh.
Referenced by bindPorts().
std::vector<::sc_core::sc_export_base *> sc_gem5::Module::exports |
Definition at line 126 of file module.hh.
Referenced by beforeEndOfElaboration(), endOfElaboration(), endOfSimulation(), and startOfSimulation().
|
private |
Definition at line 80 of file module.hh.
Referenced by uniqueName().
std::vector<::sc_core::sc_port_base *> sc_gem5::Module::ports |
Definition at line 125 of file module.hh.
Referenced by bindPorts().