Hi @taichi-ishitani ,
I've started using Rggen at Ultraleap and think it is going to be a great help with registers in our UVM testbenches. However Quartus is reporting an issue to do with packed enum types and I wondered if you have seen this?
The error is line 76 of rggen_adapter_common.sv: "rggen_status [RESPONSES-1:0] status"
Quartus says: "Error (10168): SystemVerilog Declaration error at rggen_adapter_common.sv(76): prefix for packed array type does not refer to a packable type"
Someone had the same issue here, but with a very old version of Quartus: https://community.intel.com/t5/Intel-Quartus-Prime-Software/SystemVerilog-compile-error-when-casting/td-p/70689
I'm using Quartus Prime Lite 19.1.0 on Ubuntu 20.04.1 LTS.
Your code looks correct so I don't want to change it to unpacked if there is an easier solution (that can be shared with everyone too). Any ideas would be great, thanks.
regards,
Chris Freeman / Senior FPGA Engineer
rake
command:$ cd rggen-systemverilog
$ rake spec