- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm about the vsim command...
Here is how I'm used from the Transcript window:
%> vsim -t 1ns \
-L work \
-L work_lib \
-L altera_ver \
-L lpm_ver \
-L sgate_ver \
-L altera_mf_ver \
-L altera_lnsim_ver \
-L cyclone10gx_ver \
-L cyclone10gx_hssi_ver \
-L cyclone10gx_hip_ver \
-L fifo_191 \
-L fifo_dpr_72x4 \
-gui work.${UNIT}_tb \
-voptargs="+acc"
When I execute the above command, the Wave window is reloaded - all the signals are disappear from there and a fresh Wave window without signals is open.
In my intention was just re-elaborate the design after its re-compilation... I don't want that the Wave window will be reloaded...
So, how can I re-elaborate the re-compiled design without destroying signals in the Wave window?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 'restart' command should solve the problem for restarting the simulation after recompilation the whole design...
It seems that the 'restart' command is a subset of the vsim command...
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
any response?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vsim doesn't add signals to the Wave window. You have to use "add wave". This came up from a Google: http://www.pldworld.com/_hdl/2/_ref/se_html/manual_html/c_vcmds18.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dmitry,
Does previous reply helps?
Yes, You should select the signal and add wave to the window to see it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to compile/simulate design in 3 following steps?
1) compilation
2) elaboration
3) simulation
As for compilation, the vcom/vlog commands are used, for simulation - vsim...
What command is used for the design elaboration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you're confusing compilation in Quartus vs. compilation in a simulation tool.
Elaboration is part of building the design hierarchy in Quartus. The commands you mention do something similar in the simulation tool. You still have to always add the signals to the Wave window after you compile the design in ModelSim or QuestaSim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 'restart' command should solve the problem for restarting the simulation after recompilation the whole design...
It seems that the 'restart' command is a subset of the vsim command...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May I know if there is any other concern on this?
Restart button should be rerun you compilation and simulation (whatever command in your .do file ), its not an elaboration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, when the elaboration phase is done? If it's not an independent stage, is it done during the code compilation (vlog) or simulation (vsim)?
Will the 'restart' command re-run the simulation on the latest compiled code automatically?
you wrote: "Restart button should be rerun you compilation and simulation (whatever command in your .do file )" - what's the relation between the RESTART button to my *.do file???
Could the RESTART button be customized?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The relation is for typical design that has not changed and you just want to run it against an updated testbench. In this case you can restart simulation by executing a custom script that you call with the 'do {script-name}' command whenever needed.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page