CIRCT 22.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
verilator.Verilator Class Reference
Inheritance diagram for verilator.Verilator:
Inheritance graph
[legend]
Collaboration diagram for verilator.Verilator:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, SourceFiles sources, Path run_dir, bool debug)
 
List[List[str]] compile_commands (self)
 
 run_command (self, bool gui)
 
- Public Member Functions inherited from simulator.Simulator
int compile (self)
 
SimProcess run_proc (self, bool gui=False)
 
int run (self, str inner_command, bool gui=False, bool server_only=False)
 

Public Attributes

 verilator
 
- Public Attributes inherited from simulator.Simulator
 sources
 
 run_dir
 
 debug
 

Static Public Attributes

str DefaultDriver = CosimCollateralDir / "driver.cpp"
 
- Static Public Attributes inherited from simulator.Simulator
bool UsesStderr = True
 

Additional Inherited Members

- Static Public Member Functions inherited from simulator.Simulator
Dict[str, str] get_env ()
 

Detailed Description

Run and compile funcs for Verilator.

Definition at line 12 of file verilator.py.

Constructor & Destructor Documentation

◆ __init__()

verilator.Verilator.__init__ (   self,
SourceFiles  sources,
Path  run_dir,
bool  debug 
)

Reimplemented from simulator.Simulator.

Definition at line 17 of file verilator.py.

References verilator.Verilator.__init__().

Referenced by verilator.Verilator.__init__(), and synth.LongestPathCollection.merge().

Member Function Documentation

◆ compile_commands()

List[List[str]] verilator.Verilator.compile_commands (   self)
Compile the sources. Returns the exit code of the simulation compiler.

Reimplemented from simulator.Simulator.

Definition at line 24 of file verilator.py.

References esi::CliParser.debug, esi::Logger.debug(), esi::Logger.debug(), simulator.Simulator.debug, simulator.Simulator.sources, and verilator.Verilator.verilator.

Referenced by simulator.Simulator.compile().

◆ run_command()

verilator.Verilator.run_command (   self,
bool  gui 
)
Return the command to run the simulation.

Reimplemented from simulator.Simulator.

Definition at line 57 of file verilator.py.

References simulator.Simulator.sources.

Referenced by Python.setup.CustomBuild.run(), setup.CustomBuild.run(), and simulator.Simulator.run_proc().

Member Data Documentation

◆ DefaultDriver

str verilator.Verilator.DefaultDriver = CosimCollateralDir / "driver.cpp"
static

Definition at line 15 of file verilator.py.

◆ verilator

verilator.Verilator.verilator

Definition at line 20 of file verilator.py.

Referenced by verilator.Verilator.compile_commands().


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