Examining memory array values during simulation

T

Travis

Guest
I have a memory array and I'd like to be able to pull up a list of all the array values at given points in the simulation. Writing out $display statements tagged with the time seems clunky.

Is there a better and/or more elegant way?

Thanks!
 
On Thursday, August 1, 2013 5:43:04 PM UTC-7, Travis wrote:
I have a memory array and I'd like to be able to pull up a list of all the array values at given points in the simulation. Writing out $display statements tagged with the time seems clunky.



Is there a better and/or more elegant way?
This is going to be tool dependent. What software are you using? Many (I'm using Cadence IUS now) have memory viewer windows in addition to the waveform window.
 
On Thursday, August 1, 2013 5:43:04 PM UTC-7, Travis wrote:
I have a memory array and I'd like to be able to pull up a list of all the array values at given points in the simulation. Writing out $display statements tagged with the time seems clunky.

Is there a better and/or more elegant way?

How big is the array? If your tool doesn't support array monitoring (also check the debug options; some tools require you to add more options to be able to view array values), you can generate individual wires which point to specific addresses (ie wire [7:0] x0 = x[0]; etc.) but I am not sure if this is any better or more elegant.
 

Welcome to EDABoard.com

Sponsor

Back
Top