Skip to main content

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.


pip install ipxact2systemverilog
ipxact2systemverilog --srcFile FILE --destDir DIR
ipxact2rst --srcFile FILE --destDir DIR
ipxact2vhdl --srcFile FILE --destDir DIR



Testing the example file


If Modelsim is installed:

make compile
make sim


You can use to make a pdf from the generated reStructuredText. You can use to convert to almost any fileformat.


To validate your xml

xmllint --noout --schema ipxact2systemverilog/xml/component.xsd  example/input/test.xml


pip install docutils lxml tabulate future

Dependencies used by makefile

These are not needed for ipxact2systemverilog, but used for generating some of the files in example/output

pip2 install rst2pdf
brew install pandoc

Working in development mode for pypi

pip3 install -e .
python3 sdist
python3 sdist upload -r pypi


  • Should compile the verilog output with but sadly icarus does not support enough SV yet
  • 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 to enable dumping out the modified XML
  • Support DIM

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ipxact2systemverilog, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size ipxact2systemverilog-1.0.5.tar.gz (43.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page