Synopsis
mdc view wave [/remote/work/path/to/file/][wavefilename].vcd
DSim Cloud allows you to view a waveform file that is generated after a simulation is complete, through GTKWave. However, you have to specify that you want to output a wave file in your simulation command.
Current Working Directory Example
The following example from the Walkthrough Tutorial will run a simulation from the current working directory and output the wave file to the current working directory.
mdc dsim -a '-F filelist.txt +acc+b -waves waves.vcd'
In the above command, DSim Cloud will generate a wave file named waves.vcd.
You can then open the waves.vcd file like so:
mdc view wave waves.vcd
This will download to your current working directory and open the waves.vcd file with GTKWave. To return to your simulation, close GTKWave and press <Enter> in your terminal window to return to your prompt.
Specifying an Output Path and File Name
The following example will output a file to a directory in the remote workspace directory /remote/work/
mdc dsim -a '-F filelist.txt +acc+b -waves /remote/work/waves.vcd'
In the above command, DSim Cloud will generate a wave file named waves.vcd in the remote workspace /remote/work/
You can then open the waves.vcd file like so:
mdc view wave /remote/work/waves.vcd
This will download to your current working directory and open the waves.vcd file with GTKWave.
For more information on generating a wave file with DSim, please refer to this article.