CIRCT
20.0.0git
|
Public Member Functions | |
def | __init__ (self, SourceFiles sources, Path run_dir, bool debug) |
List[List[str]] | compile_commands (self) |
def | run_command (self, bool gui) |
Public Member Functions inherited from esi-cosim.Simulator | |
int | compile (self) |
int | run (self, str inner_command, bool gui=False) |
Public Attributes | |
verilator | |
Public Attributes inherited from esi-cosim.Simulator | |
sources | |
run_dir | |
debug | |
Static Public Attributes | |
string | DefaultDriver = CosimCollateralDir / "driver.cpp" |
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 () |
Run and compile funcs for Verilator.
Definition at line 216 of file esi-cosim.py.
def esi-cosim.Verilator.__init__ | ( | self, | |
SourceFiles | sources, | ||
Path | run_dir, | ||
bool | debug | ||
) |
Reimplemented from esi-cosim.Simulator.
Definition at line 221 of file esi-cosim.py.
List[List[str]] esi-cosim.Verilator.compile_commands | ( | self | ) |
Compile the sources. Returns the exit code of the simulation compiler.
Reimplemented from esi-cosim.Simulator.
Definition at line 228 of file esi-cosim.py.
References esi-cosim.Simulator.debug, esi::Logger.debug(), esi-cosim.Simulator.sources, and esi-cosim.Verilator.verilator.
Referenced by esi-cosim.Simulator.compile().
def esi-cosim.Verilator.run_command | ( | self, | |
bool | gui | ||
) |
Return the command to run the simulation.
Reimplemented from esi-cosim.Simulator.
Definition at line 254 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 219 of file esi-cosim.py.
esi-cosim.Verilator.verilator |
Definition at line 224 of file esi-cosim.py.
Referenced by esi-cosim.Verilator.compile_commands().