In reply to dave_59:
Hi Dave, I have one more question
I had tried the following
`uvm_info(this.get_type_name(), $sformatf("Type is %s", enum_common_type'(xact_type)), UVM_NONE)
`uvm_info(this.get_type_name(), $sformatf("Type is %s", xt), UVM_NONE)
`uvm_info(this.get_type_name(), $sformatf("Type is %s", xt.name()), UVM_NONE)
and I got the result
- Type is @#$% (garbled code)
- Type is WRITE
- Type is WRITE
May I know why is 1 not working?
Thank you