# Address constraint randomization

**URL:** <https://verificationacademy.com/forums/t/address-constraint-randomization/41292>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, randomization\
**Created:** [February 18, 2023, 2:01am UTC](https://verificationacademy.com/forums/t/address-constraint-randomization/41292 "2023-02-18T02:01:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sk7799](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/b487fb/32.png) [@sk7799](https://verificationacademy.com/forums/u/sk7799)\
**Post date:** [February 18, 2023, 4:41pm UTC](https://verificationacademy.com/forums/t/address-constraint-randomization/41292/3 "2023-02-18T16:41:56Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/address-constraint-randomization/41292/2):_  
Hi Dave,

The question is that there’s a 4GB memory space. Write a constraint so that the addresses are populated 5% in the upper 1GB boundary and 5% in the lower 1GB boundary.

Also here as per my understanding from your previous discussions on dist in the forum, I should be using :=  
Please advice.

Thanks.

---

_[View the full topic](https://verificationacademy.com/forums/t/address-constraint-randomization/41292)._
