Jump to content

burst_ write in a memory


Recommended Posts

hello,

I want to write in all addresses of a 64*128 bits memory addressing one memory location. To me, that means doing a burst_write of 64*128 bits of data .

However, when I use this function, the sequence generated writes 128 bits of data in each address (the address is incremented after each 128 bits of data) instead of 8192 bits of data at the first address .

Is there any function that writes 64*128 bits of data without passing the address of each memory location but only the first one ?

In other words, is it possible to write more than the value of `UVM_REG_DATA_WIDHT data in one address?

thanks

Link to comment
Share on other sites

To extend the width very width should not be the original purpose of uvm_reg. my suggestion is that you could implement another mem_set sequence as following, which contains for loop and uvm_reg memory write.

`uvm_do_with ( mem_set, {

start_address == 0x8000_0000;

length == 64 * 128;

value == 0;

})

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...