Closed Intuity closed 2 years ago
Thanks for your report! Indeed, although UHDM plugin supports unions, they were not handled correctly in ports. https://github.com/SymbiFlow/yosys-f4pga-plugins/pull/280 adds that support and with that the test case you linked can be parsed.
Please let us know if you run into any other errors.
That works great - thanks!
In my SystemVerilog I have a union declared within a package - each entry of the union references a separate struct definition:
I'm then using this union to declare a port:
When running
read_verilog_with_uhdm
on this file, I get:Does this mean that union types are not supported by the UHDM plugin?
To recreate this, place the files that I have attached to the ticket into a directory and execute:
rtl.zip