--- Quote Start ---
Is it possible to use a tcl script file to make I/O pin assignments instead of using the Pin Planner?
--- Quote End ---
Yes. I've posted plenty of examples that contain scripts. This tutorial has the scripts for several boards:
http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial --- Quote Start ---
I tried doing that with a script file such as the following:
package require ::quartus::project
set_location_assignment PIN_B13 -to mode
set_location_assignment PIN_L1 -to clk
# etc...
export_assignments
but that generated a lot of errors when my file was run from the Tcl Scripts dialog box.
--- Quote End ---
Open up a design that has pin assignments already implemented, and use "Project->Generate Tcl File For Project" to see the correct syntax.
The syntax is a little verbose. In the scripts I create (key,value) pairs for pin assignments, and then loop over them and convert them to Altera synthesis directives. Its a little more complicated to understand the first time you read the script, however, creating the script is a lot easier for the next board.
Read the scripts and ask questions.
Cheers,
Dave