SystemRDL / PeakRDL-systemrdl

Convert a compiled register model into SystemRDL code.
GNU General Public License v3.0
1 stars 2 forks source link

Enumerated type is not exported #2

Closed gasrodriguez closed 1 year ago

gasrodriguez commented 1 year ago

Hi, I'm using the ip-exact importer and exporting to systemrdl, and the enumerated definition is not being exported.

Field f1 has the encode property pointing to the expected enum type, but the type is not defined. I'm mostly sure the problem is with the systemrdl exporter because exporting from ip-xact to ip-xact or from systemrdl (with the enum added by hand) to ip-xact show the values correctly.

amykyta3 commented 1 year ago

Thanks! Yep looks like I forgot to actually generate the enum definition. I put this exporter together pretty quickly so not surprised I missed a few things!

amykyta3 commented 1 year ago

Fixed in v0.3.0