Forum Discussion
Questasim vdel
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"
19 Replies
- TingJiangT_Intel
Contributor
Please try this format:
vdel [-all] <library_name>
Use the library name instead of path, and don't use the '-lib' option.
- skyviper
New Contributor
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
- skyviper
New Contributor
Did you check to see if this even worked?
- skyviper
New Contributor
Here is a screen show of the GUI attempting to do the same thing.
- skyviper
New Contributor
More findings:
Now a simple substitution doesn't work:
A command like this doesn't substitute the valuevlog -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" - TingJiangT_Intel
Contributor
Hi there, which version of Quartus and QuestaSim are you using. I didn't see the same error from my side.
- skyviper
New Contributor
I think its time to escalate issues like this since they are are being ignored in this forum.
- skyviper
New Contributor
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.
- TingJiangT_Intel
Contributor
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.
- skyviper
New Contributor
I tried this on 2 separate machines and it fails the same way.
- skyviper
New Contributor
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 -endlibThis 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_optThis 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 - skyviper
New Contributor
correction... "-w" should be -work" and it still doesn't work.
- skyviper
New Contributor
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.
- TingJiangT_Intel
Contributor
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.
- skyviper
New Contributor
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
- TingJiangT_Intel
Contributor
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.
- TingJiangT_Intel
Contributor
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?
- TingJiangT_Intel
Contributor
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,