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