Altera_Forum
Honored Contributor
14 years agohow to call quartus_sim in a tcl file
I wrote "quartus_sim filtref --vector_source=fir.vwf" in a tcl file. However, an error
occurred when I ran it. As followed: invalid command name "quartus_sim" while executing "unknown_original quartus_sim filtref --vector_source=fir.vwf" ("eval" body line 1) invoked from within "eval unknown_original $cmd $args" (procedure "::unknown" line 5) invoked from within "quartus_sim filtref --vector_source=fir.vwf" (file "setup_proj.tcl" line 61) invoked from within "source setup_proj.tcl" ("eval" body line 1) invoked from within "eval $tcl_command" What I don't understand is that it would be OK if I type "quartus_sim filtref --vector_source=fir.vwf" in the interactive Tcl shell session that displays tcl>prompt. Then how can I generate a system call in a tcl file as I do in the Tcl shell?