kwaj wrote:
> I use the ASSERT command to view individual elements but if possible, I
> would like to be able to dump the entire contents of an array to a file
> and view it accordingly.
>
> Is there away to do this?
Yes.
If you have modelsim, just leaving the
mouse arrow over the array waveform will
pop up a box with all values in it.
If you don't, just add something like this
to your testbench:
report "array of ints";
dump : for i in these_ints'range loop
report integer'image(these_ints(i));
end loop dump;
-- Mike Treseler
|