Transaction-Level Modeling Framework for Space Applications
#include <module.h>
Public Member Functions | |
PythonModule (sc_core::sc_module_name name, const char *script_filename=0, int argc=0, char **argv=NULL) | |
virtual | ~PythonModule () |
void | load (std::string script) |
void | exec (std::string statement) |
runs a Python command in a module-specific namespace More... | |
void | add_to_pythonpath (std::string path) |
Adds a path to the load/import search path. More... | |
void | start_of_initialization () |
void | end_of_initialization () |
void | start_of_elaboration () |
void | end_of_elaboration () |
void | start_of_simulation () |
void | pause_of_simulation () |
void | end_of_simulation () |
void | start_of_evaluation () |
void | end_of_evaluation () |
Static Public Member Functions | |
static void | block_threads () |
static void | unblock_threads () |
Unblock our singleton thread. More... | |
Static Public Attributes | |
static PythonModule * | globalInstance = NULL |
Global PythonModule Instance (The last created one) More... | |
static void(*)(int) | signal (int sig, void(*handler)(int)) |
Referenced by pysc_start().