3–14
Chapter 3: Getting Started with the Avalon-MM Stratix V Hard IP for PCI Express
Compiling the Design
Stratix V Hard IP for PCI Express
June 2012
Altera Corporation
User Guide
Compiling the Design
Follow these steps to compile your design:
1. In the Quartus II software, open the
pcie_top.qpf
project.
2. Add
<project_dir>
/ep_g1_x4/synthesis/ep_ge1_x4.qip
to your Quartus II project.
This file lists all necessary files for Quartus II compilation.
3. Add the Synopsys Design Constraint (SDC) shown in
Example 3–3
, to the top-level
design file for your Quartus II project.
4. On the Processing menu, click
Start Compilation
.
5. After compilation, expand the
TimeQuest Timing Analyzer
folder in the
Compilation Report. Note whether the timing constraints are achieved in the
Compilation Report.
If your design does not initially meet the timing constraints, you can find the
optimal Fitter settings for your design by using the Design Space Explorer. To use
the Design Space Explorer, click
Launch Design Space Explorer
on the tools
menu.
Programming a Device
After you compile your design, you can program your targeted Altera device and
verify your design in hardware.
f
For more information about IP functional simulation models, see the
chapter in volume 3 of the
Quartus II Handbook
.
Example 3–1. Synopsys Design Constraint
create_clock -period “100 MHz” -name {refclk_pci_express} {*refclk_*}
derive_pll_clocks
derive_clock_uncertainty