CIRCT 21.0.0git
|
Public Member Functions | |
List[str] | internal_compile_commands (self) |
List[List[str]] | compile_commands (self) |
List[str] | run_command (self, bool gui) |
int | run (self, str inner_command, bool gui=False) |
![]() | |
__init__ (self, SourceFiles sources, Path run_dir, bool debug) | |
int | compile (self) |
Static Public Attributes | |
str | DefaultDriver = CosimCollateralDir / "driver.sv" |
bool | UsesStderr = False |
![]() | |
bool | UsesStderr = True |
Additional Inherited Members | |
![]() | |
Dict[str, str] | get_env () |
![]() | |
sources | |
run_dir | |
debug | |
Run and compile funcs for Questasim.
Definition at line 263 of file esi-cosim.py.
List[List[str]] esi-cosim.Questa.compile_commands | ( | self | ) |
Compile the sources. Returns the exit code of the simulation compiler.
Reimplemented from esi-cosim.Simulator.
Definition at line 283 of file esi-cosim.py.
References esi-cosim.Questa.internal_compile_commands().
Referenced by esi-cosim.Simulator.compile().
List[str] esi-cosim.Questa.internal_compile_commands | ( | self | ) |
Definition at line 271 of file esi-cosim.py.
References esi-cosim.Simulator.sources.
Referenced by esi-cosim.Questa.compile_commands().
int esi-cosim.Questa.run | ( | self, | |
str | inner_command, | ||
bool | gui = False |
||
) |
Override the Simulator.run() to add a soft link in the run directory (to the work directory) before running vsim the usual way.
Reimplemented from esi-cosim.Simulator.
Definition at line 316 of file esi-cosim.py.
References esi-cosim.Questa.run(), and esi-cosim.Simulator.run_dir.
Referenced by esi-cosim.Questa.run().
List[str] esi-cosim.Questa.run_command | ( | self, | |
bool | gui | ||
) |
Return the command to run the simulation.
Reimplemented from esi-cosim.Simulator.
Definition at line 293 of file esi-cosim.py.
References esi-cosim.Simulator.sources.
Referenced by Python.setup.CustomBuild.run(), setup.CustomBuild.run(), and esi-cosim.Simulator.run().
|
static |
Definition at line 266 of file esi-cosim.py.
|
static |
Definition at line 269 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().