# Unable to compile a register model using registers of size 2048 bits

**URL:** <https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498>\
**Category:** UVM\
**Tags:** uvm-register-model, UVM, questasim, UVM-Questa\
**Created:** [September 5, 2019, 9:28am UTC](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498 "2019-09-05T09:28:27Z")\
**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:** [September 5, 2019, 11:06am UTC](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498/2 "2019-09-05T11:06:30Z")

</div>

_In reply to [Marc43](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498):_

UVM\_REG\_DATA\_WIDTH is a parameter used by the RAL. With +define+ you are specifying a macro but not a parameter. Best is to set UVM\_REG\_DATA\_WIDTH in your RAL package to the correct value.

---

_[View the full topic](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498)._
