CIRCT
19.0.0git
|
Public Member Functions | |
def | __init__ (self, SourceFiles sources, Path run_dir, bool debug) |
List[str] | compile_command (self) |
int | compile (self) |
List[str] | run_command (self) |
int | run (self, str inner_command) |
Static Public Member Functions | |
Dict[str, str] | get_env () |
Public Attributes | |
sources | |
run_dir | |
debug | |
Static Public Attributes | |
bool | UsesStderr = True |
Definition at line 84 of file esi-cosim.py.
def esi-cosim.Simulator.__init__ | ( | self, | |
SourceFiles | sources, | ||
Path | run_dir, | ||
bool | debug | ||
) |
Reimplemented in esi-cosim.Verilator.
Definition at line 91 of file esi-cosim.py.
int esi-cosim.Simulator.compile | ( | self | ) |
Definition at line 111 of file esi-cosim.py.
References esi-cosim.Simulator.compile_command(), esi-cosim.Verilator.compile_command(), esi-cosim.Questa.compile_command(), esi-cosim.Simulator.run_dir, esi-cosim.Simulator.UsesStderr, and esi-cosim.Questa.UsesStderr.
List[str] esi-cosim.Simulator.compile_command | ( | self | ) |
Compile the sources. Returns the exit code of the simulation compiler.
Reimplemented in esi-cosim.Questa, and esi-cosim.Verilator.
Definition at line 107 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().
|
static |
Get the environment variables to locate shared objects.
Definition at line 97 of file esi-cosim.py.
int esi-cosim.Simulator.run | ( | self, | |
str | inner_command | ||
) |
Start the simulation then run the command specified. Kill the simulation when the command exits.
Reimplemented in esi-cosim.Questa.
Definition at line 131 of file esi-cosim.py.
References esi-cosim.Simulator.debug, esi-cosim.is_port_open(), esi-cosim.Simulator.run_command(), esi-cosim.Verilator.run_command(), esi-cosim.Questa.run_command(), and esi-cosim.Simulator.run_dir.
List[str] esi-cosim.Simulator.run_command | ( | self | ) |
Return the command to run the simulation.
Reimplemented in esi-cosim.Questa, and esi-cosim.Verilator.
Definition at line 127 of file esi-cosim.py.
Referenced by Python.setup.CustomBuild.run(), setup.CustomBuild.run(), and esi-cosim.Simulator.run().
esi-cosim.Simulator.debug |
Definition at line 94 of file esi-cosim.py.
Referenced by esi-cosim.Verilator.compile_command(), and esi-cosim.Simulator.run().
esi-cosim.Simulator.run_dir |
Definition at line 93 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile(), esi-cosim.Simulator.run(), and esi-cosim.Questa.run().
esi-cosim.Simulator.sources |
Definition at line 92 of file esi-cosim.py.
Referenced by esi-cosim.Verilator.compile_command(), esi-cosim.Questa.compile_command(), esi-cosim.Verilator.run_command(), and esi-cosim.Questa.run_command().
|
static |
Definition at line 89 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().