User guide

6-9
VPD and EVCD File Generation
Note that MDA system tasks can take 0 or more arguments, with the
following caveats:
No arguments: The whole design is traversed and all memories
and MDAs are recorded.
Note that this process may cause significant memory usage, and
simulation drag.
One argument: If the object is a scope instance, all memories/
MDAs contained in that scope instance and its children will be
recorded. If the object is a memory/MDA, that object will be
recorded.
Using $vcdplusmemon and $vcdplusmemoff
You can use the $vcdplusmemon and $vcdplusmemoff tasks to
turn on and off, respectively, the recording of changes within
memories or MDAs in a design. By using these tasks in VCS, you are
able to view changes of memories and MDAs in DVE windows.
Running VCS
In order for VCS to provide MDA data using the $vcdplusmemon
and $vcdplusmemoff tasks, it requires the +memcbk and the +v2k
switches.
VCS example:
vcs -R -I mda.v +memcbk +v2k
MDA declaration example:
reg [1:0] mem [3:0] [6:4];