CIRCT
20.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) |
Public Member Functions inherited from esi-cosim.Simulator | |
def | __init__ (self, SourceFiles sources, Path run_dir, bool debug) |
int | compile (self) |
Static Public Attributes | |
string | DefaultDriver = CosimCollateralDir / "driver.sv" |
bool | UsesStderr = False |
Static Public Attributes inherited from esi-cosim.Simulator | |
bool | UsesStderr = True |
Additional Inherited Members | |
Static Public Member Functions inherited from esi-cosim.Simulator | |
Dict[str, str] | get_env () |
Public Attributes inherited from esi-cosim.Simulator | |
sources | |
run_dir | |
debug | |
Run and compile funcs for Questasim.
Definition at line 261 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 281 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 269 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 314 of file esi-cosim.py.
References esi-cosim.Simulator.run_dir.
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 291 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 264 of file esi-cosim.py.
|
static |
Definition at line 267 of file esi-cosim.py.
Referenced by esi-cosim.Simulator.compile().