CIRCT
20.0.0git
|
Public Member Functions | |
def | __init__ (self, SourceFiles sources, Path run_dir, bool debug) |
List[List[str]] | compile_commands (self) |
int | compile (self) |
List[str] | run_command (self, bool gui) |
int | run (self, str inner_command, bool gui=False) |
Static Public Member Functions | |
Dict[str, str] | get_env () |
Public Attributes | |
sources | |
run_dir | |
debug | |
Static Public Attributes | |
bool | UsesStderr = True |
Definition at line 85 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 92 of file esi-cosim.py.
int esi-cosim.Simulator.compile | ( | self | ) |
Definition at line 112 of file esi-cosim.py.
References esi-cosim.Simulator.compile_commands(), esi-cosim.Verilator.compile_commands(), esi-cosim.Questa.compile_commands(), esi-cosim.Simulator.run_dir, esi-cosim.Simulator.UsesStderr, and esi-cosim.Questa.UsesStderr.
List[List[str]] esi-cosim.Simulator.compile_commands | ( | self | ) |
Compile the sources. Returns the exit code of the simulation compiler.
Reimplemented in esi-cosim.Questa, and esi-cosim.Verilator.
Definition at line 108 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().
|
static |
Get the environment variables to locate shared objects.
Definition at line 98 of file esi-cosim.py.
int esi-cosim.Simulator.run | ( | self, | |
str | inner_command, | ||
bool | gui = False |
||
) |
Start the simulation then run the command specified. Kill the simulation when the command exits.
Reimplemented in esi-cosim.Questa.
Definition at line 137 of file esi-cosim.py.
References esi-cosim.Simulator.debug, esi::Logger.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, | |
bool | gui | ||
) |
Return the command to run the simulation.
Reimplemented in esi-cosim.Questa, and esi-cosim.Verilator.
Definition at line 133 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 95 of file esi-cosim.py.
Referenced by esi-cosim.Verilator.compile_commands(), and esi-cosim.Simulator.run().
esi-cosim.Simulator.run_dir |
Definition at line 94 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 93 of file esi-cosim.py.
Referenced by esi-cosim.Verilator.compile_commands(), esi-cosim.Questa.internal_compile_commands(), esi-cosim.Verilator.run_command(), and esi-cosim.Questa.run_command().
|
static |
Definition at line 90 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().