Then the following hdl files are created: I first created an FIR and an FFT using MegaWizard Plug-In Manager. This can be done manually, or you can reselect the "Use Automatic DO file" option and let Project Navigator make a new template for you.Thanks for your help! Now the problem is that I don't know which files to put into my modelsim project. Also, if any files are added or deleted from the project, the custom DO file needs to be modified appropriately. These steps must be redone for other simulation processes if necessary. The automatic DO file will still be used for the other simulation processes. Check "Use Custom Do File" and select the custom DO file that you created.Īfter performing this, Project Navigator will always use the custom DO when this process is run. In Project Navigator, right-click the Simulate Process and select Properties.ĩ. Optionally, add the "log -r /*" command after the line from step 5 (see above for more information on log -r /*).ħ. After the "# add wave *" add a new line that calls the saved waveform settings:Ħ. Comment out the call to the ".udo" file:ĥ. For instance, if you are running a behavioral simulation and your testbench is named "top_tb," make a copy of "top_tb.fdo" and rename it to "top_tb_custom.do".ģ. Copy the automatic DO file created by ISE and give it a new name.
To prevent Project Navigator from loading the default signals to the waveform window, you will need to create a custom DO file.
#Blue signals in modelsim altera plus
Therefore, you will get all of the signals that you saved plus the default signals. The only problem with this method is that automatic DO file created by ISE will still load the default waveforms. The ".udo" file will be called by all of the other DO files created by ISE, so these Wave settings will be loaded each time a simulation is run in this project. Open the ".udo" file in the project directory and add the following command: The easiest way to do this is to call the DO file inside the User DO file, ".
There are also a couple of options that allow this DO file to be loaded automatically when running a simulation from Project Navigator. You can then get back to these settings in the Wave window by clicking File -> Load Format and selecting the DO file. To save the settings, click File -> Save Format in the Wave window. After making all of the these changes, it is helpful to save these settings and load them next time the simulation is run. A user might add some additional signals, change the viewing radix, add dividers between signals, etc. It is often necessary to make many modifications to the Waveform window.
How do I save my waveform settings and load them during the next simulation? The ".udo" file is called inside all of the other DO files, so this command will automatically be used when running a simulation through Project Navigator. Open the ".udo" file in the project directory and add the above command anywhere in the file. You can add this command to the User DO file, ". To change this behavior, you can use the following command to instruct ModelSim to retain all signal values in memory during the simulation: If additional signals are added after the simulation was run, no values will be displayed for these signals in the Wave window. main_.wf /sp605_kunal.doīy default, the only signal values that are maintained in memory are the signals that were already added to the Wave window before the simulation was run. How do I store all signal transitions during the simulation so that when I add a new signal to the Wave window I do not have to restart and rerun the simulation?