|
CIRCT 24.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 | |
| list | user = [] |
| list | dpi_so = ["EsiCosimDpiServer"] |
| list | dpi_sv |
| top = top | |
Protected Member Functions | |
| Path | _find_dpi (self, str name, bool link) |
Definition at line 60 of file simulator.py.
| None simulator.SourceFiles.__init__ | ( | self, | |
| str | top ) |
Definition at line 62 of file simulator.py.
|
protected |
Definition at line 115 of file simulator.py.
Referenced by dpi_link_paths(), and dpi_so_paths().
| simulator.SourceFiles.add_dir | ( | self, | |
| Path | dir ) |
Add all the RTL files in a directory to the source list. Files named in the directory's `filelist.f` (as written by ExportVerilog) are added first, in the listed order, since some simulators require dependencies such as packages to be compiled before their users.
Definition at line 84 of file simulator.py.
References add_dir(), append(), and user.
Referenced by add_dir().
| simulator.SourceFiles.add_file | ( | self, | |
| Path | file ) |
Add a single RTL file to the source list.
Definition at line 77 of file simulator.py.
| 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 109 of file simulator.py.
References _find_dpi(), and dpi_so.
| 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 104 of file simulator.py.
References _find_dpi(), and dpi_so.
| List[Path] simulator.SourceFiles.rtl_sources | ( | self | ) |
Return a list of all the RTL source files.
Definition at line 156 of file simulator.py.
| list simulator.SourceFiles.dpi_so = ["EsiCosimDpiServer"] |
Definition at line 66 of file simulator.py.
Referenced by dpi_link_paths(), and dpi_so_paths().
| list simulator.SourceFiles.dpi_sv |
Definition at line 68 of file simulator.py.
Referenced by rtl_sources().
| simulator.SourceFiles.top = top |
Definition at line 75 of file simulator.py.
| list simulator.SourceFiles.user = [] |
Definition at line 64 of file simulator.py.
Referenced by add_dir(), add_file(), and rtl_sources().