Class Model¶
Defined in File Model.h
Class Documentation¶
-
class
systemc_clang::Model¶ Public Types
-
typedef std::pair<std::string, ModuleInstance*>
modulePairType¶
-
typedef std::vector<modulePairType>
moduleMapType¶
-
typedef std::pair<std::string, EventContainer*>
eventPairType¶
-
typedef std::map<std::string, EventContainer*>
eventMapType¶
-
typedef std::pair<ModuleInstance*, std::vector<ModuleInstance*>>
moduleInstancePairType¶
-
typedef std::map<ModuleInstance*, std::vector<ModuleInstance*>>
moduleInstanceMapType¶
-
typedef pair<EntryFunctionContainer*, FindGPUMacro::forStmtGPUMacroMapType>
entryFunctionGPUMacroPairType¶
-
typedef map<EntryFunctionContainer*, FindGPUMacro::forStmtGPUMacroMapType>
entryFunctionGPUMacroMapType¶
Public Functions
-
Model()¶
-
~Model()¶
-
void
addInstance(ModuleInstance*)¶
-
void
addSimulationTime(FindSimTime::simulationTimeMapType)¶
-
void
addGlobalEvents(FindGlobalEvents::globalEventMapType)¶
-
void
addSCMain(FunctionDecl*)¶
-
void
addEntryFunctionGPUMacroMap(entryFunctionGPUMacroMapType)¶
-
void
updateModuleDecl()¶
-
void
populateNestedModules()¶
-
ModuleInstance *
getInstance(const std::string &instance_name)¶
-
ModuleInstance *
getInstance(Decl *instance_decl)¶
-
ModuleInstance *
getRootModuleInstance() const¶
-
entryFunctionGPUMacroMapType
getEntryFunctionGPUMacroMap()¶
-
eventMapType
getEventMapType()¶
-
std::vector<ModuleInstance*> &
getInstances()¶
-
unsigned int
getNumEvents()¶
-
std::vector<Transition*>
getGSauto()¶
-
void
dump(raw_ostream&)¶
Protected Attributes
-
std::vector<ModuleInstance*>
module_instances_¶
-
ModuleInstance *
root_module_inst_¶
-
FindSimTime::simulationTimeMapType
simulation_time_¶
-
eventMapType
event_map_¶
-
FunctionDecl *
scmain_function_decl_¶
-
FindNetlist::instanceModuleMapType
instance_module_map_¶
-
FindNetlist::portSignalMapType
port_signal_map_¶
-
FindNetlist::instancePortSignalMapType
port_signal_instance_map_¶
-
FindNetlist::instanceListModuleMapType
module_instance_list_¶
-
entryFunctionGPUMacroMapType
entry_function_gpu_macro_map_¶
-
typedef std::pair<std::string, ModuleInstance*>