mrforever Posted October 18, 2012 Report Posted October 18, 2012 if i creat one memory via new() method in uvm_mem, how much size can uvm_mem support? if there a big size memory verifies in dut , should i create one big size memory model in uvm via uvm_mem, or just need to create one small size memory whose size equals with the bandwidth of bus? thanks in advance Quote
janick Posted October 18, 2012 Report Posted October 18, 2012 uvm_mem is just a front-end to the physical bus or the backdoor access mechanism to your memory model. It does not store any actual memory content for the exact reason that memory can be huge. It simply computes address offsets and translates wide memory words into smaller accesses if the data bus is narrower. So you simply need to decide on the granularity of your memory accesses (that would be the width of the memory and need mot match the width of the data bus) and how many location it contains (that would be its length) which will determine how many addresses it occupies in the address map. Quote
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.