# 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:** 3

<div class="post-metadata">

**Author:** ![Marc43](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@Marc43](https://verificationacademy.com/forums/u/Marc43)\
**Post date:** [September 5, 2019, 12:36pm UTC](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498/3 "2019-09-05T12:36:14Z")

</div>

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

> _In reply to [Marc43](https://verificationacademy.com/forums/t/unable-to-compile-a-register-model-using-registers-of-size-2048-bits/36498/2):_  
> 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.

Thank you for your reply. Then doing

```auto
`define UVM_REG_DATA_WIDTH 2048

```

at the top of my RAL package, should work?

It does not work for me.

---

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