We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 7804

ModelSim (MXE, SE, PE) - How to save waveform results?


General Description:  

How to save the waveform results in the ModelSim simulator?


During a simulation run, ModelSim writes out a "vsim.wlf" file, which contains the waveform information for that run. 


To be able to view the saved results, load up the "vsim.wlf" file from within ModelSim as follows: 


Modelsim Prompt> vsim -view vsim.wlf 


ModelSim will then load up the simulation information. However, it does not launch the waveform window. To do this, open the waveform window and add the list of signals to the wave window: 


Modelsim Prompt> view wave 

Modelsim Prompt> add wave * 


ModelSim will then launch the wave window, list the signals and show the results as seen in the "vsim.wlf" file.

AR# 7804
Date Created 08/21/2007
Last Updated 05/14/2014
Status Archive
Type General Article