Obtaining list of variables inside a uvm object

In reply to Venkatesh Maddibande Sheshadrivasan:

2 remarks:
(1) don’t use fieled macros
(2) implement your individual function which returns the data you need. Ther is nothing available in the UVM library for doing this.