hello.
I'm Hanako Altera, and I provide technical support for Altera® FPGA products at Macnica.
Are you aware that there are several guidelines for pin assignments on Altera FPGAs?
For example, to introduce some of them,
1. Assign the same potential I/O standard to the same I/O bank *!
1. When coexisting differential (LVDS, etc.) and single-ended I/O standards in the same I/O bank, leave a certain amount of space (pad *) between them!
There are rules for pin layout depending on the device family.
[Reference information] What is an I/O bank? / What is Pad?
Because these pin layout guideline information is built into Quartus ® Prime,
You can check the compatibility of the pin assignment by executing compilation.
but,
There is a more efficient way to check without doing a full compile.
That is the Pin Check feature in Quartus Prime.
Pin check function
Quartus Prime has two pin checking features.
Both allow you to check pin compatibility without doing a full compile.
| Overview |
A simple real-time check to see if your pin constraints violate basic I/O buffer rules. A feature added to the Pin Planner is that as soon as the user enters pin constraints in the Pin Planner, they are immediately checked and any warnings or error messages are reported so that they can be fixed quickly. After fixing errors with Live I/O Check, it is recommended to perform final I/O compatibility analysis for pin assignments with I/O Assignment Analysis. |
It does a real “analysis” of your pin constraints against the full set of I/O rules. More verification than the Live I/O Check feature, and if design files are available, this verification allows you to perform more thorough legality checks on your design's I/O pins and peripheral logic. |
|
Quartus Prime Standard /Lite Edition |
〇 (Stratix® IV, Arria® II, Cyclone® 10 LP, Cyclone IV, MAX® 10, MAX V, MAX II only) |
〇 |
|
Quartus Prime Pro Edition |
× |
〇 |
Live I/O Check
* Analysis & Synthesis (Processing menu > Start > Start Analysis & Synthesis) or higher processes must be executed in advance.
The operation of the Live I/O Check function is as follows.
① Start Pin Planner. (Assignments menu > Pin Planner)
(2) Select View menu > Live I/O Check Status Window to display the window.
③ Turn On Live I/O Check button in the Live I/O Check Status window,
Or click the Processing menu > Enable Live I/O Check button on the Pin Planner to perform a pin assignment check.
④ Assign user I/O pins used in the design and unused user I/O pins (pin number, I/O standard, Reserved option, etc.).
A check is performed each time, and if the I/O rules are violated, the number of error or warning messages is displayed in the Live I/O Check window.
It shows. At the same time, the contents are announced in the Messages window (System tab) that appears on the Pin Planner.
Check the content of the message and avoid the problem by using the help of the message.
⑤ After avoiding all errors with Live I/O Check, run I/O Assignment Analysis and further verify I/O rules.
(Be sure to compile after validating with I/O Assignment Analysis.)
I/O Assignment Analysis
* Analysis & Synthesis (Processing menu > Start > Start Analysis & Synthesis) or higher processes must be executed in advance.
Also, complete constraints such as pin assignments and option settings for pins. If the target device has the Live I/O Check function
Ifso, we recommend running a Live I/O Check first to do a quick compatibility check on the pins.
The operation of the I/O Assignment Analysis function is as follows.
① Start Pin Planner. (Assignments menu > Pin Planner)
(2) Execute Processing menu > Start > Start I/O Assignment Analysis.
③ Analysis is executed.
If there are no errors or critical warnings, pin constraints are compliant with I/O rules.
A Fitter report is generated in the compilation report, and you can check the pin fitting results.
If any error or warning messages occur, they are displayed in the Quartus Prime Messages window (Processing tab).
Check the content of the message and avoid the problem by using the help of the message.
What is an I/O bank?
Altera FPGAs have multiple power supplies dedicated to each input/output pin (user I/O pin) for a single device.
The user I/O pin voltages are designed to allow the FPGA to adapt to various interfaces of peripheral ICs, and various voltages can be selected.
For example, by constraining a user I/O pin to use LVTTL in Quartus Prime and supplying 3.3 V to the I/O power supply of the device mounted on the board, the I/O pin conforms to LVTTL. can.
All user I/O pins owned by the device are divided into several groups *, and these I/O groups are called “I/O banks”.
Each I/O bank has its own power supply * for user I/O, and can supply different power supply voltages individually, so multiple I/O standards can be supported for a single device. (*MAX 7000 family, MAX 3000A family, FLEX series, ACEX family user I/O pins are not divided into groups and must supply the same voltage for all power supplies for I/O.)
Each I/O bank is identified by a number or letter, and the same number or letter is used for the power supply for that I/O, so it is clear which power supply supplies which I/O bank. It is
Note that all pins belonging to an I/O bank must be of the same potential I/O standard.
Which user I/O pins belong to which I/O bank can be found in the document Device Pin-Out Files published on the manufacturer's website.
In Quartus Prime, Pin Planner's Package View color-codes I/O banks, making pin layout easier for users.
What is Pad?
The package pins of Altera FPGA devices are connected to the top metal layer of the silicon die, and these connection points are called "pads."
Each pad is identified by a Pad ID, which starts at 0 and increments by 1 counterclockwise.
To prevent signal integrity issues, Quartus Prime uses pinout rules to validate pinouts and pin-related assignments. (Reference: Live I/O Check, I/O Assignment Analysis)
Some pin placement rules impose restrictions on pad locations (pad spacing), so it is important for the user to know which pad location the pins are assigned to.
For example, certain devices limit the number of I/O pins that a VREF pad supports to ensure signal integrity. There are also limits on the number of pads between single-ended input or output pins and differential pins.
Pad View window
Even if the pin numbers are adjacent in the package pin layout, the pad layout is not adjacent. I recommend using the .
From the Pin Planner of Quartus Prime, display by View menu > Pad View. (Right click on the package view > Pad View is also OK!)
Use this when determining pin numbers according to pin placement rules, or when a pad location error occurs due to the I/O Assignment Analysis function, etc.
Package view and Pad view are displayed together.