# Applying unique to random variables

**URL:** <https://verificationacademy.com/forums/t/applying-unique-to-random-variables/35572>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, constraint, associative-array\
**Created:** [January 5, 2019, 11:45pm UTC](https://verificationacademy.com/forums/t/applying-unique-to-random-variables/35572 "2019-01-05T23:45:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [January 6, 2019, 6:02am UTC](https://verificationacademy.com/forums/t/applying-unique-to-random-variables/35572/2 "2019-01-06T06:02:52Z")

</div>

_In reply to [kernalmode1](https://verificationacademy.com/forums/t/applying-unique-to-random-variables/35572):_

Unpacked arrays include fixed sized, dynamic-sized, queues and associative arrays. I could not reproduce the error you did not show. Note that you cannot randomly size an associative array.

---

_[View the full topic](https://verificationacademy.com/forums/t/applying-unique-to-random-variables/35572)._
