
2–18
Chapter 2: Getting Started with the Stratix V Hard IP for PCI Express
Quartus II Compilation
Stratix V Hard IP for PCI Express
June 2012
Altera Corporation
5. Add the Synopsys Design Constraint (SDC) shown in
design file for your Quartus II project.
6. On the Processing menu, select
Start Compilation
.
Compiling the Design in the Qsys Design Flow
To compile the Qsys design example in the Quartus II software, you must create a
Quartus II project and add your Qsys files to that project.
Complete the following steps to create your Quartus II project:
1. Choose
Programs > Altera > Quartus II
<version>
(Windows Start menu) to run
the Quartus II software.
2. Change to the directory that includes your Qsys project,
<working_dir>
\pcie_qsys
.
3. On the Quartus II File menu, click
New,
then
New Quartus II Project
, then
OK
.
4. Click
Next
in the
New Project Wizard:
Introduction
(The introduction does not
display if you previously turned it off.)
5. On the
Directory, Name, Top-Level Entity
page, enter the following information:
a. The working directory for your project. This design example uses
<working_dir>
/pcie_qsys
b. The name of the project. Type the same name as your Qsys design
pcie_de_gen1_x8_ast128
r
1
If the top-level design entity and Qsys system names are identical, the
Quartus II software treats the Qsys system as the top-level design entity.
6. Click
Next
to display the
Add Files
page.
7. Perform the following steps to add the Quartus II IP File (
.qip
)
to the project:
a. Click the browse button next the
File name
box and browse to
pcie_de_gen1_x8_ast128/synthesis/
directory.
b. In the
Files of type
list, select
IP Variation Files (*.qip)
.
c. Click
pcie_de_gen1_x8_ast128.qip
and then click
Open
.
d. On the
Add Files
page, click
Add
, then click
OK
.
1
Click
Yes
, if prompted, to create a new directory.
8. Click
Next
to display the
Device
page.
Example 2–1. Synopsys Design Constraint
create_clock -period “100 MHz” -name {refclk_pci_express} {*refclk_*}
derive_pll_clocks
derive_clock_uncertainty