Encore SIM EDITOR SOFTWARE User's Guide Page 394

  • Download
  • Add to my manuals
  • Print
  • Page
    / 449
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 393
17-10
VCD+ (vpd) File Generation
Running VCS
In order for VCS 7.0 to provide MDA data using the $vcdplusmemon
and $vcdplusmemoff tasks, the VCS +memcbk and the +v2k
switches are required.
VCS command line example: vcs -R -I mda.v +memcbk +v2k
MDA declaration example: reg [1:0] mem [3:0] [6:4];
In order for VCS 7.0 to provide memory data, the VCS +memcbk
switch is required.
VCS command line example: vcs -R -I mda.v +memcbk
Memory declaration example: reg [1:0] mem [3:0];
Examples
This section provides examples and graphical representations of
various MDA and memory declarations using the $vcdplusmemon
and $vcdplusmemoff tasks.
Note that mem01 in the following example is a three-dimensional array.
It has 3x3x3 (27) locations; each location is 8 bits in length.
reg [3:0] addr1L, addr1R, addr2L, addr2R, addr3L, addr3R;
reg [7:0] mem01 [1:3] [4:6] [7:9]
(See Figure 17-1 for an graphical representation of the previous
example).
Page view 393
1 2 ... 389 390 391 392 393 394 395 396 397 398 399 ... 448 449

Comments to this Manuals

No comments