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

Questasim vdel

skyviper
Novice
1,191 Views

Questasim can't delete libraries using the vdel command. 

Each time I attempt to use the vdel command (GUI or Tcl), I get the following:

vdel -all -lib tb_lib_path
# wrong # args: should be "compile"

Labels (1)
0 Kudos
18 Replies
TingJiangT_Intel
Employee
1,152 Views

Please try this format:

vdel [-all] <library_name>

Use the library name instead of path, and don't use the '-lib' option.


0 Kudos
skyviper
Novice
1,143 Views

That doesn't work. Also, the GUI that does this for you uses this same syntax and doesn't work. I have been using Questasim for a long time and this always worked in the past and is how the manual tells you to do it. Can you get this fixed?

 

Regards

0 Kudos
skyviper
Novice
1,143 Views

Did you check to see if this even worked?

0 Kudos
skyviper
Novice
1,135 Views

Here is a screen show of the GUI attempting to do the same thing.

skyviper_0-1728971461404.png

 

0 Kudos
skyviper
Novice
1,086 Views

More findings:

Now a simple substitution doesn't work:

A command like this doesn't substitute the value
    vlog -work $spi_dut_lib_path  -f $spi_dut_filelist
 
# ** Error: wrong # args: should be "compile"
# Error in macro ./run_scripts/run_spi_har.do line 222
# wrong # args: should be "compile"
# while executing
# "vlog -work $spi_dut_lib_path -f $spi_dut_filelist"
0 Kudos
TingJiangT_Intel
Employee
958 Views

Hi there, which version of Quartus and QuestaSim are you using. I didn't see the same error from my side.


0 Kudos
skyviper
Novice
805 Views

I think its time to escalate issues like this since they are are being ignored in this forum.

0 Kudos
skyviper
Novice
875 Views

The version is 24.2.0.40. I figured out that the tcl environment is broken and the GUI hasn't been updated to conform to the brokeness. I'm guessing that anyone that has been using QuestSim for a while isn't happy with the issues.

0 Kudos
TingJiangT_Intel
Employee
740 Views

Sorry, but I am unable to reproduce your issue. Could you try running it on another server and check if the error might be due to your system environment? If the same issue persists, please share your reproduction steps with me so I can analyze the problem further. Thanks.


0 Kudos
skyviper
Novice
538 Views

I tried this on 2 separate machines and it fails the same way.

0 Kudos
skyviper
Novice
538 Views

As part of this issue can you tell me why the -simulate command fails for qrun?

exec qrun -optimize -log [uplevel set reports_path] -outdir [uplevel set SIM_LIB_PATH] -top top_tb -o top_tb_out \
-makelib [uplevel set spi_dut_lib_path] -f [uplevel set spi_dut_filelist] -endlib \
-makelib [uplevel set dut_lib_path] -f [uplevel set dut_filelist] -endlib \
-makelib [uplevel set spi_tb_resuse_lib_path] -f [uplevel set tb_reuse_filelist] \
-vlog.options +define+[uplevel set SCOPE] -timescale=10ns/1ns -sv -end -endlib \
-makelib [uplevel set tb_lib_path] -f [uplevel set tb_filelist] -vlog.options -timescale=10ns/1ns -sv -end -endlib

 

This works:

eval vsim -work ./$SIM_LIB_PATH/$work_path -L ./$SIM_LIB_PATH/spi_dut_lib -L ./$SIM_LIB_PATH/dut_lib \
-L ./$SIM_LIB_PATH/spi_tb_lib -L ./$SIM_LIB_PATH/tb_lib top_tb_out {*}$vsim_opt
 
This doesn't:
exec qrun -simulate -log $reports_path -outdir $SIM_LIB_PATH \
-vsim.options -w $SIM_LIB_PATH/work -L ./$SIM_LIB_PATH/spi_dut_lib -L ./$SIM_LIB_PATH/dut_lib -L ./$SIM_LIB_PATH/spi_tb_lib \
-L ./$SIM_LIB_PATH/tb_lib {*}$vsim_opt -gui=int -end top_tb_out -script $SIM_LIB_PATH/sscript.run
0 Kudos
skyviper
Novice
537 Views

correction... "-w" should be -work" and it still doesn't work.

0 Kudos
skyviper
Novice
610 Views

I shared the steps in the screen capture. Regardless of how the command is run it fails. vdel -all -Lib name fails in the GUI and in Tcl.

Scripts that I ran in Questasim last year fail as well.

0 Kudos
TingJiangT_Intel
Employee
422 Views

Hi there, Are you using Questasim or Questa Intel?

Vdel is available in Questa Intel which I have tried to reproduce your issue. For Questasim, this issue may need to ask Questasim vendor.


0 Kudos
skyviper
Novice
393 Views

Hi,

Lets stop the back and forth and have a conference call on Teams to allow me to show you again what is going on. I have sent you screen captures that show that I am using Intel products. Please send a link for the meeting.

 

Regards,

Tony

0 Kudos
TingJiangT_Intel
Employee
301 Views

I've scheduled a meeting on Thursday from 2:30 PM to 3:00 PM Malaysia Time (MYT). You can join via the Teams link. Please let me know if this time works for you.


0 Kudos
TingJiangT_Intel
Employee
166 Views

Hi there, we tested the vdel function in questasim 24.1 with win10, and it works well.

Could you please provide your design to us for further investigating on your issue?



0 Kudos
TingJiangT_Intel
Employee
161 Views

BTW, I have submit this issue to the engineer. If any updates, we will inform you.

You can try to reinstall the Quartus (with Intel Questa), and make sure all antivirus, antimalware are turned off, as it may related to the software corruption,


0 Kudos
Reply