--- Quote Start ---
I'm sorry for asking the stupid questions, but exactly how do I "source the attahched Tcl script?"
--- Quote End ---
The word 'source' didn't provide the clue? :)
1) Start a NIOS II IDE shell
2) Start quartus_stp via
bash-3.1$ quartus_stp -s
3) Source the script myscript.tcl
tcl> source myscript.tcl
where myscript.tcl is a file in the same directory as where you started quartus_stp.
If the script is somewhere else, you can source it with a path
tcl> source c:/path_to_my_scripts/myscript.tcl
or if you've got a Windows format, 'cause you copied-and-pasted from Windows Explorer, use
tcl> source {
c:\path_to_my_scripts\myscript.tcl} and the {} braces pass the path as a list to Tcl, and it fixes up the path separators.
--- Quote Start ---
I'm an FPGA guy, but have not yet learned Tcl scripting. My apologies!
--- Quote End ---
The book by Brent Welch is a pretty good reference for Tcl programming.
Ask questions when you get stuck.
Cheers,
Dave