CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
simulator.SourceFiles Class Reference

Public Member Functions

None __init__ (self, str top)
 
 add_file (self, Path file)
 
 add_dir (self, Path dir)
 
List[Path] dpi_so_paths (self)
 
List[Path] dpi_link_paths (self)
 
List[Path] rtl_sources (self)
 

Public Attributes

 top
 

Protected Member Functions

Path _find_dpi (self, str name, bool link)
 

Detailed Description

Definition at line 59 of file simulator.py.

Constructor & Destructor Documentation

◆ __init__()

None simulator.SourceFiles.__init__ (   self,
str  top 
)

Member Function Documentation

◆ _find_dpi()

Path simulator.SourceFiles._find_dpi (   self,
str  name,
bool  link 
)
protected

◆ add_dir()

simulator.SourceFiles.add_dir (   self,
Path  dir 
)
Add all the RTL files in a directory to the source list.

Definition at line 83 of file simulator.py.

References simulator.SourceFiles.add_dir(), and append().

Referenced by simulator.SourceFiles.add_dir().

◆ add_file()

simulator.SourceFiles.add_file (   self,
Path  file 
)
Add a single RTL file to the source list.

Definition at line 76 of file simulator.py.

References append().

◆ dpi_link_paths()

List[Path] simulator.SourceFiles.dpi_link_paths (   self)
Return a list of files to pass to the linker for the DPI libraries.
On POSIX this is the same as ``dpi_so_paths()``; on Windows it is the
import library (``.lib``) sitting next to the DLL.

Definition at line 96 of file simulator.py.

References simulator.SourceFiles._find_dpi().

◆ dpi_so_paths()

List[Path] simulator.SourceFiles.dpi_so_paths (   self)
Return a list of all the DPI shared object files (the loadable
artifact: ``.so`` on POSIX, ``.dll`` on Windows).

Definition at line 91 of file simulator.py.

References simulator.SourceFiles._find_dpi().

◆ rtl_sources()

List[Path] simulator.SourceFiles.rtl_sources (   self)
Return a list of all the RTL source files.

Definition at line 143 of file simulator.py.

Member Data Documentation

◆ top

simulator.SourceFiles.top

Definition at line 74 of file simulator.py.


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