1. Vid P
  2. UVM
  3. Monday, 15 April 2019
Hi I have a question about how to preload the processor memories from a UVM agent the iput files are hex files.
Responses (1)
Accepted Answer Pending Moderation
Usually memory models are used to store data, and should have some APIs to load the hex files into memory locations by backdoor writes. Or you can do a frontdoor load using a UVM agent and depends on what the interface is. For example, the top level design may have an AHB bus which is connected to a bus matrix and internally connected to RAM module. In this case, you would need an AHB agent to load memory. The hex files will have to be read into a local testbench variable and then use a sequence that will start a sequence_item on the agent with the correct address and data pairs. To take a very simple example, the first line of the hex file is 0xabcd1234, a 4 byte word that should be loaded into say location 0x3000 and the next 4 bytes should be loaded to next location and so on. This totally depends on the RAM size, number of banks, if they are interleaved, etc.
  1. more than a month ago
  2. UVM
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

You consent to our cookies if you continue to use our website. To know more about cookies, see our privacy policy. I accept cookies from this site.

Agree