CIRCT  20.0.0git
Public Member Functions | Static Public Attributes | List of all members
esi-cosim.Questa Class Reference
Inheritance diagram for esi-cosim.Questa:
Inheritance graph
[legend]
Collaboration diagram for esi-cosim.Questa:
Collaboration graph
[legend]

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
 

Detailed Description

Run and compile funcs for Questasim.

Definition at line 261 of file esi-cosim.py.

Member Function Documentation

◆ compile_commands()

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().

◆ internal_compile_commands()

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().

◆ run()

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.

◆ run_command()

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().

Member Data Documentation

◆ DefaultDriver

string esi-cosim.Questa.DefaultDriver = CosimCollateralDir / "driver.sv"
static

Definition at line 264 of file esi-cosim.py.

◆ UsesStderr

bool esi-cosim.Questa.UsesStderr = False
static

Definition at line 267 of file esi-cosim.py.

Referenced by esi-cosim.Simulator.compile().


The documentation for this class was generated from the following file: