I have installed the latest Aldec Active-HDL (Student Edition).
Compiling the source files with vlib.exe and vcom.exe works like in QuestaSim, but vsim.exe behaves different. Moreover, vsim.exe has no built-in help -h or --help.
The testbench is compiled into the VHDL library test and the
testbench is named sortnet_BitonicSort_tb.
The TCL script contains the run options: run -all and endsim.
The GUI mode script contains only the run -all command.
My command line:
.\vsim.exe -title sortnet_BitonicSort_tb -do "add wave *; do {D:\git\PoC\sim\aSim.gui.tcl}" -work test sortnet_BitonicSort_tb
How can I run my testbench in console mode with TCL script?
And how can I run the testbench in GUI mode with TCL script?
Edit:
Executing this command line: vsim.exe -work test sortnet_BitonicSort_tb gives an "Access to test denied." popup window, when the GUI launches.
Not a complete answer, but some notes that may help.
The
vsimhas some help on command line options withvsim /?. Based on this, it looks like you have too many options for GUI run withvsim, e.g.-titleand-workdoes not appear to be supported. For full documentation, make an account at Aldec, and see Support => Documentation.For batch run, Aldec points to the
vsimsaexecutable, as shown in Getting Started with Active-HDL Batch Mode.There is a slightly different command set for
vsimandvsimsa, which is documented in the full manuals available at Aldec after login.