oddball / ipxact2systemverilog

Translates IPXACT XML to synthesizable VHDL or SystemVerilog
GNU General Public License v2.0
57 stars 19 forks source link

Expose record-to-sulv and sulv-to-record functions in the vhdl generated package #36

Closed brucebenedictus closed 2 years ago

brucebenedictus commented 2 years ago

For my project I need to use the sulv<->record functions outside of the generated package. Made this a configuration. To stay compatible I needed to pass the configuration to the generator functions. If this "VhdlPublicConvFunct" configuration is made it will print the function declarations in the VHDL package.

brucebenedictus commented 2 years ago

I would like these conversion functions so the register description can be used by the VHDL testbench. It would be nice to have this feature or some feedback on how this feature could be added.

oddball commented 2 years ago

LGTM