peakrdl_bsv ¶
Top-level package for PeakRDL bsv.
Modules:
-
cli–Console script for peakrdl_bsv.
-
exporter–PeakRDL BSV exporter.
-
print_bsv_csr–Toplevel CSR Module generator.
-
print_bsv_reg–Write Bluespec Register file.
-
print_bsv_signal–Write Bluespec Signal class.
-
templates–Init File.
Classes:
-
BSVExporter–PeakRDL BSV exporter main class.
BSVExporter ¶
PeakRDL BSV exporter main class.
Methods:
-
export–Writeout the BSV code.
export ¶
export(
top_node: Union[AddrmapNode, RootNode],
outputpath: str,
input_files: Optional[List[str]] = None,
rename: Optional[str] = None,
depth: int = 0,
test: bool = False,
)
Writeout the BSV code.
Source code in src/peakrdl_bsv/exporter.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |