|
CIRCT 23.0.0git
|
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) |
Definition at line 59 of file simulator.py.
| None simulator.SourceFiles.__init__ | ( | self, | |
| str | top | ||
| ) |
Definition at line 61 of file simulator.py.
Referenced by synth.LongestPathCollection.drop_non_critical_paths(), and synth.LongestPathCollection.merge().
|
protected |
Definition at line 102 of file simulator.py.
Referenced by simulator.SourceFiles.dpi_link_paths(), and simulator.SourceFiles.dpi_so_paths().
| 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().
| 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().
| 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().
| 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().
| List[Path] simulator.SourceFiles.rtl_sources | ( | self | ) |
Return a list of all the RTL source files.
Definition at line 143 of file simulator.py.
| simulator.SourceFiles.top |
Definition at line 74 of file simulator.py.