Knowledge Base Article
IP Compiler for PCI Express User Guide Does Not Include Pin Assignments in Qsys Design Example
Description
To add pin assignments to your Quartus II project, you must source the Tcl file explicitly in the Quartus II Tcl Console before compiling the project. However, the instructions to run the Qsys design example in the IP Compiler for PCI Express User Guide do not describe this step. If you skip this step, the Qsys design example does not compile with the required pin assignments.
In addition, the Tcl script for the Qsys design example version 11.0 contains some typos which are addressed in the Workaround section.
This issue affects the Qsys design example described in Chapter 17, “Qsys Design Example” in the IP Compiler for PCI Express User Guide.
Resolution
To avoid this issue, add the following step in the instructions to compile the Qsys design example Quartus II project, in the “Compiling the Design” section of Chapter 17, “Qsys Design Example” in the IP Compiler for PCI Express User Guide:
After you open the s4gx_gen1x8_qsys_top.qpf project and before you click Start Compilation, follow these steps 2 and 3 between the current step 1 and step 2 in the user guide:
- In a text editor, open the file s4gx_gen1x8_qsys_top.tcl and make and save the following changes:
- Comment out all lines that precede the following line:
set_global_assignment -name FAMILY "Stratix IV"
- Replace the following line:
set_global_assignment -name QIP_FILE hip_s4gx_gen1x8_qsys.qip
- with the replacement line
set_global_assignment -name QIP_FILE hip_s4gx_gen1x8_qsys/synthesis/hip_s4gx_gen1x8_qsys.qip
- Search for
PARTITION_HIERARCHYand insert the following line immediately preceding thePARTITION_HIERARCHYcommand:
set_instance_assignment -name INPUT_TERMINATION OFF -to
refclk
- Comment out the
project_closecommand in the final line. - To apply Quartus II pin assignments, type the following command at the Tcl console command prompt:
- To display the Quartus II Tcl Console, on the View menu, point to Utility Windows and click Tcl Console.
source s4gx_gen1x8_qsys_top.tcl r
This issue will be fixed in a future version of the IP Compiler for PCI Express User Guide.