Quartus II software commonly used in the allocation of pins in two ways, one is to select the menu "Assignments->pin Planner" into the PIN allocation view manual distribution; The second method is to automatically allocate the TCL script file.
First of all, introduce Quartus II QSF documents and TCL documents. The QSF (Quartus settings file) file is an engineering Setup document that contains all the constraints of a Quartus project, including engineering information, device information, PIN constraints, compilation constraints, and timing constraints for classic Timing Analyzer. For PIN definitions, timing constraints, and so on, can be changed manually. The TCL (Tool command Language) file is also a Quartus II configuration file that can be used to configure Pins.
If you use a fixed development Board for development, each project configuration is the same, through the "Assignments->pin Planner" manual settings will waste a lot of time. The following describes a method that can be used after the first manual configuration is properly configured.
1, select Project->generate Tcl File for Project, specify the storage path, select the Save option, you can also choose the include default assignments.
2, open the generated Tcl file, put the previous Check that the right of project is open code with the # annotation, otherwise the new project name to be used to generate the Tcl file works of the same project name can effectively import this TCL file.
3. Put the. tcl files generated in step 1 into the new project folder (. qsf file directory), select Tools->tcl Scripts, select this. tcl file and click Run to automatically get the new. qsf file.