Hello ,
I want to print the kind “status” of uvm_reg_bus_op which is UVM_OK , UVM_NOT_OK.I am able to print all other attributes like addr ,data.Can anyone please assist on this ?
Thanks,
Prashant
Hello ,
I want to print the kind “status” of uvm_reg_bus_op which is UVM_OK , UVM_NOT_OK.I am able to print all other attributes like addr ,data.Can anyone please assist on this ?
Thanks,
Prashant
In reply to pk_94:
uvm_status_e is an enumeration type. You can print this using the .name extension when printing it like this:
uvm_status_e status;
in your `uvm_info you can use status.name to print the actual value.