Visible to Intel only — GUID: nik1410564783496
Ixiasoft
Visible to Intel only — GUID: nik1410564783496
Ixiasoft
2.1.6. Compiling the Design in the Quartus® Prime Software
To compile the Qsys design example in the Quartus® Prime software, you must create a Quartus® Prime project and add your Qsys files to that project.
Complete the following steps to create your Quartus® Prime project:
- Click the New Project Wizard icon.
- Click Next in the New Project Wizard: Introduction (The introduction does not appear if you previously turned it off)
- On the Directory, Name, Top-Level Entity page, enter the following information:
- The working directory shown is correct. You do not have to change it.
- For the project name, browse to the synthesis directory that includes your Qsys project, <working_dir>/pcie_de_gen1_x4_ast64/synthesis. Select your variant name, pcie_de_gen1_x4_ast64.v . Then, click Open.
- If the top‑level design entity and Qsys system names are identical, the Quartus® Prime software treats the Qsys system as the top‑level design entity.
- Click Next to display the Add Files page.
- Complete the following steps to add the Quartus® Prime IP File (.qip)to the project:
- Click the browse button. The Select File dialog box appears.
- In the Files of type list, select IP Variation Files (*.qip).
- Browse to the <working_dir>/pcie_de_gen1_x4_ast64/synthesis directory.
- Click pcie_de_gen1_x4_ast64.qip and then click Open.
- On the Add Files page, click Add, then click OK.
- Click Next to display the Device page.
- On the Family & Device Settings page, choose the following target device family and options:
- In the Family list, select Arria V (GT/GX/ST/SX).
- In the Devices list, select Arria V GX Extended Features..
- In the Available Devices list, select 5AGXFB3H6F35C6.
- Click Next to close this page and display the EDA Tool Settings page.
- From the Simulation list, select ModelSim ®. From the Format list, select the HDL language you intend to use for simulation.
- Click Next to display the Summary page.
- Check the Summary page to ensure that you have entered all the information correctly.
- Click Finish to create the Quartus® Prime project.
- Add the Synopsys Design Constraint (SDC) commands shown in the following example to the top‑level design file for your Quartus® Prime project.
-
To compile your design using the Quartus® Prime software, on the Processing menu, click Start Compilation. The Quartus® Prime software then performs all the steps necessary to compile your design.
- 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.
Synopsys Design Constraints
create_clock -period “100 MHz” -name {refclk_pci_express}{*refclk_*}
derive_pll_clocks
derive_clock_uncertainty
# PHY IP reconfig controller constraints
# Set reconfig_xcvr clock
# Modify to match the actual clock pin name
# used for this clock, and also changed to have the correct period set
create_clock -period "125 MHz" -name {reconfig_xcvr_clk}{*reconfig_xcvr_clk*}
# HIP Soft reset controller SDC constraints
set_false_path -to [get_registers* altpcie_rs_serdes|fifo_err_sync_r[0]]
set_false_path -from [get_registers *sv_xcvr_pipe_native*] -to[get_registers *altpcie_rs_serdes|*]
# Hard IP testin pins SDC constraints
set_false_path -from [get_pins -compatibilitly_mode *hip_ctrl*]