Closed kauser-rl closed 2 years ago
sv2v doesn't yet support this feature, but I can add it! I'll update here within a few days.
I've pushed support for enumerated type ranges. Please give it a shot and let me know if it works for you!
Note that 9'hF00
in the above example is rejected by sv2v because the digits make up 12 bits, in excess of the explicitly given width of 9.
I seem to have hit an error trying to build from the latest cloned version of the repo. Is it possible to generate a binary for Ubuntu 20.04
?
Please try running one of the uploaded artifacts on the latest workflow runs: https://github.com/zachjs/sv2v/actions. Those binaries are produced in the same manner as the official releases.
Downloaded the Linux artifact and tested on my database. It seems to work as expected. Thanks.
Try to convert a legal SV
typedef enum
below. I'm usingv0.0.9-0-gc822d2e
.