Hi,I am using a tcl input file for running the ncsim after doing VAP in Palladium TBA. All of the commands and comments, literally evrything in the input.tcl file is echoed to the ncsim prompt which is very annoying. Tcl itself doesnt do this so is there a switch to turn this off?Thanks,Hemanth
Instead of passing the tcl commands as a file of commands that get executed just as if you typed them in, pass the commands in via a source command.Example:% ncsim -input "@source file.tcl"You can get more information under "Providing Interactive Commands from a File" in the "Cadence NC-Verilog Simulator Help" document near the end of Ch 9.Tim
Hi Tim,That wont work as my commands in the script are for palladium and not for ncverilog.
If you are calling ncsim (as opposed to calling saDebug) to do your run then Tim's method does work.If using the .ncsim.csh example script that VAP produces you will have some difficulty due to shell variable handling, but you can execute it once with the -echo option and modify the resulting output as Tim describes to get your desired result. Note that output before the "@source" will not be suppressed.David
Hi,I tried it but for some reason the simulation hangs or doesnt progress or whatever. The put all the qt commands in a tcl file and source it in the script which ncsim runs. In the tcl file I have all qt related commands like loading memory and memory dump etc. I also do the 'run' from the tcl file and exit but it gets stuck with no simulation having run and I have to kill it.Regards,Hemanth
I also have some conditional if-else statements in the tcl file.
Sorry, It works I was muddle headed and was running an entirely different test and looking for non-existent results.thanks guys,Hemanth