# Constraining address for the memory making sure the Offset is not within the previous memory regions

**URL:** <https://verificationacademy.com/forums/t/constraining-address-for-the-memory-making-sure-the-offset-is-not-within-the-previous-memory-regions/33486>\
**Category:** UVM\
**Tags:** SV-Constraint-Solver, UVM, SV-constraint, constrained-random-generation\
**Created:** [September 13, 2017, 1:40am UTC](https://verificationacademy.com/forums/t/constraining-address-for-the-memory-making-sure-the-offset-is-not-within-the-previous-memory-regions/33486 "2017-09-13T01:40:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![piyer](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/p/c4cdca/32.png) [@piyer](https://verificationacademy.com/forums/u/piyer)\
**Post date:** [September 14, 2017, 5:27am UTC](https://verificationacademy.com/forums/t/constraining-address-for-the-memory-making-sure-the-offset-is-not-within-the-previous-memory-regions/33486/3 "2017-09-14T05:27:54Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/constraining-address-for-the-memory-making-sure-the-offset-is-not-within-the-previous-memory-regions/33486/2):_

Hi Dave,

Thanks a lot for the reply. It did help me to extend from your constraints code. since my address is all word aligned i made sure i save only the address which is word boundary in the data structure.

Regards,  
Prash

---

_[View the full topic](https://verificationacademy.com/forums/t/constraining-address-for-the-memory-making-sure-the-offset-is-not-within-the-previous-memory-regions/33486)._
