# \#umv-compare

**URL:** https://verificationacademy.com/forums/tag/umv-compare/4796.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [How to compare dynamic array in UVM using native compare and then print it?](https://verificationacademy.com/forums/t/how-to-compare-dynamic-array-in-uvm-using-native-compare-and-then-print-it/29736)

<div class="topic-metadata">

**Author:** [@justrajdeep](https://verificationacademy.com/forums/u/justrajdeep)\
**Replies:** 0\
**Last updated:** [July 24, 2014, 11:33am UTC](https://verificationacademy.com/forums/t/how-to-compare-dynamic-array-in-uvm-using-native-compare-and-then-print-it/29736 "2014-07-24T11:33:33Z")

</div>

Hi I have an transaction object and in that i have an dynamic array. this array is registered with factory using uvm\_field\_int I know i can compare two objects using .compare, can i do the same for only portion of the…
