Generate VHDL, SystemVerilog, html, rst, pdf from an IPXACT description
Project description
ipxact2systemverilog ipxact2rst ipxact2vhdl
This software takes an IP-XACT description of register banks, and generates synthesizable VHDL and SystemVerilog packages and ReStructuredText documents. It ONLY considers register bank descriptions. The software does not generate OVM or UVM testbench packages. In the example/tb directory there is an example of how to use the generated packages.
Usage
pip3 install ipxact2systemverilog
ipxact2systemverilog --srcFile FILE --destDir DIR ipxact2rst --srcFile FILE --destDir DIR ipxact2vhdl --srcFile FILE --destDir DIR
Development
See https://github.com/oddball/ipxact2systemverilog
Testing the example file
make
If Modelsim is installed:
make compile make sim
Note
From the reStructuredText file, together with http://docutils.sourceforge.net and http://rst2pdf.ralsina.com.ar it is possible to generate pdf and html files of the IP-XACT register bank descriptions.
Validation
To validate your xml
xmllint --noout --schema ipxact2systemverilog/xml/component.xsd example/input/test.xml
Dependencies
pip3 install docutils pip3 install lxml pip2 install rst2pdf
Working in development mode for pypi
pip install -e . python setup.py sdist python setup.py sdist upload -r pypitest python setup.py sdist upload -r pypi
TODO
A better testbench for the generated packages should be implemented.
More complicated IPXACT files should be added and tried out.
Add support for the SystemVerilog generator to have a register field of an enumerated type.
Use http://pyxb.sourceforge.net to enable dumping out the modified XML
Support DIM
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for ipxact2systemverilog-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cdfc06c02796069bf7f33caccb911b39460a49822fd75fdfdb00654f5b62cf2 |
|
MD5 | 4fd846a5baae6929cdc51cad4104e325 |
|
BLAKE2b-256 | 162613ce2ee74240c8112e25f2bb55b78312461450135f6d906f83985237eef8 |