oddball / ipxact2systemverilog

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

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

Closed brucebenedictus closed 1 year ago

brucebenedictus commented 1 year 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 1 year 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 1 year ago

LGTM