Jump to content

Argument problem of uvm_mem_region::burst_read() in uvm-1.2


Recommended Posts

Today, I used the method burst_read() in class uvm_mem_region. passing a dynamic array to it, which had been allocated a size of 100, but burst_read output an array of 0 size.

I have checked the source code, and found a problem.

The array value[] has a modifier of output, and value.size() in the method will always return 0, because the local value[] never be allocated. I think the modifier should be ref. 

Anyone know if this is right?


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.

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