I have an associative array of enum with another enum as a key to associative array. Currently UVM doesn't have field macro to register this in the UVM factory.
I am getting below warning if I use "`uvm_field_aa_int_enumkey"
`uvm_field_aa_int_enumkey(e_cmd_type, scen_dist, UVM_ALL_ON)
ncelab: *W,ENUMERR (./testbench.sv,37|69): This assignment is a violation of SystemVerilog strong typing rules for enumeration datatypes.
Is there anyway I can avoid this warning?
Link to edaplayground code. : https://www.edaplayground.com/x/3pHD