• Tidak ada hasil yang ditemukan

Edition User Guide

N/A
N/A
Nguyễn Gia Hào

Academic year: 2023

Membagikan "Edition User Guide"

Copied!
43
0
0

Teks penuh

Constraining Designs

Specifying Design Constraints Designs in the GUI

  • Global Constraints and Assignments
  • Node, Entity, and Instance-Level Constraints
  • Probing Between Components of the Intel Quartus Prime GUI
  • Specifying Timing Constraints in the GUI

Constraining Designs with Tcl Scripts

  • Create a Project and Apply Constraints
  • Assigning a Pin
  • Generating Intel Quartus Prime Settings Files
  • Synopsys Design Constraint (.sdc) Files
  • Tcl-only Script Flows

A Fully Iterative Scripted Flow

Constraining Designs Revision History

Managing Device I/O Pins

I/O Planning Overview

  • Basic I/O Planning Flow
  • Integrating PCB Design Tools
  • Intel Device Terms

In FPGA design, I/O scheduling involves creating pin-bound assignments and validating them against pin placement instructions. When planning and assigning I/O pins in the initial stages of your project, you design for compatibility with your target device and PCB characteristics. Assign the host nodes that are not yet defined in the design files, including the main interface IP signals, and then generate a top-level file.

The top-level file represents the next level of the design hierarchy and includes interface port information such as memory, high-speed I/O, device configuration, and debugging tools. Assign design elements, I/O standards, interface IP, and other properties to device I/O pins by name or by dragging them to cells. Intel Quartus Prime software provides the Pin Planner tool to view, assign, and validate device I/O pin logic and properties.

To set up a top-level HDL wrapper file that defines early port and interface information for your design, click Early Pin Planning in the Tasks panel. Click Import IP Core to import a defined IP core and then assign signals to the interface IP nodes. User nodes become virtual pins in the top-level file and are not mapped to device pins.

Assign I/O properties to match your device and PCB characteristics, including assigning logic, I/O standards, output load, slew rate, and amperage. Click Run I/O Assignment Analysis in the Tasks pane to verify assignments and generate a synthesized netlist design. You can integrate PCB design tools into your workflow to map pin assignments to symbols on system circuit diagrams and board layouts.

The Intel Quartus Prime software integrates with board layout tools by allowing import and export of pin assignment information in Intel Quartus Prime Settings Files (.qsf), Pin-Out File (.pin), and FPGA Xchange-Format File (.fx) files.

Table 4. Integrating PCB Design Tools
Table 4. Integrating PCB Design Tools

Assigning I/O Pins

  • Assigning to Exclusive Pin Groups
  • Assigning Slew Rate and Drive Strength
  • Assigning Differential Pins
  • Entering Pin Assignments with Tcl Commands
  • Entering Pin Assignments in HDL Code

To find or mark pins for assignment, click Pin Finder or a type of pin under Mark Pins in the Tasks panel. To define a custom group of nodes for mapping, select one or more nodes from the Groups or All Pins list and click Create Group. Enter logic assignments, I/O standards, interface IP, and device I/O pin properties in the All Pins spreadsheet, or by dragging to the package view.

When you assign pins to an exclusive I/O group, the assembler does not place the signals in the same I/O bank as any other exclusive I/O group. When you assign a differential I/O standard to a single-ended top-level pin in your design, Pin Planner automatically recognizes the negative pin as part of the. The following example shows a design with the lvds_in top-level pin that you assign to a differential I/O standard.

The pin planner automatically creates the differential pin, lvds_in(n) to complete the differential pin pair. Note: If you have a single-ended clock feeding a PLL, assign the pin only to the positive clock pin of a differential pair in the target device. Setting a value of 0 MHz to this task causes the assembler to recognize the pin in a DC state throughout device operation.

You can use synthesis features or low-level I/O primitives to embed I/O pin assignments directly into your HDL code. If you edit or delete these commands in the pin planner and then recompose your design, the pin planner changes replace the synthesis attributes. The following examples use the altera_attribute attribute to include Fast Input Register logic commands and I/O standard commands in both a Verilog HDL and a VHDL design file.

The following examples use the chip_pin and useioff attributes to enter the location and assignments of the Quick Access Register logic options in Verilog HDL and VHDL design files. You can also use low-level differential I/O primitives to define the positive and negative pins of a differential pair in HDL code for your design. Primitive-based assignments do not appear in the Pin Scheduler until you perform a full rollup and pin assignments with backnotes (Tasks > Backnote Assignments).

Figure 6. Creating a Differential Pin Pair in the Pin Planner
Figure 6. Creating a Differential Pin Pair in the Pin Planner

Importing and Exporting I/O Pin Assignments

  • Importing and Exporting for PCB Tools
  • Migrating Assignments to Another Target Device

Click View ➤ Pin Migration Window to check if pin assignments are compatible with migration to another Intel device. The Intel Quartus Prime software ignores invalid assignments and generates an error message during compilation. After evaluating migration compatibility, change any incompatible assignments, and then click Export to export the assignments to another project.

The migration result for the highlighted PIN_AC23 pin function is not an NC but a VREFB1N2 voltage reference even though the pin is an NC in the migration device. VREF standards have a higher priority than an NC, so the migration result displays the voltage reference. Even if you do not use that pin for a port connection in the design, you must use the VREF standard for I/O standards that require it in the current table for the migration device.

If one of the migration devices has pins intended to be connected to VCC or GND and those same pins are I/O pins on another device in the migration path, the Intel Quartus Prime software ensures that these pins are not used for I /O. To facilitate migration, you can connect these pins to VCC or GND on the original design, because the pins are not physically connected to the smaller case.

Figure 8. Device Migration Compatibility (AC24 does not exist in migration device)
Figure 8. Device Migration Compatibility (AC24 does not exist in migration device)

Validating Pin Assignments

  • I/O Assignment Validation Rules
  • Checking I/O Pin Assignments in Real-Time
  • I/O Assignment Analysis
  • Understanding I/O Analysis Reports

Checks that there are no single-ended input/output pins on the PLL input/output bank when a differential signal is present. Perform the full I/O assignment analysis when you are ready to validate the pin assignments against the full I/O system rule set. Full I/O assignment analysis evaluates blocks that are fed directly or fed from sources such as PLL, LVDS, or gigabit transmitter blocks.

Run I/O assignment analysis during early pin design to confirm initial reserved pin assignments before compilation. After defining the design files, run an I/O allocation analysis to perform more thorough legality checks on the synthesized netlist. For example, if you assign an edge location to a group of LVDS pins, the Fitter assigns pin locations for each LVDS pin at the specified edge location and then performs a legality check.

You can reserve and assign I/O defaults to each pin and then run I/O assignment analysis to ensure there are no I/O default conflicts in each I/O bank. After performing I/O allocation analysis, correct any errors reported by the installer and run the I/O allocation analysis again until all errors are corrected. I/O allocation analysis allows you to perform full I/O legality checking after fully defining HDL design files.

When you perform I/O assignment analysis on a complete design, the tool verifies all I/O pin assignments against all I/O rules. When you perform I/O assignment analysis on a partial design, the tool checks legality only for defined parts of the design. Even if the I/O assignment analysis passes to incomplete design files, you may still encounter errors during full compilation.

After performing the I/O assignment analysis, correct any errors reported by the assembler and run the I/O assignment analysis again until all errors are corrected. The following figure shows the compile-time benefit of performing I/O task analysis before running a full compilation. To access this task in the Pin Planner, right-click the All Pins list and click Customize Columns.

Table 9. Signal Switching Noise Rules
Table 9. Signal Switching Noise Rules

Verifying I/O Timing

  • Running Advanced I/O Timing
  • Adjusting I/O Timing and Power with Capacitive Loading

The timing analyzer applies simulation results of the I/O buffer model, packet, and table trace to generate accurate I/O delays and system-level signal information. Advanced I/O timing analysis uses your board trace model and termination network specifications to report accurate estimates of buffer-to-pin output timing, integrity, and FPGA pin signal delay values ​​and table trace. Far-end modeling includes the elements that are at the receiving end of the connection, closest to the receiving device.

Far-end modeling can represent the bulk of the board's tracing to discrete external memory components and the far-end termination network. You can analyze the same circuit with near-end modeling of the entire board, including memory component termination, and far-end modeling of the actual memory component. The short trace model describes a short trace and termination network as a set of capacitive, resistive and inductive parameters.

Advanced I/O timing uses the model to simulate the output signal from the output buffer to the far end of the card track. You can configure an overall card trace model for each I/O standard or for specific pins. You can customize the model for specific pins using the Board Trace Model window in the Pin Planner.

To change the board trace model, click View ➤ Board Trace Model in the Pin Planner. You can change any of the board tracking model parameters in a graphical representation of the board tracking model. The Board Trace Model window shows the routing and components for positive and negative signals in a differential signal pair.

With remote I/O timing analysis, advanced I/O timing analysis is extended to the input of an external device at the remote end of the board trace. Regardless of whether you choose the measurement end point at the near end or the far end, the board trace models are considered during the timing analysis. Signal Integrity Metrics Report Contains all signal integrity metrics calculated during advanced I/O timing analysis based on board trace model settings for each output or bidirectional pin.

Table 10. I/O Timing Analysis Methods
Table 10. I/O Timing Analysis Methods

Viewing Routing and Timing Delays

Analyzing Simultaneous Switching Noise

Scripting API

  • Generate Mapped Netlist
  • Reserve Pins
  • Set Location
  • Exclusive I/O Group
  • Slew Rate and Current Strength

I/O bank locations include IOBANK_1 through IOBANK_ n, where n is the number of I/O banks in the device.

Managing Device I/O Pins Revision History

Intel Quartus Prime Standard Edition User Guides

Gambar

Table 2. Intel Quartus Prime Standard Edition Tools to Set Node, Entity and Instance Level Constraints
Table 1. Intel Quartus Prime Tools to Set Global Constraints
Figure 1. Intel Quartus Prime Assignment Editor
Figure 2. Pin Planner GUI
+7

Referensi

Dokumen terkait

DECISION TABLE Works Approval / Licence section Condition number W = Works Approval L= Licence Justification including risk description & decision methodology where