# Obtaining list of variables inside a uvm object

**URL:** <https://verificationacademy.com/forums/t/obtaining-list-of-variables-inside-a-uvm-object/37553>\
**Category:** UVM\
**Tags:** UVM, uvm\_object\
**Created:** [May 7, 2020, 6:52pm UTC](https://verificationacademy.com/forums/t/obtaining-list-of-variables-inside-a-uvm-object/37553 "2020-05-07T18:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [May 8, 2020, 8:11am UTC](https://verificationacademy.com/forums/t/obtaining-list-of-variables-inside-a-uvm-object/37553/2 "2020-05-08T08:11:50Z")

</div>

_In reply to [Venkatesh Maddibande Sheshadrivasan](https://verificationacademy.com/forums/t/obtaining-list-of-variables-inside-a-uvm-object/37553):_

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.

---

_[View the full topic](https://verificationacademy.com/forums/t/obtaining-list-of-variables-inside-a-uvm-object/37553)._
