Managing Quartus II Projects, Quartus II Handbook version ... - Altera
Managing Quartus II Projects, Quartus II Handbook version ... - Altera
Managing Quartus II Projects, Quartus II Handbook version ... - Altera
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4: <strong>Managing</strong> <strong>Quartus</strong> <strong>II</strong> <strong>Projects</strong> 4–3<br />
<strong>Managing</strong> Your <strong>Quartus</strong> <strong>II</strong> <strong>Projects</strong><br />
Creating Assignments<br />
Assignments control a variety of different functions of the <strong>Quartus</strong> <strong>II</strong> software and are<br />
an important part of an efficient and effective design. When used in conjunction with<br />
a good design practices, assignments can help you successfully compile your design.<br />
You can create assignments with different editors and dialog boxes in the <strong>Quartus</strong> <strong>II</strong><br />
software or with Tcl scripts. Assignments are logic functions you assign to a physical<br />
resource on the device, or compilation resources you assign to logic functions.<br />
<strong>Quartus</strong> <strong>II</strong> Settings File<br />
As you create assignments in the <strong>Quartus</strong> <strong>II</strong> software, you can choose either to store<br />
the assignments in memory temporarily or write the assignment out to the .qsf with<br />
the Update assignments to disk during design processing only option located on the<br />
Processing page of the Options dialog box. You can open the Options dialog box by<br />
clicking Options on the Tools menu. If you turn on the Update assignments to disk<br />
during design processing only option, the <strong>Quartus</strong> <strong>II</strong> software stores all assignments<br />
in memory and writes to the .qsf when a compilation starts or when you save or close<br />
the project. The performance of the software improves when you save assignments in<br />
memory. You can view this performance improvement when the <strong>Quartus</strong> <strong>II</strong> software<br />
stores the project files on a remote data disk.<br />
f For more information about the .qsf, refer to the <strong>Quartus</strong> <strong>II</strong> Settings File Manual.<br />
Preserving QSF Format<br />
When you create new assignments, the <strong>Quartus</strong> <strong>II</strong> software appends the assignments<br />
to the end of the .qsf. If you modify an assignment, the corresponding line in the .qsf<br />
changes to maintain the order of assignments in the .qsf, unless you add and remove<br />
project source files, or when you add, remove, and exclude members from an<br />
assignment group. In these cases, the <strong>Quartus</strong> <strong>II</strong> software appends all assignments to<br />
the end of the .qsf. For example, if you add a new design file to the project, the<br />
<strong>Quartus</strong> <strong>II</strong> software appends the list of all your design files to the end of the .qsf.<br />
The <strong>Quartus</strong> <strong>II</strong> software preserves all spaces and tabs for all unmodified assignments<br />
and comments. When you create a new assignment or modify an existing assignment<br />
in the GUI, the <strong>Quartus</strong> <strong>II</strong> software writes the assignment with the default formatting.<br />
<strong>Quartus</strong> <strong>II</strong> Default Settings File<br />
You can ensure consistent results when defaults change between <strong>version</strong>s of the<br />
<strong>Quartus</strong> <strong>II</strong> software with the assignment_defaults.qdf, located in the bin or bin64<br />
directory of the <strong>Quartus</strong> <strong>II</strong> installation path.<br />
The <strong>Quartus</strong> <strong>II</strong> software reads assignments from various files and stores the<br />
assignments in memory. The <strong>Quartus</strong> <strong>II</strong> software reads settings files in the following<br />
order and assignments in subsequent files take precedence over earlier ones:<br />
1. assignment_defaults.qdf from /bin or bin64<br />
2. assignment_defaults.qdf from the project directory<br />
3. _assignment_defaults.qdf from the project directory<br />
4. .qsf from the project directory<br />
June 2012 <strong>Altera</strong> Corporation <strong>Quartus</strong> <strong>II</strong> <strong>Handbook</strong> Version 12.0<br />
Volume 2: Design Implementation and Optimization