PeakRDL-verilog
Generate Verilog register model from compiled SystemRDL input
Installing
Install from github only at the moment.
Exporter Usage
Pass the elaborated output of the SystemRDL Compiler to the exporter.
import sys
from systemrdl import RDLCompiler, RDLCompileError
from peakrdl.verilog import VerilogExporter
rdlc = RDLCompiler()
try:
rdlc.compile_file("path/to/my.rdl")
root = rdlc.elaborate()
except RDLCompileError:
sys.exit(1)
exporter = VerilogExporter()
exporter.export(root, "test.sv")
Verification
The tool will generate a tb for your module in the same directory. This will test the HW interface
Reference
VerilogExporter(**kwargs)
Constructor for the Verilog Exporter class
Optional Parameters
user_template_dir- Path to a directory where user-defined template overrides are stored.
user_template_context- Additional context variables to load into the template namespace.
VerilogExporter.export(node, path, **kwargs)
Perform the export!
Parameters
node- Top-level node to export. Can be the top-level
RootNodeor any internalAddrmapNode.
- Top-level node to export. Can be the top-level
path- Output file.
Optional Parameters
Metadata
Release files for peakrdl-verilog 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| peakrdl-verilog-1.0.0.tar.gz | 28.6 kB | Without provenance | Details for peakrdl-verilog-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| peakrdl_verilog-1.0.0-py3.10.egg | Legacy Egg format | - | - | Details for peakrdl_verilog-1.0.0-py3.10.egg |
Total release size: 55.4 kB
Release files / peakrdl-verilog-1.0.0.tar.gz
| Download URL | peakrdl-verilog-1.0.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
255aa5154ba34156a93e2e065eaf98e5857f78207188f27bdea61284057d2959
|
|
BLAKE2b-256 checksum How to use checksums |
4000e0108a2f02ef68eee577307fb233d8dcf9574b4151614e82636501283345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / peakrdl_verilog-1.0.0-py3.10.egg
| Download URL | peakrdl_verilog-1.0.0-py3.10.egg |
|---|---|
| Size | 26.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2e7c5b8bf59b992062393fc1218a426b13db665a6d7cf354d29ffd3ea7c2b103
|
|
BLAKE2b-256 checksum How to use checksums |
27e82507043c5d2640b494c60c50d31ae0440d54316d8ed2ffe31ac9186033b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for peakrdl-verilog 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.