Leon Posted December 1, 2022 Report Share Posted December 1, 2022 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? Quote Link to comment Share on other sites More sharing options...
Mark Strickland Posted December 5, 2022 Report Share Posted December 5, 2022 I would agree the existing signature does not look right. We will investigate in the Accellera UVM committee. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.