Forum Discussion
Altera_Forum
Honored Contributor
10 years agocreate a text file and save with extension .tcl (or .do)
example: --------------------------------- quit -sim # compile into work vlib ./work vcom -93 -work work ../folder1/folder2/my_file.vhd vcom -93 -work work ../folder1/folder2/my_top_tb.vhd # simulate testbench architecture a, or any file vsim -t ps work.my_top_tb(a) do wave.do radix dec run -a --------------------- to run it type in modelsim command window : do file_name.tcl if you haven't waveform file you can start with an empty one, then after simulation add nodes to the waves. You need to make sure you got altera libraries compiles and appear in modelsim list.