Jump to content

Wrong data width to access 128 bits register


Recommended Posts

hello,

I have a register model describing register with various size 16bits, 32 bits or 128 bits. In my uvm_reg_block this registers are well defined but when I tried to access the 128 bits register the data width of the transaction is only 32 bits instead of 128.

Futhermore, this issue happened only if the address of my 128 bits register is higher than my 32 bits register.

Would anyone have a rational explanation

Link to comment
Share on other sites

hello,

I have a register model describing register with various size 16bits, 32 bits or 128 bits. In my uvm_reg_block this registers are well defined but when I tried to access the 128 bits register the data width of the transaction is only 32 bits instead of 128.

Futhermore, this issue happened only if the address of my 128 bits register is higher than my 32 bits register.

Would anyone have a rational explanation

hi,

did you extend `UVM_REG_DATA_WIDTH to 128? otherwise your reg fields can only store upto 64bits by default.

/uwe

Link to comment
Share on other sites

Hello,

I did!

I also find the origin of my problem. In fact in my regmodel I made a mistake by declaring :

default_map = create_map("default_map", 'h6F80000, 4, UVM_BIG_ENDIAN, 0);

instead of:

default_map = create_map("default_map", 'h6F80000, 16, UVM_BIG_ENDIAN, 0);

thanks you

Link to comment
Share on other sites

  • 10 years later...
On 6/21/2011 at 1:56 AM, paul said:

hello,

I have a register model describing register with various size 16bits, 32 bits or 128 bits. In my uvm_reg_block this registers are well defined but when I tried to access the 128 bits register the data width of the transaction is only 32 bits instead of 128.

Futhermore, this issue happened only if the address of my 128 bits register is higher than my 32 bits register.

Would anyone have a rational explanation

Hi Paul 

I have the same error as register model requires that UVM_REG_DATA_WIDTH be defined as 256 or greater. Currently defined as 64. How to change from 64 value ? Thanks 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...