[otbn,dv] Use correct uvm macro for enum fields
These fields are enums, not integers, and VCS was (rightly!) spitting
out a load of warnings in the build log.
Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/hw/ip/otbn/dv/uvm/env/otbn_trace_item.sv b/hw/ip/otbn/dv/uvm/env/otbn_trace_item.sv
index aa578b2..aa495ee 100644
--- a/hw/ip/otbn/dv/uvm/env/otbn_trace_item.sv
+++ b/hw/ip/otbn/dv/uvm/env/otbn_trace_item.sv
@@ -58,8 +58,8 @@
`uvm_field_int (gpr_write_data, UVM_DEFAULT | UVM_HEX)
`uvm_field_int (wdr_write_data, UVM_DEFAULT | UVM_HEX)
`uvm_field_int (call_stack_flags, UVM_DEFAULT)
- `uvm_field_int (loop_stack_fullness, UVM_DEFAULT)
- `uvm_field_int (call_stack_fullness, UVM_DEFAULT)
+ `uvm_field_enum (stack_fullness_e, loop_stack_fullness, UVM_DEFAULT)
+ `uvm_field_enum (stack_fullness_e, call_stack_fullness, UVM_DEFAULT)
`uvm_field_int (current_loop_end, UVM_DEFAULT | UVM_HEX)
`uvm_field_int (at_current_loop_end_insn, UVM_DEFAULT)
`uvm_field_int (mod, UVM_DEFAULT | UVM_HEX)