Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17003 Discussions

[ModelSim] vsim command - why Wave window is reloaded?

amildm
Valued Contributor I
1,766 Views

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!

0 Kudos
1 Solution
amildm
Valued Contributor I
1,713 Views

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...

 

 
 

 

 

View solution in original post

0 Kudos
9 Replies
amildm
Valued Contributor I
1,751 Views

any response?

0 Kudos
sstrell
Honored Contributor III
1,728 Views

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

0 Kudos
SyafieqS
Employee
1,725 Views

Hi Dmitry,


Does previous reply helps?

Yes, You should select the signal and add wave to the window to see it.




0 Kudos
amildm
Valued Contributor I
1,722 Views

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?

 

0 Kudos
sstrell
Honored Contributor III
1,714 Views

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.

0 Kudos
amildm
Valued Contributor I
1,714 Views

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...

 

 
 

 

 

0 Kudos
SyafieqS
Employee
1,615 Views

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.


amildm
Valued Contributor I
1,592 Views

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?

0 Kudos
SyafieqS
Employee
1,541 Views

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.


0 Kudos
Reply