High-Speed Differential I/O Interfaces and DPA in Arria II ... - Altera
High-Speed Differential I/O Interfaces and DPA in Arria II ... - Altera
High-Speed Differential I/O Interfaces and DPA in Arria II ... - Altera
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
July 2012<br />
A<strong>II</strong>GX51008-4.3<br />
A<strong>II</strong>GX51008-4.3<br />
© 2012 <strong>Altera</strong> Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS <strong>and</strong> STRATIX are Reg. U.S. Pat. & Tm. Off.<br />
<strong>and</strong>/or trademarks of <strong>Altera</strong> Corporation <strong>in</strong> the U.S. <strong>and</strong> other countries. All other trademarks <strong>and</strong> service marks are the property of their respective holders as described at<br />
www.altera.com/common/legal.html. <strong>Altera</strong> warrants performance of its semiconductor products to current specifications <strong>in</strong> accordance with <strong>Altera</strong>’s st<strong>and</strong>ard warranty, but<br />
reserves the right to make changes to any products <strong>and</strong> services at any time without notice. <strong>Altera</strong> assumes no responsibility or liability aris<strong>in</strong>g out of the application or use of any<br />
<strong>in</strong>formation, product, or service described here<strong>in</strong> except as expressly agreed to <strong>in</strong> writ<strong>in</strong>g by <strong>Altera</strong>. <strong>Altera</strong> customers are advised to obta<strong>in</strong> the latest version of device<br />
specifications before rely<strong>in</strong>g on any published <strong>in</strong>formation <strong>and</strong> before plac<strong>in</strong>g orders for products or services.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
July 2012<br />
8. <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong><br />
<strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
This chapter describes the high-speed differential I/O features <strong>and</strong> resources, the<br />
functionality of the serializer/deserializer (SERDES), <strong>and</strong> the dynamic phase<br />
alignment (<strong>DPA</strong>) circuitry <strong>in</strong> <strong>Arria</strong> ® <strong>II</strong> devices.<br />
This chapter conta<strong>in</strong>s the follow<strong>in</strong>g sections:<br />
■ “LVDS Channels” on page 8–2<br />
■ “LVDS SERDES <strong>and</strong> <strong>DPA</strong> Block Diagram” on page 8–7<br />
■ “<strong>Differential</strong> Transmitter” on page 8–8<br />
■ “<strong>Differential</strong> Receiver” on page 8–11<br />
■ “Programmable Pre-Emphasis <strong>and</strong> Programmable V OD.” on page 8–10<br />
■ “<strong>Differential</strong> I/O Term<strong>in</strong>ation” on page 8–20<br />
■ “PLLs” on page 8–21<br />
■ “LVDS <strong>and</strong> <strong>DPA</strong> Clock Networks” on page 8–21<br />
■ “Source-Synchronous Tim<strong>in</strong>g Budget” on page 8–23<br />
■ “<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es” on page 8–27<br />
■ “Sett<strong>in</strong>g Up an LVDS Transmitter or Receiver Channel” on page 8–36<br />
<strong>Arria</strong> <strong>II</strong> devices have the follow<strong>in</strong>g dedicated circuitry for high-speed differential I/O<br />
support:<br />
■ <strong>Differential</strong> I/O buffer<br />
■ Transmitter serializer<br />
■ Receiver deserializer<br />
■ Data realignment block (bit slip)<br />
■ <strong>DPA</strong> block<br />
■ Synchronizer (FIFO buffer)<br />
<strong>Arria</strong> <strong>II</strong> devices support the follow<strong>in</strong>g high-speed differential I/O st<strong>and</strong>ards:<br />
■ LVDS<br />
■ m<strong>in</strong>i-LVDS<br />
■ RSDS<br />
■ LVPECL<br />
■ Bus LVDS (BLVDS) for <strong>Arria</strong> <strong>II</strong> GX devices<br />
1 True m<strong>in</strong>i-LVDS <strong>and</strong> RSDS <strong>in</strong>puts are not supported. The LVPECL I/O st<strong>and</strong>ard is<br />
only used for phase-locked loop (PLL) clock <strong>in</strong>puts <strong>in</strong> differential mode.<br />
Subscribe
8–2 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
LVDS Channels<br />
LVDS Channels<br />
f For specifications <strong>and</strong> features of the differential I/O st<strong>and</strong>ards supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong><br />
devices, refer to the I/O Features <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices <strong>and</strong> <strong>Arria</strong> <strong>II</strong> Devices Data Sheet<br />
chapters.<br />
In <strong>Arria</strong> <strong>II</strong> GX devices, there are true LVDS <strong>in</strong>put buffers <strong>and</strong> LVDS I/O buffers at the<br />
top, bottom, <strong>and</strong> right side of the device. The LVDS <strong>in</strong>put buffers have 100-� on-chip<br />
differential term<strong>in</strong>ation (R D OCT) support. You can configure the LVDS I/O buffers as<br />
either LVDS <strong>in</strong>put (without R D OCT) or true LVDS output buffers. You can also<br />
configure the LVDS p<strong>in</strong>s on the top, bottom, <strong>and</strong> right sides of the device, as emulated<br />
LVDS output buffers, which use two s<strong>in</strong>gle-ended output buffers with an external<br />
resistor network to support LVDS, m<strong>in</strong>i-LVDS, <strong>and</strong> RSDS st<strong>and</strong>ards.<br />
The <strong>Arria</strong> <strong>II</strong> GZ devices support LVDS on both row <strong>and</strong> column I/O banks. Row I/Os<br />
support true LVDS <strong>in</strong>put with 100-� R D OCT <strong>and</strong> true LVDS output buffers. Column<br />
I/Os supports true LVDS <strong>in</strong>put buffers without R D OCT. You can also configure the<br />
row <strong>and</strong> column LVDS p<strong>in</strong>s as emulated LVDS output buffers that use two<br />
s<strong>in</strong>gle-ended output buffers with an external resistor network to support LVDS,<br />
m<strong>in</strong>i-LVDS, <strong>and</strong> RSDS st<strong>and</strong>ards. <strong>Arria</strong> <strong>II</strong> GZ devices offer s<strong>in</strong>gle-ended I/O refclk<br />
support for the LVDS.<br />
Dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitries are implemented on the right I/O banks of<br />
<strong>Arria</strong> <strong>II</strong> GX devices <strong>and</strong> row I/O banks of <strong>Arria</strong> <strong>II</strong> GZ devices to further enhance the<br />
LVDS <strong>in</strong>terface performance <strong>in</strong> the device. For column I/O banks <strong>in</strong> <strong>Arria</strong> <strong>II</strong> devices,<br />
SERDES is implemented <strong>in</strong> the core logic because there is no dedicated SERDES<br />
circuitry.<br />
1 When you configure the I/O buffers as LVDS <strong>in</strong>put with R D OCT enabled, you must<br />
set both V CCIO <strong>and</strong> V CCPD to 2.5 V.<br />
f For more <strong>in</strong>formation about I/O banks, refer to the I/O Features <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
chapter.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–3<br />
Locations of the I/O Banks<br />
Locations of the I/O Banks<br />
<strong>Arria</strong> <strong>II</strong> I/Os are divided <strong>in</strong>to 16 to 20 I/O banks. For <strong>Arria</strong> <strong>II</strong> GX devices, the<br />
high-speed differential I/O s are located at the right side of the device. For <strong>Arria</strong> <strong>II</strong> GZ<br />
devices, the high-speed differential I/Os are located at the right <strong>and</strong> left sides of the<br />
device.<br />
Figure 8–1 <strong>and</strong> Figure 8–2 show a high-level chip overview of <strong>Arria</strong> <strong>II</strong> devices.<br />
Figure 8–1. <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/Os with <strong>DPA</strong> Block Locations <strong>in</strong> an <strong>Arria</strong> <strong>II</strong> GX Device (Note 1), (2), (3)<br />
Notes to Figure 8–1:<br />
PLL<br />
Transceiver<br />
Blocks<br />
PLL<br />
Configuration p<strong>in</strong>s Configuration p<strong>in</strong>s<br />
<strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O,<br />
General Purpose I/O,<br />
<strong>and</strong> Memory Interface<br />
<strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O,<br />
General Purpose I/O,<br />
<strong>and</strong> Memory Interface<br />
<strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O,<br />
General Purpose I/O,<br />
<strong>and</strong> Memory Interface<br />
FPGA Fabric<br />
(Logic Elements, DSP,<br />
Embedded Memory, <strong>and</strong> Clock Networks)<br />
<strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O,<br />
General Purpose I/O,<br />
<strong>and</strong> Memory Interface<br />
(1) This figure is a top view of the silicon die, which corresponds to a reverse view for flip chip packages. It is a graphical representation only.<br />
(2) Applicable to EP2AGX95, EP2AGX125, EP2AGX190, <strong>and</strong> EP2AGX260 devices.<br />
(3) There are no center PLLs on the right I/O banks for EP2AGX45 <strong>and</strong> EP2AGX65 devices.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
PLL<br />
<strong>High</strong>-<strong>Speed</strong><br />
<strong>Differential</strong><br />
I/O with <strong>DPA</strong>,<br />
General<br />
Purpose<br />
I/O, <strong>and</strong><br />
Memory<br />
Interface<br />
PLL<br />
PLL<br />
<strong>High</strong>-<strong>Speed</strong><br />
<strong>Differential</strong><br />
I/O with <strong>DPA</strong>,<br />
General<br />
Purpose<br />
I/O, <strong>and</strong><br />
Memory<br />
Interface<br />
PLL
8–4 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Locations of the I/O Banks<br />
Figure 8–2 shows a high-level chip overview of the <strong>Arria</strong> <strong>II</strong> GZ devices.<br />
Figure 8–2. <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/Os with <strong>DPA</strong> Block Locations <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GZ Devices<br />
Notes to Figure 8–2:<br />
Transceiver<br />
Block<br />
Transceiver<br />
Block<br />
Transceiver<br />
Block<br />
PCIe hard IP Block (3)<br />
General Purpose<br />
I/O <strong>and</strong> Memory<br />
Interface<br />
General Purpose<br />
I/O <strong>and</strong><br />
<strong>High</strong>-<strong>Speed</strong><br />
LVDS I/O with<br />
<strong>DPA</strong> <strong>and</strong> Soft CDR<br />
PLL (1)<br />
PLL (2)<br />
General Purpose<br />
I/O <strong>and</strong><br />
<strong>High</strong>-<strong>Speed</strong><br />
LVDS I/O with<br />
<strong>DPA</strong> <strong>and</strong> Soft CDR<br />
General Purpose<br />
I/O <strong>and</strong> Memory<br />
Interface<br />
PLL PLL<br />
FPGA Fabric<br />
(Logic Elements, DSP,<br />
(1) Not available for F780 device package.<br />
(2) Not available for F780 <strong>and</strong> F1152 device packages.<br />
(3) The PCIe hard IP block is located on the left side of the device only (IOBANK_QL).<br />
Table 8–1 to Table 8–4 list the maximum number of row <strong>and</strong> column LVDS I/Os<br />
supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> devices. You can design the LVDS I/Os as true LVDS <strong>in</strong>put,<br />
output buffers, or emulated LVDS output buffers, if the comb<strong>in</strong>ation does not exceed<br />
the maximum count. For example, there are a total of 56 LVDS pairs of I/Os <strong>in</strong> 780-p<strong>in</strong><br />
EP2AGX45 device row (refer to Table 8–1). You can design up to a maximum of either:<br />
■ 28 true LVDS <strong>in</strong>put buffers with R D OCT <strong>and</strong> 28 true LVDS output buffers<br />
■ 56 LVDS <strong>in</strong>put buffers of which 28 are true LVDS <strong>in</strong>put buffers with R D OCT <strong>and</strong><br />
28 requires external 100-��term<strong>in</strong>ation<br />
■ 28 true LVDS output buffers <strong>and</strong> 28 emulated LVDS output buffers<br />
■ 56 emulated LVDS output buffers<br />
General Purpose<br />
I/O <strong>and</strong> Memory<br />
Interface<br />
PLL (1)<br />
Embedded Memory, PLL (2)<br />
Clock Networks)<br />
PLL PLL<br />
General Purpose<br />
I/O <strong>and</strong><br />
<strong>High</strong>-<strong>Speed</strong><br />
LVDS I/O with<br />
<strong>DPA</strong> <strong>and</strong> Soft CDR<br />
General Purpose<br />
I/O <strong>and</strong><br />
<strong>High</strong>-<strong>Speed</strong><br />
LVDS I/O with<br />
<strong>DPA</strong> <strong>and</strong> Soft CDR<br />
General Purpose<br />
I/O <strong>and</strong> Memory<br />
Interface<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
Transceiver<br />
Block<br />
Transceiver<br />
Block<br />
Transceiver<br />
Block
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–5<br />
Locations of the I/O Banks<br />
1 Dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry are only available on the right side of the device<br />
<strong>in</strong> row I/O banks. SERDES with <strong>DPA</strong> receivers are only available on differential p<strong>in</strong>s<br />
<strong>in</strong> the row I/O banks <strong>and</strong> SERDES transmitters are only available on transmit (Tx)<br />
p<strong>in</strong>s <strong>in</strong> the row I/O banks. The receive (Rx) p<strong>in</strong>s <strong>in</strong> row I/O banks are receiver<br />
channels without dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry.<br />
Table 8–1. LVDS Channels Supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Device Row I/O Banks (Note 1), (2), (3), (4), (5), (6)<br />
Device 358-P<strong>in</strong> FlipChip UBGA 572-P<strong>in</strong> FlipChip FBGA 780-P<strong>in</strong> FlipChip FBGA 1152-P<strong>in</strong> FlipChip FBGA<br />
EP2AGX45<br />
EP2AGX65<br />
8(R D or eTx) +<br />
8(Rx, Tx or eTx)<br />
8(R D or eTx) +<br />
8(Rx, Tx, or eTx)<br />
EP2AGX95 —<br />
EP2AGX125 —<br />
24(R D or eTx) +<br />
24(Rx, Tx, or eTx)<br />
24(R D or eTx) +<br />
24(Rx, Tx, or eTx)<br />
24(R D or eTx) +<br />
24(Rx, Tx or eTx)<br />
24(R D or eTx) +<br />
24(Rx, Tx or eTx)<br />
EP2AGX190 — —<br />
EP2AGX260 — —<br />
Notes to Table 8–1:<br />
28(R D or eTx) +<br />
28(Rx, Tx, or eTx)<br />
28(R D or eTx) +<br />
28(Rx, Tx or eTx)<br />
28(R D or eTx) +<br />
28(Rx, Tx or eTx)<br />
28(R D or eTx) +<br />
28((Rx, Tx or eTx)<br />
28(R D or eTx)+<br />
28(Rx, Tx or eTx)<br />
28(R D or eTx) +<br />
28(Rx, Tx or eTx)<br />
(1) Dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry only exist on the right side of the device <strong>in</strong> the Row I/O banks.<br />
(2) RD = True LVDS <strong>in</strong>put buffers with RD OCT support <strong>and</strong> dedicated SERDES receiver channel with <strong>DPA</strong> circuitry.<br />
(3) Rx = True LVDS <strong>in</strong>put buffers without RD OCT support <strong>and</strong> dedicated SERDES receiver channel with <strong>DPA</strong> circuitry.<br />
(4) Tx = True LVDS output buffers <strong>and</strong> dedicated SERDES transmitter channel.<br />
(5) eTx = Emulated LVDS output buffers, either LVDS_E_3R or LVDS_E_1R.<br />
(6) The LVDS channel count does not <strong>in</strong>clude dedicated clock <strong>in</strong>put p<strong>in</strong>s <strong>and</strong> PLL clock output p<strong>in</strong>s.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
—<br />
—<br />
32(R D or eTx) +<br />
32(Rx, Tx, or eTx)<br />
32(R D or eTx) +<br />
32(Rx, Tx or eTx)<br />
48(R D or eTx) +<br />
48(Rx, Tx or eTx)<br />
48(R D or eTx) +<br />
48(Rx, Tx or eTx)<br />
Table 8–2. LVDS Channels Supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Device Column I/O Banks (Note 1), (2), (3), (4), (5), (6) (Part 1 of<br />
2)<br />
Device 358-P<strong>in</strong> FlipChip UBGA 572-P<strong>in</strong> FlipChip FBGA 780-P<strong>in</strong> FlipChip FBGA 1152-P<strong>in</strong> FlipChip FBGA<br />
EP2AGX45<br />
EP2AGX65<br />
25(R D or eTx) +<br />
24(Rx, Tx, or eTx)<br />
25(R D or eTx) +<br />
24(Rx, Tx, or eTx)<br />
EP2AGX95 —<br />
EP2AGX125 —<br />
33(R D or eTx) +<br />
32(Rx, Tx, or eTx)<br />
33(R D or eTx) +<br />
32(Rx, Tx, or eTx)<br />
33(R D or eTx) +<br />
32(Rx, Tx, or eTx)<br />
33(R D or eTx) +<br />
32(Rx, Tx, or eTx)<br />
EP2AGX190 — —<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
—<br />
—<br />
73(R D or eTx) +<br />
72(Rx, Tx, or eTx)<br />
73(RD or eTx) +<br />
72(Rx, Tx, or eTx)<br />
97(RD or eTx) +<br />
96(Rx, Tx, or eTx)
8–6 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Locations of the I/O Banks<br />
Table 8–2. LVDS Channels Supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Device Column I/O Banks (Note 1), (2), (3), (4), (5), (6) (Part 2 of<br />
2)<br />
Device 358-P<strong>in</strong> FlipChip UBGA 572-P<strong>in</strong> FlipChip FBGA 780-P<strong>in</strong> FlipChip FBGA 1152-P<strong>in</strong> FlipChip FBGA<br />
EP2AGX260 — —<br />
Notes to Table 8–2:<br />
(1) There are no dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry <strong>in</strong> device column I/O banks.<br />
(2) RD = True LVDS <strong>in</strong>put buffers with RD OCT support.<br />
(3) Rx = True LVDS <strong>in</strong>put buffers without RD OCT support.<br />
(4) Tx = True LVDS output buffers.<br />
(5) eTx = Emulated LVDS output buffers, either LVDS_E_3R or LVDS_E_1R.<br />
(6) The LVDS channel count does not <strong>in</strong>clude dedicated clock <strong>in</strong>put p<strong>in</strong>s <strong>and</strong> PLL clock output p<strong>in</strong>s.<br />
57(R D or eTx) +<br />
56(Rx, Tx, or eTx)<br />
97(R D or eTx) +<br />
96(Rx, Tx, or eTx)<br />
Table 8–3 <strong>and</strong> Table 8–4 list the maximum number of row <strong>and</strong> column LVDS I/Os<br />
supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GZ devices.<br />
Table 8–3. LVDS Channels Supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GZ Device Row I/O Banks (Note 1), (2), (3)<br />
Device 780-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA 1152-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA 1517-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA<br />
EP2AGZ225 —<br />
EP2AGZ300 —<br />
EP2AGZ350 —<br />
Notes to Table 8–3:<br />
42(Rx or eTx) +<br />
44(Tx or eTx)<br />
42(Rx or eTx) +<br />
44(Tx or eTx)<br />
42(Rx or eTx) +<br />
44(Tx or eTx)<br />
86(Rx or eTx) +<br />
88(Tx or eTx)<br />
86(Rx or eTx) +<br />
88(Tx or eTx)<br />
86(Rx or eTx) +<br />
88(Tx or eTx)<br />
(1) Rx = true LVDS <strong>in</strong>put buffers with RD OCT, Tx = true LVDS output buffers, eTx = emulated LVDS output buffers (either<br />
LVDS_E_1R or LVDS_E_3R).<br />
(2) The LVDS Rx <strong>and</strong> Tx channels are equally divided between the left <strong>and</strong> right sides of the device, except for the devices<br />
<strong>in</strong> the 780-p<strong>in</strong> F<strong>in</strong>el<strong>in</strong>e BGA. These devices have the LVDS Rx <strong>and</strong> Tx located on the left side of the device.<br />
(3) The LVDS channel count does not <strong>in</strong>clude dedicated clock <strong>in</strong>put p<strong>in</strong>s.<br />
Table 8–4. LVDS Channels Supported <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GZ Device Column I/O Banks (Note 1), (2), (3)<br />
Device 780-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA 1152-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA 1517-P<strong>in</strong> F<strong>in</strong>eL<strong>in</strong>e BGA<br />
EP2AGZ225 — 93(Rx or eTx) + 96 eTx 93(Rx or eTx) + 96 eTx<br />
EP2AGZ300 68(Rx or eTx) + 72 eTx 93(Rx or eTx) + 96 eTx 93(Rx or eTx) + 96 eTx<br />
EP2AGZ350 68(Rx or eTx) + 72 eTx 93(Rx or eTx) + 96 eTx 93(Rx or eTx) + 96 eTx<br />
Notes to Table 8–4:<br />
(1) Rx = true LVDS <strong>in</strong>put buffers without RD OCT, eTx = emulated LVDS output buffers (either LVDS_E_1R or<br />
LVDS_E_3R).<br />
(2) The LVDS Rx <strong>and</strong> Tx channels are equally divided between the top <strong>and</strong> bottom sides of the device.<br />
(3) The LVDS channel count does not <strong>in</strong>clude dedicated clock <strong>in</strong>put p<strong>in</strong>s.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–7<br />
LVDS SERDES <strong>and</strong> <strong>DPA</strong> Block Diagram<br />
LVDS SERDES <strong>and</strong> <strong>DPA</strong> Block Diagram<br />
The <strong>Arria</strong> <strong>II</strong> GX devices have dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry for LVDS<br />
transmitters <strong>and</strong> receivers on the right side. The <strong>Arria</strong> <strong>II</strong> GZ devices have dedicated<br />
SERDES <strong>and</strong> <strong>DPA</strong> circuitry for LVDS transmitters <strong>and</strong> receivers on the row I/O banks.<br />
Figure 8–3 shows the LVDS SERDES <strong>and</strong> <strong>DPA</strong> block diagram. This diagram shows the<br />
<strong>in</strong>terface signals for the transmitter <strong>and</strong> receiver datapaths. For more <strong>in</strong>formation,<br />
refer to “<strong>Differential</strong> Transmitter” on page 8–8 <strong>and</strong> “<strong>Differential</strong> Receiver” on<br />
page 8–11.<br />
Figure 8–3. LVDS SERDES <strong>and</strong> <strong>DPA</strong> Block Diagram (Note 1), (2), (3)<br />
Notes to Figure 8–3:<br />
tx_<strong>in</strong> 10<br />
tx_coreclock<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
10<br />
3<br />
Serializer 2<br />
DIN DOUT<br />
(LVDS_LOAD_EN, diffioclk,<br />
tx_coreclock)<br />
IOE Supports SDR, DDR, or<br />
Non-Registered Datapath<br />
2<br />
IOE<br />
IOE<br />
Deserializer Bit Slip<br />
DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
DOUT DIN<br />
diffioclk<br />
Clock Multiplexer<br />
3<br />
PLL (4)<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclock<br />
IOE Supports SDR, DDR, or<br />
Non-Registered Datapath<br />
Synchronizer<br />
DOUT DIN<br />
<strong>DPA</strong> Circuitry<br />
(1) This diagram shows a shared PLL between the transmitter <strong>and</strong> receiver. If the transmitter <strong>and</strong> receiver are not shar<strong>in</strong>g the same PLL, two PLLs<br />
on the right side of the device are required.<br />
(2) In SDR <strong>and</strong> DDR modes, the data width is 1 <strong>and</strong> 2 bits, respectively.<br />
(3) The tx_<strong>in</strong> <strong>and</strong> rx_out ports have a maximum data width of 10 bits.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
LVDS_diffioclk<br />
<strong>DPA</strong>_diffioclk<br />
rx_<strong>in</strong>clock/tx_<strong>in</strong>clock<br />
3<br />
Retimed<br />
Data<br />
<strong>DPA</strong> Clock<br />
(<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
8 Serial LVDS<br />
Clock Phases<br />
+ -<br />
LVDS Transmitter<br />
DIN<br />
+ -<br />
LVDS Receiver<br />
tx_out<br />
rx_<strong>in</strong><br />
LVDS Clock Doma<strong>in</strong><br />
<strong>DPA</strong> Clock Doma<strong>in</strong>
8–8 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Transmitter<br />
<strong>Differential</strong> Transmitter<br />
The <strong>Arria</strong> <strong>II</strong> transmitter has a dedicated circuitry to provide support for LVDS<br />
signal<strong>in</strong>g. The dedicated circuitry consists of a differential buffer, a serializer, <strong>and</strong><br />
PLLs that can be shared between the transmitter <strong>and</strong> receiver. The differential buffer<br />
can drive out LVDS, m<strong>in</strong>i-LVDS, <strong>and</strong> RSDS signal<strong>in</strong>g levels. The differential output<br />
buffer supports programmable pre-emphasis <strong>and</strong> programmable voltage output<br />
differential (V OD) controls, <strong>and</strong> can drive out m<strong>in</strong>i-LVDS <strong>and</strong> RSDS signal<strong>in</strong>g levels.<br />
Figure 8–4 is a block diagram of the LVDS transmitter.<br />
1 When us<strong>in</strong>g emulated LVDS I/O st<strong>and</strong>ards at the differential transmitter, the SERDES<br />
circuitry must be implemented <strong>in</strong> logic cells but not hard SERDES.<br />
Figure 8–4. LVDS Transmitter Block Diagram (Note 1), (2)<br />
Notes to Figure 8–4:<br />
FPGA<br />
Fabric<br />
tx_<strong>in</strong><br />
tx_coreclock<br />
(1) In SDR <strong>and</strong> DDR modes, the data width is 1 <strong>and</strong> 2 bits, respectively.<br />
(2) The tx_<strong>in</strong> port has a maximum data width of 10 bits.<br />
(3) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
Serializer<br />
10<br />
Serializer 2<br />
DIN DOUT<br />
3<br />
PLL (3)<br />
IOE<br />
LVDS Transmitter<br />
(LVDS_LOAD_EN, diffioclk, tx_coreclock)<br />
tx_<strong>in</strong>clock<br />
IOE supports SDR, DDR, or<br />
Non-Registered Datapath<br />
LVDS Clock Doma<strong>in</strong><br />
The serializer takes parallel data from the FPGA fabric, clocks it <strong>in</strong>to the parallel load<br />
registers, <strong>and</strong> serializes it us<strong>in</strong>g the shift registers before send<strong>in</strong>g the data to the<br />
differential output buffer. The MSB of the parallel data is transmitted first. The<br />
parallel load <strong>and</strong> shift registers are clocked by the high-speed clock runn<strong>in</strong>g at the<br />
serial data rate (diffioclk) <strong>and</strong> controlled by the load enable signal (LVDS_LOAD_EN)<br />
generated from the PLL. You can statically set the serialization factor to x4, x6, x7, x8,<br />
or x10 us<strong>in</strong>g the ALTLVDS megafunction. The load enable signal is derived from the<br />
serialization factor sett<strong>in</strong>g.<br />
You can bypass the serializer to support DDR (x2) <strong>and</strong> SDR (x1) operations to achieve<br />
a serialization factor of 2 <strong>and</strong> 1, respectively. The I/O element (IOE) conta<strong>in</strong>s two data<br />
output registers that can each operate <strong>in</strong> either DDR or SDR mode. Figure 8–5 shows<br />
the serializer bypass path.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
+ -<br />
tx_out
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–9<br />
<strong>Differential</strong> Transmitter<br />
Figure 8–5. Serializer Bypass Path (Note 1), (2), (3)<br />
Notes to Figure 8–5:<br />
tx_<strong>in</strong> 10<br />
FPGA<br />
Fabric<br />
tx_coreclock<br />
Serializer 2<br />
DIN<br />
3<br />
(LVDS_LOAD_EN, diffioclk, tx_coreclock)<br />
(1) All disabled blocks <strong>and</strong> signals are grayed out.<br />
(2) In DDR mode, tx_<strong>in</strong>clock clocks the IOE register. In SDR mode, data is directly passed through the IOE.<br />
(3) In SDR <strong>and</strong> DDR modes, the data width to the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
DOUT<br />
PLL (4)<br />
IOE<br />
IOE supports SDR, DDR, or<br />
Non-Registered Datapath<br />
LVDS Transmitter<br />
<strong>Differential</strong> applications often require specific clock-to-data alignments or a specific<br />
data rate to clock rate factors. You can configure any <strong>Arria</strong> <strong>II</strong> LVDS transmitter to<br />
generate a source-synchronous transmitter clock output. This flexibility allows the<br />
placement of the output clock near the data outputs to simplify board layout <strong>and</strong><br />
reduce clock-to-data skew. The output clock can also be divided by a factor of 1, 2, 4, 6,<br />
8, or 10, depend<strong>in</strong>g on the serialization factor. The phase of the clock <strong>in</strong> relation to the<br />
data can be set at 0° or 180° (edge or center aligned). The PLLs provide additional<br />
support for other phase shifts <strong>in</strong> 45° <strong>in</strong>crements. These sett<strong>in</strong>gs are made statically <strong>in</strong><br />
the Quartus ® <strong>II</strong> MegaWizard Plug-In Manager software.<br />
Figure 8–6 shows the <strong>Arria</strong> <strong>II</strong> LVDS transmitter <strong>in</strong> clock output mode. In clock output<br />
mode, you can use an LVDS data channel as a clock output channel.<br />
Figure 8–6. LVDS Transmitter <strong>in</strong> Clock Output Mode<br />
Note to Figure 8–6:<br />
FPGA<br />
Fabric<br />
PLL<br />
(1)<br />
(1) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
Transmitter Circuit<br />
tx_<strong>in</strong>clock<br />
Parallel Series<br />
diffioclk<br />
LVDS_LOAD_EN<br />
LVDS Clock Doma<strong>in</strong><br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
+ -<br />
txclkout+<br />
txclkout–<br />
tx_out
8–10 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Transmitter<br />
Programmable Pre-Emphasis <strong>and</strong> Programmable V OD.<br />
Pre-emphasis <strong>in</strong>creases the amplitude of the high frequency component of the output<br />
signal, which helps to compensate for the frequency-dependent attenuation along the<br />
transmission l<strong>in</strong>e. Figure 8–7 shows the LVDS output s<strong>in</strong>gle-ended waveform with<br />
<strong>and</strong> without pre-emphasis. The def<strong>in</strong>ition of V OD is also shown.<br />
Figure 8–7. LVDS Output S<strong>in</strong>gle-Ended Waveform with <strong>and</strong> without Programmable Pre-Emphasis (Note 1)<br />
OUT<br />
OUT<br />
Note to Figure 8–7:<br />
OUT<br />
OUT<br />
(1) V P– voltage boost from pre-emphasis.<br />
V P<br />
V P<br />
Without Programmable Pre-emphasis<br />
V OD<br />
With Programmable Pre-emphasis<br />
Pre-emphasis is an important feature for high-speed transmission. Without<br />
pre-emphasis, the output current is limited by the V OD sett<strong>in</strong>g <strong>and</strong> the output<br />
impedance of the driver. At high frequency, the slew rate may not be fast enough to<br />
reach the full V OD before the next edge, produc<strong>in</strong>g a pattern-dependent jitter. With<br />
pre-emphasis, the output current is boosted momentarily dur<strong>in</strong>g switch<strong>in</strong>g to <strong>in</strong>crease<br />
the output slew rate. The overshoot <strong>in</strong>troduced by the extra current happens only<br />
dur<strong>in</strong>g switch<strong>in</strong>g <strong>and</strong> does not r<strong>in</strong>g, unlike the overshoot caused by signal reflection.<br />
This overshoot must not be <strong>in</strong>cluded <strong>in</strong> the V OD voltage.<br />
Table 8–5 lists the assignment name <strong>and</strong> its possible values for programmable<br />
pre-emphasis <strong>in</strong> the Quartus <strong>II</strong> software Assignment Editor.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
V OD<br />
Table 8–5. Programmable Pre-Emphasis Sett<strong>in</strong>gs <strong>in</strong> Quartus <strong>II</strong> Software Assignment Editor<br />
Assignment Name<br />
Programmable Pre-Emphasis 0 (off), 1 (default on)<br />
Assignment Value<br />
<strong>Arria</strong> <strong>II</strong> GX Device <strong>Arria</strong> <strong>II</strong> GZ Device<br />
0 (default zero),<br />
1 (medium low),<br />
2 (medium high),<br />
3 (high)
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–11<br />
<strong>Differential</strong> Receiver<br />
<strong>Differential</strong> Receiver<br />
You can statically assign the V OD sett<strong>in</strong>gs from the Assignment Editor. Table 8–6 lists<br />
the assignment name for programmable V OD <strong>and</strong> its possible values <strong>in</strong> the Quartus <strong>II</strong><br />
software Assignment Editor.<br />
Table 8–6. Programmable V OD Sett<strong>in</strong>gs <strong>in</strong> Quartus <strong>II</strong> Software Assignment Editor<br />
Assignment Name<br />
Programmable <strong>Differential</strong> Output<br />
Voltage (V OD)<br />
Assignment Value<br />
<strong>Arria</strong> <strong>II</strong> GX Device <strong>Arria</strong> <strong>II</strong> GZ Device<br />
2 0, 1, 2, 3<br />
The <strong>Arria</strong> <strong>II</strong> device family has a dedicated circuitry to receive high-speed differential<br />
signals <strong>in</strong> side or row I/Os. Figure 8–8 shows the hardware blocks of the <strong>Arria</strong> <strong>II</strong><br />
receiver. The receiver has a differential buffer <strong>and</strong> PLLs that can be shared between<br />
the transmitter <strong>and</strong> receiver, a <strong>DPA</strong> block, a synchronizer, a data realignment block,<br />
<strong>and</strong> a deserializer. The differential buffer can receive LVDS signal levels, which are<br />
statically set <strong>in</strong> the Quartus <strong>II</strong> software Assignment Editor. Figure 8–8 shows a block<br />
diagram of an LVDS receiver <strong>in</strong> the right I/O bank.<br />
Figure 8–8. LVDS Receiver Block Diagram (Note 1), (2)<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
10<br />
Notes to Figure 8–8:<br />
IOE Supports SDR, DDR, or Non-Registered Datapath<br />
2<br />
(1) In SDR <strong>and</strong> DDR modes, the data width from the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(2) The rx_out port has a maximum data width of 10 bits.<br />
(3) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
IOE<br />
Deserializer Bit Slip<br />
DOUT DIN DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
3<br />
Clock<br />
Multiplexer<br />
PLL (3)<br />
diffioclk<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclk)<br />
rx_<strong>in</strong>clock<br />
Synchronizer<br />
8 Serial LVDS<br />
Clock Phases<br />
<strong>DPA</strong> Circuitry<br />
Retimed<br />
DOUT DIN<br />
Data DIN<br />
LVDS Clock Doma<strong>in</strong><br />
<strong>DPA</strong> Clock Doma<strong>in</strong><br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
LVDS_diffiioclk<br />
<strong>DPA</strong>_diffioclk<br />
LVDS Receiver<br />
<strong>DPA</strong> Clock<br />
3 (<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
+<br />
rx_<strong>in</strong>
8–12 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Receiver<br />
The <strong>Arria</strong> <strong>II</strong> PLL receives the external reference clock <strong>in</strong>put (rx_<strong>in</strong>clock) <strong>and</strong><br />
generates eight different phases of the same clock. The <strong>DPA</strong> block chooses one of the<br />
eight clock phases from the center/corner PLL <strong>and</strong> aligns to the <strong>in</strong>com<strong>in</strong>g data to<br />
maximize receiver skew marg<strong>in</strong>. The synchronizer circuit is a 1-bit wide by 6-bit deep<br />
FIFO buffer that compensates for any phase difference between the <strong>DPA</strong> block <strong>and</strong> the<br />
deserializer. If necessary, the user-controlled data realignment circuitry <strong>in</strong>serts a s<strong>in</strong>gle<br />
bit of latency <strong>in</strong> the serial bit stream to align to the word boundary. The deserializer<br />
converts the serial data to parallel data <strong>and</strong> sends the parallel data to the FPGA fabric.<br />
The physical medium connect<strong>in</strong>g the LVDS transmitter <strong>and</strong> the receiver channels may<br />
<strong>in</strong>troduce skew between the serial data <strong>and</strong> the source synchronous clock. The<br />
<strong>in</strong>stantaneous skew between each LVDS channel <strong>and</strong> the clock also varies with the<br />
jitter on the data <strong>and</strong> clock signals, as seen by the receiver.<br />
1 Only non-<strong>DPA</strong> mode requires manual skew adjustment.<br />
<strong>Arria</strong> <strong>II</strong> devices support the follow<strong>in</strong>g receiver modes to overcome skew between the<br />
source-synchronous or reference clock <strong>and</strong> the received serial data:<br />
■ Non-<strong>DPA</strong> mode<br />
■ <strong>DPA</strong> mode<br />
■ Soft clock data recovery (CDR) mode<br />
1 Dedicated SERDES <strong>and</strong> <strong>DPA</strong> circuitry only exist on the right side of the device. Top<br />
<strong>and</strong> bottom I/O banks only support non-<strong>DPA</strong> mode, <strong>in</strong> which the SERDES are<br />
implemented <strong>in</strong> the core logic.<br />
Receiver Hardware Blocks<br />
The differential receiver has the follow<strong>in</strong>g hardware blocks:<br />
■ “<strong>DPA</strong>” on page 8–12<br />
■ “Synchronizer” on page 8–13<br />
■ “Data Realignment Block (Bit Slip)” on page 8–14<br />
■ “Deserializer” on page 8–15<br />
<strong>DPA</strong><br />
The <strong>DPA</strong> block takes <strong>in</strong> high-speed serial data from the differential <strong>in</strong>put buffer <strong>and</strong><br />
selects the optimal phase from one of the eight clock phases generated by the PLL to<br />
sample the data. The eight phases of the clock are equally divided, giv<strong>in</strong>g a 45°<br />
resolution. The maximum phase offset between the received data <strong>and</strong> the selected<br />
phase is 1/8 unit <strong>in</strong>terval (UI), which is the maximum quantization error of the <strong>DPA</strong><br />
block. The optimal clock phase selected by the <strong>DPA</strong> block (<strong>DPA</strong>_diffioclk) is also<br />
used to write data <strong>in</strong>to the FIFO buffer or to clock the SERDES for soft-CDR operation.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–13<br />
<strong>Differential</strong> Receiver<br />
Figure 8–9 shows the possible phase relationships between the <strong>DPA</strong> clocks <strong>and</strong> the<br />
<strong>in</strong>com<strong>in</strong>g serial data.<br />
Figure 8–9. <strong>DPA</strong> Clock Phase to Serial Data Tim<strong>in</strong>g Relationship (Note 1)<br />
Note to Figure 8–9:<br />
rx_<strong>in</strong><br />
(1) T VCO is def<strong>in</strong>ed as the PLL serial clock period.<br />
0˚<br />
45˚<br />
90˚<br />
135˚<br />
180˚<br />
225˚<br />
270˚<br />
315˚<br />
The <strong>DPA</strong> block requires a tra<strong>in</strong><strong>in</strong>g pattern <strong>and</strong> sequence of at least 256 repetitions. The<br />
tra<strong>in</strong><strong>in</strong>g pattern is not fixed, so you can use any tra<strong>in</strong><strong>in</strong>g pattern with at least one<br />
transition. An optional user controlled signal (rx_dpll_hold) freezes the <strong>DPA</strong> clock on<br />
its current phase when asserted. This signal is useful if you do not want the <strong>DPA</strong><br />
circuitry to cont<strong>in</strong>uously adjust the phase after <strong>in</strong>itial phase selection.<br />
The <strong>DPA</strong> circuitry loses lock when it switches phases to ma<strong>in</strong>ta<strong>in</strong> an optimal sampl<strong>in</strong>g<br />
phase. After it is locked, the <strong>DPA</strong> circuitry can lose the lock status under either of the<br />
follow<strong>in</strong>g conditions:<br />
■ One phase change (adjacent to the current phase)<br />
■ Two phase changes <strong>in</strong> the same direction<br />
An <strong>in</strong>dependent reset signal (rx_reset) is routed from the FPGA fabric to reset the<br />
<strong>DPA</strong> circuitry while <strong>in</strong> the user mode. The <strong>DPA</strong> circuitry must be retra<strong>in</strong>ed after reset.<br />
Synchronizer<br />
D0 D1 D2 D3 D4 Dn<br />
0.125T vco<br />
T vco<br />
The synchronizer is a 1-bit wide <strong>and</strong> 6-bit deep FIFO buffer that compensates for the<br />
phase difference between <strong>DPA</strong>_diffioclk <strong>and</strong> the high-speed clock (LVDS_diffioclk)<br />
produced by the PLL. Because every <strong>DPA</strong> channel might have a different phase<br />
selected to sample the data, you need the FIFO buffer to synchronize the data to the<br />
high-speed LVDS clock doma<strong>in</strong>. The synchronizer can only compensate for phase<br />
differences, not frequency differences between the data <strong>and</strong> the <strong>in</strong>put reference clock<br />
of the receiver, <strong>and</strong> is automatically reset when the <strong>DPA</strong> circuitry first locks to the<br />
<strong>in</strong>com<strong>in</strong>g data.<br />
An optional signal (rx_fifo_reset) is available to the FPGA fabric to reset the<br />
synchronizer. <strong>Altera</strong> recommends us<strong>in</strong>g rx_fifo_reset to reset the synchronizer<br />
when the <strong>DPA</strong> signal is <strong>in</strong> a loss-of-lock condition <strong>and</strong> the data checker <strong>in</strong>dicates<br />
corrupted received data.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–14 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Receiver<br />
Figure 8–10. Data Realignment Tim<strong>in</strong>g<br />
Data Realignment Block (Bit Slip)<br />
Skew <strong>in</strong> the transmitted data along with skew added by the l<strong>in</strong>k causes<br />
channel-to-channel skew on the received serial data streams. If you enabled the <strong>DPA</strong><br />
block, the received data is captured with different clock phases on each channel <strong>and</strong><br />
might cause the received data to be misaligned from channel to channel. To<br />
compensate for the channel-to-channel skew <strong>and</strong> establish the correct received word<br />
boundary at each channel, each receiver channel has a dedicated data realignment<br />
circuit that realigns the data by <strong>in</strong>sert<strong>in</strong>g bit latencies <strong>in</strong>to the serial stream.<br />
An optional signal (rx_channel_data_align) controls the bit <strong>in</strong>sertion of each receiver<br />
<strong>in</strong>dependently controlled from the <strong>in</strong>ternal logic. The data slips one bit on the ris<strong>in</strong>g<br />
edge of rx_channel_data_align. The follow<strong>in</strong>g are requirements for the<br />
rx_channel_data_align signal:<br />
■ An edge-triggered signal<br />
■ The m<strong>in</strong>imum pulse width is one period of the parallel clock <strong>in</strong> the logic array<br />
■ The m<strong>in</strong>imum low time between pulses is one period of the parallel clock<br />
■ Hold<strong>in</strong>g rx_channel_data_align does not result <strong>in</strong> extra slips<br />
■ Valid data is available two parallel clock cycles after the ris<strong>in</strong>g edge of the<br />
rx_channel_data_align signal<br />
Figure 8–10 shows receiver output after a one bit-slip pulse with the deserialization<br />
factor set to 4.<br />
rx_<strong>in</strong>clock<br />
rx_<strong>in</strong><br />
rx_outclock<br />
rx_channel_data_align<br />
rx_out<br />
3<br />
2 1 0 3 2 1 0 3 2 1 0<br />
3210 321x xx21 0321<br />
The data realignment circuit can have up to 11 bit-times of <strong>in</strong>sertion before a rollover<br />
occurs. The programmable bit rollover po<strong>in</strong>t can be from 1 to 11 bit-times,<br />
<strong>in</strong>dependent of the deserialization factor. The programmable bit rollover po<strong>in</strong>t must<br />
be set to equal to or greater than the deserialization factor, allow<strong>in</strong>g enough depth <strong>in</strong><br />
the word alignment circuit to slip through a full word. You can set the value of the bit<br />
rollover po<strong>in</strong>t us<strong>in</strong>g the ALTLVDS megafunction. An optional status signal<br />
(rx_cda_max) is available to the FPGA fabric from each channel to <strong>in</strong>dicate when the<br />
preset rollover po<strong>in</strong>t is reached.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–15<br />
<strong>Differential</strong> Receiver<br />
Figure 8–11 shows a preset value of 4-bit times before rollover occurs. The rx_cda_max<br />
signal pulses for one rx_outclock cycle to <strong>in</strong>dicate that rollover has occurred.<br />
Figure 8–11. Receiver Data Re-Alignment Rollover<br />
rx_<strong>in</strong>clock<br />
rx_channel_data_align<br />
rx_outclock<br />
rx_cda_max<br />
Deserializer<br />
The deserializer, which <strong>in</strong>cludes shift registers <strong>and</strong> parallel load registers, converts the<br />
serial data from the bit slip to parallel data before send<strong>in</strong>g the data to the FPGA fabric.<br />
The deserialization factor supported is 4, 6, 7, 8, or 10. You can bypass the deserializer<br />
to support DDR (x2) <strong>and</strong> SDR (x1) operations, as shown <strong>in</strong> Figure 8–12. You cannot<br />
use the <strong>DPA</strong> <strong>and</strong> data realignment circuit when the deserializer is bypassed. The IOE<br />
conta<strong>in</strong>s two data <strong>in</strong>put registers that can operate <strong>in</strong> DDR or SDR mode.<br />
Figure 8–12. Deserializer Bypass (Note 1), (2), (3)<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
2<br />
Notes to Figure 8–12:<br />
IOE Supports SDR, DDR, or Non-Registered Datapath<br />
2<br />
IOE<br />
Deserializer Deser Deserializ ializer er Bit Slip<br />
DOUT DIN DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
PLL (4)<br />
Clock<br />
Multiplexer p<br />
Synchronizer<br />
DOUT DIN<br />
8 Serial LVDS L<br />
Clock Phases<br />
(1) All disabled blocks <strong>and</strong> signals are grayed out.<br />
(2) In DDR mode, rx_<strong>in</strong>clock clocks the IOE register. In SDR mode, data is directly passed through the IOE.<br />
(3) In SDR <strong>and</strong> DDR modes, the data width from the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
3<br />
diffioclk<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclk)<br />
<strong>DPA</strong> P Circuitry<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
LVDS_diffiioclk<br />
LL<br />
<strong>DPA</strong>_diffioclk P<br />
LVDS Receiver<br />
3<br />
Retimed<br />
Data<br />
(<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
<strong>DPA</strong> P Clock<br />
DIN<br />
+<br />
rx_<strong>in</strong>
8–16 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Receiver<br />
Receiver Datapath Modes<br />
<strong>Arria</strong> <strong>II</strong> devices support the follow<strong>in</strong>g three receiver datapath modes:<br />
■ “Non-<strong>DPA</strong>”<br />
■ “<strong>DPA</strong> Mode”<br />
■ “Soft CDR Mode”<br />
Non-<strong>DPA</strong><br />
Non-<strong>DPA</strong> mode allows you to statically select the optimal phase between the<br />
source-synchronous reference clock <strong>and</strong> the <strong>in</strong>put serial data to compensate for any<br />
skew between the two signals. The reference clock must be a differential signal.<br />
Figure 8–13 shows the non-<strong>DPA</strong> datapath block diagram. Input serial data is<br />
registered at the ris<strong>in</strong>g or fall<strong>in</strong>g edge of the LVDS_diffioclk clock produced by the<br />
PLL. You can select the ris<strong>in</strong>g/fall<strong>in</strong>g edge option us<strong>in</strong>g the ALTLVDS megafunction.<br />
Both data realignment <strong>and</strong> deserializer blocks are clocked by the LVDS_diffioclk<br />
clock.<br />
For <strong>Arria</strong> <strong>II</strong> GX devices, you must perform PCB trace compensation to adjust the trace<br />
length of each LVDS channel to improve channel-to-channel skew when <strong>in</strong>terfac<strong>in</strong>g<br />
with non-<strong>DPA</strong> receivers at data rate above 840 Mbps.<br />
The Quartus <strong>II</strong> software Fitter Report panel reports the amount of delay you must add<br />
to each trace for the <strong>Arria</strong> <strong>II</strong> GX device. You can use the recommended trace delay<br />
numbers published under the LVDS Transmitter/Receiver Package Skew<br />
Compensation panel <strong>and</strong> manually compensate the skew on the PCB board trace to<br />
reduce channel-to-channel skew, thus meet<strong>in</strong>g the tim<strong>in</strong>g budget between LVDS<br />
channels.<br />
1 For more <strong>in</strong>formation about the LVDS Transmitter/Receiver Package Skew<br />
Compensation report panel, refer to the “<strong>Arria</strong> <strong>II</strong> GX LVDS Package Skew<br />
Compensation Report Panel“ section <strong>in</strong> the SERDES Transmitter/Receiver (ALTLVDS)<br />
Megafunction User Guide.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–17<br />
<strong>Differential</strong> Receiver<br />
Figure 8–13. Receiver Datapath <strong>in</strong> Non-<strong>DPA</strong> Mode (Note 1), (2), (3)<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
10<br />
Notes to Figure 8–13:<br />
IOE Supports SDR, DDR, or Non-Registered Datapath<br />
2<br />
IOE<br />
Deserializer Bit Slip<br />
DOUT DIN DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
Clock<br />
Multiplexer<br />
PLL (4)<br />
rx_<strong>in</strong>clock<br />
(1) All disabled blocks <strong>and</strong> signals are grayed out.<br />
(2) In SDR <strong>and</strong> DDR modes, the data width from the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(3) The rx_out port has a maximum data width of 10 bits.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
3<br />
diffioclk<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclk)<br />
Synchronizer<br />
8 Serial LVDS L<br />
Clock Phases<br />
<strong>DPA</strong> P Circuitry<br />
Retimed<br />
DOUT DIN DIN<br />
Data<br />
<strong>DPA</strong> P Clock<br />
LVDS Clock Doma<strong>in</strong><br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
LVDS_diffiioclk<br />
L<br />
<strong>DPA</strong>_diffioclk P<br />
LVDS Receiver<br />
3<br />
(<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
+<br />
rx_<strong>in</strong>
8–18 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Receiver<br />
<strong>DPA</strong> Mode<br />
In <strong>DPA</strong> mode, the <strong>DPA</strong> circuitry automatically chooses the optimal phase between the<br />
source-synchronous reference clock <strong>and</strong> the <strong>in</strong>put serial data to compensate for the<br />
skew between the two signals. The reference clock must be a differential signal.<br />
Figure 8–14 shows the <strong>DPA</strong> mode datapath. Use the <strong>DPA</strong>_diffioclk clock to write<br />
serial data <strong>in</strong>to the synchronizer. Use the LVDS_diffioclk clock to read the serial data<br />
from the synchronizer. Use the same LVDS_diffioclk clock <strong>in</strong> the data realignment<br />
<strong>and</strong> deserializer blocks.<br />
Figure 8–14. Receiver Datapath <strong>in</strong> <strong>DPA</strong> Mode (Note 1), (2), (3)<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
10<br />
Notes to Figure 8–14:<br />
IOE Supports SDR, DDR, or Non-Registered Datapath<br />
2<br />
IOE<br />
Deserializer Bit Slip<br />
DOUT DIN DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
PLL (4)<br />
Clock<br />
Multiplier<br />
rx_<strong>in</strong>clock<br />
(1) All disabled blocks <strong>and</strong> signals are grayed out.<br />
(2) In SDR <strong>and</strong> DDR modes, the data width from the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(3) The rx_out port has a maximum data width of 10 bits.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
3<br />
diffioclk<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclk)<br />
Synchronizer<br />
8 Serial LVDS<br />
Clock Phases<br />
<strong>DPA</strong> Circuitry<br />
Retimed<br />
DOUT DIN<br />
Data<br />
DIN<br />
LVDS Clock Doma<strong>in</strong><br />
<strong>DPA</strong> Clock Doma<strong>in</strong><br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
LVDS_diffiioclk<br />
<strong>DPA</strong>_diffioclk<br />
LVDS Receiver<br />
3<br />
<strong>DPA</strong> Clock<br />
(<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
+<br />
rx_<strong>in</strong>
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–19<br />
<strong>Differential</strong> Receiver<br />
Soft CDR Mode<br />
Figure 8–15 shows the soft CDR mode datapath block diagram. In soft CDR mode, the<br />
PLL uses the local clock source as the reference clock. The reference clock must be a<br />
differential signal. The <strong>DPA</strong> circuitry cont<strong>in</strong>uously changes its phase to track the parts<br />
per million (ppm) difference between the upstream transmitter <strong>and</strong> the local receiver<br />
reference <strong>in</strong>put clocks. Use the <strong>DPA</strong>_diffioclk clock for bit-slip operation <strong>and</strong><br />
deserialization. The <strong>DPA</strong>_diffioclk clock is divided by the deserialization factor to<br />
produce the rx_divfwdclk clock, which is then forwarded to the FPGA fabric. The<br />
receiver output data (rx_out) to the FPGA fabric is synchronized to this clock. The<br />
parallel clock rx_outclock, generated by the center/corner PLL, is also forwarded to<br />
the FPGA fabric.<br />
Figure 8–15. Receiver Datapath <strong>in</strong> Soft CDR Mode (Note 1), (2), (3)<br />
rx_out<br />
FPGA<br />
Fabric<br />
rx_divfwdclk<br />
rx_outclock<br />
10<br />
Notes to Figure 8–15:<br />
IOE Supports SDR, DDR, or Non-Registered Datapath<br />
2<br />
IOE<br />
Deserializer Bit Slip<br />
DOUT DIN DOUT DIN<br />
2<br />
(LOAD_EN, diffioclk)<br />
Clock<br />
Multiplexer<br />
PLL (4)<br />
rx_<strong>in</strong>clock<br />
(1) All disabled blocks <strong>and</strong> signals are grayed out.<br />
(2) In SDR <strong>and</strong> DDR modes, the data width from the IOE is 1 <strong>and</strong> 2 bits, respectively.<br />
(3) The rx_out port has a maximum data width of 10 bits.<br />
(4) <strong>Arria</strong> <strong>II</strong> GX center/corner PLL or <strong>Arria</strong> <strong>II</strong> GZ left/right PLL.<br />
3<br />
diffioclk<br />
(LVDS_LOAD_EN,<br />
LVDS_diffioclk,<br />
rx_outclk)<br />
Synchronizer<br />
8 Serial LVDS<br />
Clock Phases<br />
<strong>DPA</strong> Circuitry<br />
Retimed<br />
DOUT DIN<br />
Data<br />
DIN<br />
LVDS Clock Doma<strong>in</strong><br />
<strong>DPA</strong> Clock Doma<strong>in</strong><br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
LVDS_diffiioclk<br />
<strong>DPA</strong>_diffioclk<br />
LVDS Receiver<br />
3<br />
<strong>DPA</strong> Clock<br />
(<strong>DPA</strong>_LOAD_EN,<br />
<strong>DPA</strong>_diffioclk,<br />
rx_divfwdclk)<br />
+<br />
rx_<strong>in</strong>
8–20 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> Receiver<br />
<strong>Differential</strong> I/O Term<strong>in</strong>ation<br />
The <strong>Arria</strong> <strong>II</strong> device family provides a 100-� R D OCT option on each differential<br />
receiver channel for LVDS st<strong>and</strong>ards. OCT saves board space by elim<strong>in</strong>at<strong>in</strong>g the need<br />
to add external resistors on the board. You can enable OCT <strong>in</strong> the Quartus <strong>II</strong> software<br />
Assignment Editor.<br />
For <strong>Arria</strong> <strong>II</strong> GX devices, OCT is supported <strong>in</strong> the top, right, <strong>and</strong> bottom I/O banks.<br />
<strong>Arria</strong> <strong>II</strong> GX clock <strong>in</strong>put p<strong>in</strong>s (CLK[4..15]) do not support OCT. For <strong>Arria</strong> <strong>II</strong> GZ<br />
devices, R D OCT is supported on all row I/O p<strong>in</strong>s <strong>and</strong> dedicated clock <strong>in</strong>put p<strong>in</strong>s<br />
(CLK[0,2,9,11]). It is not supported for column I/O p<strong>in</strong>s <strong>and</strong> dedicated clock <strong>in</strong>put<br />
p<strong>in</strong>s (CLK[1,3,8,10]).<br />
Figure 8–16 shows LVDS <strong>in</strong>put OCT.<br />
Figure 8–16. LVDS Input Buffer I/O R D OCT<br />
LVDS<br />
Transmitter<br />
Z 0 = 50 Ω<br />
Z 0 = 50 Ω<br />
<strong>Arria</strong> <strong>II</strong> <strong>Differential</strong><br />
Receiver with<br />
RD= 100 Ω OCT<br />
Table 8–7 lists the assignment name <strong>and</strong> its value for differential <strong>in</strong>put OCT <strong>in</strong> the<br />
Quartus <strong>II</strong> software Assignment Editor.<br />
Table 8–7. <strong>Differential</strong> Input OCT <strong>in</strong> Quartus <strong>II</strong> Software Assignment Editor<br />
Assignment Name Assignment Value<br />
Input Term<strong>in</strong>ation (Accepts wildcards/groups) <strong>Differential</strong><br />
f For more <strong>in</strong>formation, refer to I/O Features <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices chapter.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
R D
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–21<br />
PLLs<br />
PLLs<br />
<strong>Arria</strong> <strong>II</strong> GX devices conta<strong>in</strong> up to six PLLs with up to four center <strong>and</strong> corner PLLs<br />
located on the right side of the device. Use the center/corner PLL on the right side of<br />
the device to generate parallel clocks (rx_outclock <strong>and</strong> tx_outclock) <strong>and</strong> high-speed<br />
clocks (diffioclk) for the SERDES <strong>and</strong> <strong>DPA</strong> circuitry. Figure 8–1 on page 8–3 shows<br />
the locations of the PLLs for <strong>Arria</strong> <strong>II</strong> GX devices. Clock switchover <strong>and</strong> dynamic<br />
reconfiguration are allowed us<strong>in</strong>g the center/corner PLLs <strong>in</strong> high-speed differential<br />
I/O support mode.<br />
<strong>Arria</strong> <strong>II</strong> GZ devices conta<strong>in</strong> up to four left <strong>and</strong> right PLLs with up to two PLLs located<br />
on the left side <strong>and</strong> two on the right side of the device. The left PLLs can support<br />
high-speed differential I/O banks on the left side; the right PLLs can support<br />
high-speed differential I/O banks on the right side of the device. The high-speed<br />
differential I/O receiver <strong>and</strong> transmitter channels use these left <strong>and</strong> right PLLs to<br />
generate the parallel clocks (rx_outclock <strong>and</strong> tx_outclock) <strong>and</strong> high-speed clocks<br />
(diffioclk). Figure 8–2 on page 8–4 shows the locations of the left <strong>and</strong> right PLLs for<br />
<strong>Arria</strong> <strong>II</strong> GZ devices. The PLL VCO operates at the clock frequency of the data rate.<br />
Clock switchover <strong>and</strong> dynamic reconfiguration are allowed us<strong>in</strong>g the left <strong>and</strong> right<br />
PLL <strong>in</strong> high-speed differential I/O support mode.<br />
f For more <strong>in</strong>formation about PLLs, refer to the Clock Network <strong>and</strong> PLLs <strong>in</strong> <strong>Arria</strong> <strong>II</strong><br />
Devices chapter.<br />
LVDS <strong>and</strong> <strong>DPA</strong> Clock Networks<br />
<strong>Arria</strong> <strong>II</strong> GX devices only have LVDS <strong>and</strong> <strong>DPA</strong> clock networks on the right side of the<br />
device. The center/corner PLLs feed <strong>in</strong>to the differential transmitter <strong>and</strong> receiver<br />
channels through the LVDS <strong>and</strong> <strong>DPA</strong> clock networks. Figure 8–17 <strong>and</strong> Figure 8–18<br />
show the LVDS clock tree for family members without center PLLs <strong>and</strong> with center<br />
PLLs, respectively. The center PLLs can drive the LVDS clock tree above <strong>and</strong> below<br />
them. In <strong>Arria</strong> <strong>II</strong> GX devices with or without center PLLs, the corner PLLs can drive<br />
both top <strong>and</strong> bottom LVDS clock tree.<br />
Figure 8–17. LVDS <strong>and</strong> <strong>DPA</strong> Clock Networks <strong>in</strong> the <strong>Arria</strong> <strong>II</strong> GX Devices without Center PLLs<br />
No LVDS <strong>and</strong> <strong>DPA</strong><br />
clock networks on the<br />
left side of the device<br />
Quadrant Quadrant<br />
Quadrant Quadrant<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
<strong>DPA</strong><br />
Clock<br />
Corner<br />
PLL<br />
Corner<br />
PLL<br />
LVDS<br />
Clock<br />
4<br />
8<br />
4<br />
4<br />
4
8–22 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
LVDS <strong>and</strong> <strong>DPA</strong> Clock Networks<br />
Figure 8–18. LVDS <strong>and</strong> <strong>DPA</strong> Clock Networks <strong>in</strong> the <strong>Arria</strong> <strong>II</strong> GX Devices with Center PLLs<br />
No LVDS <strong>and</strong> <strong>DPA</strong><br />
clock networks on the<br />
left side of the device<br />
Quadrant Quadrant<br />
Quadrant Quadrant<br />
<strong>Arria</strong> <strong>II</strong> GZ devices have left <strong>and</strong> right PLLs that feed <strong>in</strong>to the differential transmitter<br />
<strong>and</strong> receive channels through the LVDS <strong>and</strong> <strong>DPA</strong> clock network. The center left <strong>and</strong><br />
right PLLs can clock the transmitter <strong>and</strong> receive channels above <strong>and</strong> below them.<br />
Figure 8–19 shows center PLL clock<strong>in</strong>g <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GZ devices.<br />
Figure 8–19. LVDS/<strong>DPA</strong> Clocks <strong>in</strong> the <strong>Arria</strong> <strong>II</strong> GZ Devices with Center PLLs<br />
4<br />
4<br />
4<br />
2<br />
2<br />
4<br />
LVDS<br />
Clock<br />
Center<br />
PLL_L2<br />
Center<br />
PLL_L3<br />
LVDS<br />
Clock<br />
<strong>DPA</strong><br />
Clock<br />
<strong>DPA</strong><br />
Clock<br />
Quadrant Quadrant<br />
Quadrant Quadrant<br />
For more <strong>in</strong>formation about <strong>Arria</strong> <strong>II</strong> devices PLL clock<strong>in</strong>g restrictions, refer to<br />
“<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es” on page 8–27.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
<strong>DPA</strong><br />
Clock<br />
<strong>DPA</strong><br />
Clock<br />
Corner<br />
PLL<br />
Center<br />
PLL<br />
Center<br />
PLL<br />
LVDS<br />
Clock<br />
LVDS<br />
Clock<br />
Corner<br />
PLL<br />
<strong>DPA</strong><br />
Clock<br />
<strong>DPA</strong><br />
Clock<br />
4<br />
4<br />
8<br />
4<br />
4<br />
8<br />
4<br />
LVDS<br />
Clock<br />
Center<br />
PLL_R2<br />
Center<br />
PLL_R3<br />
LVDS<br />
Clock<br />
4<br />
4<br />
2<br />
2<br />
4<br />
4<br />
4
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–23<br />
Source-Synchronous Tim<strong>in</strong>g Budget<br />
Source-Synchronous Tim<strong>in</strong>g Budget<br />
This section describes the tim<strong>in</strong>g budget, waveforms, <strong>and</strong> specifications for<br />
source-synchronous signal<strong>in</strong>g <strong>in</strong> <strong>Arria</strong> <strong>II</strong> devices. Tim<strong>in</strong>g analysis for the differential<br />
block is different from traditional synchronous tim<strong>in</strong>g analysis techniques. Therefore,<br />
it is important to underst<strong>and</strong> how to analyze tim<strong>in</strong>g for high-speed differential<br />
signals. This section def<strong>in</strong>es the source-synchronous differential data orientation<br />
tim<strong>in</strong>g parameters, tim<strong>in</strong>g budget def<strong>in</strong>itions, <strong>and</strong> how to use these tim<strong>in</strong>g<br />
parameters to determ<strong>in</strong>e your design’s maximum performance.<br />
<strong>Differential</strong> Data Orientation<br />
There is a set relationship between an external clock <strong>and</strong> the <strong>in</strong>com<strong>in</strong>g data. For<br />
operation at 1 Gbps <strong>and</strong> a serialization factor of 10, the external clock is multiplied<br />
by 10. You can set the phase-alignment <strong>in</strong> the PLL to co<strong>in</strong>cide with the sampl<strong>in</strong>g<br />
w<strong>in</strong>dow of each data bit. The data is sampled on the fall<strong>in</strong>g edge of the multiplied<br />
clock.<br />
Figure 8–20 shows the data bit orientation of x10 mode.<br />
Figure 8–20. Bit Orientation<br />
<strong>in</strong>clock/outclock<br />
data <strong>in</strong><br />
<strong>Differential</strong> I/O Bit Position<br />
Data synchronization is necessary for successful data transmission at high<br />
frequencies. Figure 8–21 shows data bit orientation for a channel operation. These<br />
figures are based on the follow<strong>in</strong>g:<br />
■ serialization factor equals clock multiplication factor<br />
■ edge alignment is selected for phase alignment<br />
■ implemented <strong>in</strong> hard SERDES<br />
10 LVDS Bits<br />
MSB LSB<br />
9 8 7 6 5 4 3 2 1 0<br />
For other serialization factors, use the Quartus <strong>II</strong> software tools to f<strong>in</strong>d the bit position<br />
<strong>in</strong> the word. The bit positions after deserialization are listed <strong>in</strong> Table 8–8.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–24 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Source-Synchronous Tim<strong>in</strong>g Budget<br />
Figure 8–21. Bit Order <strong>and</strong> Word Boundary for One <strong>Differential</strong> Channel (Note 1)<br />
Transmitter Channel<br />
Operation (x8 Mode)<br />
tx_outclock<br />
Previous Cycle Current Cycle Next Cycle<br />
tx_out X X X X X X X X 7 6<br />
MSB<br />
5 4 3 2 1 0<br />
LSB<br />
X X X X X X X X<br />
Receiver Channel<br />
Operation (x8 Mode)<br />
rx_<strong>in</strong>clock<br />
Note to Figure 8–21:<br />
rx_<strong>in</strong> 7 6 5 4 3 2 1 0 X X X X X X X X X X X X X X X X X X X X X X X X<br />
rx_outclock<br />
rx_out [7..0] X X X X X X X X X X X X X X X X X X X X 7 6 5 4 3 2 1 0 X X X X<br />
(1) These waveforms are only functional waveforms <strong>and</strong> are not <strong>in</strong>tended to convey tim<strong>in</strong>g <strong>in</strong>formation.<br />
Table 8–8 lists the conventions for differential bit nam<strong>in</strong>g for 18 differential channels.<br />
The MSB <strong>and</strong> LSB positions <strong>in</strong>crease with the number of channels used <strong>in</strong> a system.<br />
Table 8–8. <strong>Differential</strong> Bit Nam<strong>in</strong>g<br />
Receiver Channel Data<br />
Internal 8-Bit Parallel Data<br />
Number<br />
MSB Position LSB Position<br />
1 7 0<br />
2 15 8<br />
3 23 16<br />
4 31 24<br />
5 39 32<br />
6 47 40<br />
7 55 48<br />
8 63 56<br />
9 71 64<br />
10 79 72<br />
11 87 80<br />
12 95 88<br />
13 103 96<br />
14 111 104<br />
15 119 112<br />
16 127 120<br />
17 135 128<br />
18 143 136<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–25<br />
Source-Synchronous Tim<strong>in</strong>g Budget<br />
Transmitter Channel-to-Channel Skew<br />
Transmitter channel-to-channel skew (TCCS) is an important parameter based on the<br />
<strong>Arria</strong> <strong>II</strong> transmitter <strong>in</strong> a source synchronous differential <strong>in</strong>terface. This parameter is<br />
used <strong>in</strong> receiver skew marg<strong>in</strong> calculation.<br />
TCCS is the difference between the fastest <strong>and</strong> slowest data output transitions,<br />
<strong>in</strong>clud<strong>in</strong>g the TCO variation <strong>and</strong> clock skew. For LVDS transmitters, the TimeQuest<br />
Tim<strong>in</strong>g Analyzer provides a TCCS report, which shows TCCS values for serial output<br />
ports.<br />
f You can get the TCCS value from the TCCS report (report_TCCS) <strong>in</strong> the Quartus <strong>II</strong><br />
compilation report under the TimeQuest analyzer or from the <strong>Arria</strong> <strong>II</strong> Device Data<br />
Sheet chapter.<br />
Receiver Skew Marg<strong>in</strong> for Non-<strong>DPA</strong> Mode<br />
Changes <strong>in</strong> system environment, such as temperature, media (cable, connector, or<br />
PCB), <strong>and</strong> load<strong>in</strong>g, effect the receiver’s setup <strong>and</strong> hold times; <strong>in</strong>ternal skew affects the<br />
sampl<strong>in</strong>g ability of the receiver.<br />
Different modes of LVDS receivers use different specifications, which can help <strong>in</strong><br />
decid<strong>in</strong>g the ability to sample the received serial data correctly. In <strong>DPA</strong> mode, use<br />
<strong>DPA</strong> jitter tolerance <strong>in</strong>stead of receiver skew marg<strong>in</strong> (RSKM).<br />
In non-<strong>DPA</strong> mode, use RSKM, TCCS, <strong>and</strong> sampl<strong>in</strong>g w<strong>in</strong>dow (SW) specifications for<br />
high-speed source-synchronous differential signals <strong>in</strong> the receiver datapath. The<br />
relationship between RSKM, TCCS, <strong>and</strong> SW is expressed by the RSKM equation<br />
shown <strong>in</strong> Equation 8–1:<br />
Equation 8–1.<br />
Where:<br />
■ TUI—the time period of the serial data.<br />
RSKM<br />
TUI – SW TCCS –<br />
=<br />
----------------------------------------------<br />
2<br />
■ RSKM—the tim<strong>in</strong>g marg<strong>in</strong> between the receiver’s clock <strong>in</strong>put <strong>and</strong> the data <strong>in</strong>put<br />
SW.<br />
■ SW—the period of time that the <strong>in</strong>put data must be stable to ensure that the data is<br />
successfully sampled by the LVDS receiver. The sampl<strong>in</strong>g w<strong>in</strong>dow is the device<br />
property <strong>and</strong> varies with the device speed grade.<br />
■ TCCS—the difference between the fastest <strong>and</strong> slowest data output transitions,<br />
<strong>in</strong>clud<strong>in</strong>g the t CO variation <strong>and</strong> clock skew.<br />
You must calculate the RSKM value to decide whether or not the data can be sampled<br />
properly by the LVDS receiver with the given data rate <strong>and</strong> device. A positive RSKM<br />
value <strong>in</strong>dicates the LVDS receiver can sample the data properly; a negative RSKM<br />
<strong>in</strong>dicates the receiver cannot sample the data properly.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–26 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Source-Synchronous Tim<strong>in</strong>g Budget<br />
Figure 8–22 shows the relationship between the RSKM, TCCS, <strong>and</strong> SW.<br />
Figure 8–22. <strong>Differential</strong> <strong>High</strong>-<strong>Speed</strong> Tim<strong>in</strong>g Diagram <strong>and</strong> Tim<strong>in</strong>g Budget for Non-<strong>DPA</strong> Mode<br />
Tim<strong>in</strong>g Diagram<br />
External<br />
Input Clock<br />
Internal<br />
Clock<br />
Receiver<br />
Input Data<br />
Tim<strong>in</strong>g Budget<br />
External<br />
Clock<br />
Internal<br />
Clock<br />
Synchronization<br />
Transmitter<br />
Output Data<br />
Receiver<br />
Input Data<br />
TCCS<br />
TCCS<br />
Time Unit Interval (TUI)<br />
RSKM SW<br />
RSKM<br />
Internal<br />
Clock<br />
Fall<strong>in</strong>g Edge<br />
For LVDS receivers, the Quartus <strong>II</strong> software provides the RSKM report show<strong>in</strong>g SW,<br />
TUI, <strong>and</strong> RSKM values for non-<strong>DPA</strong> mode. You can generate the RSKM by execut<strong>in</strong>g<br />
the report_RSKM comm<strong>and</strong> <strong>in</strong> the TimeQuest analyzer. You can f<strong>in</strong>d the RSKM<br />
report <strong>in</strong> the Quartus <strong>II</strong> Compilation report under TimeQuest Tim<strong>in</strong>g Analyzer<br />
section.<br />
1 To obta<strong>in</strong> the RSKM value, assign an appropriate <strong>in</strong>put delay to the LVDS receiver<br />
through the TimeQuest analyzer constra<strong>in</strong>ts menu.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
TUI<br />
Clock Placement<br />
TCCS<br />
RSKM RSKM<br />
SW<br />
TCCS<br />
2
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–27<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
To ensure proper high-speed operation, differential p<strong>in</strong> placement guidel<strong>in</strong>es are<br />
established. The Quartus <strong>II</strong> Compiler automatically checks that these guidel<strong>in</strong>es are<br />
followed <strong>and</strong> issues an error message if they are not adhered to.<br />
1 <strong>DPA</strong>-enabled differential channels refer to <strong>DPA</strong> mode or soft CDR mode;<br />
<strong>DPA</strong>-disabled channels refer to non-<strong>DPA</strong> mode.<br />
<strong>DPA</strong>-Enabled Channels <strong>and</strong> S<strong>in</strong>gle-Ended I/Os<br />
When s<strong>in</strong>gle-ended I/Os <strong>and</strong> LVDS I/Os share the same I/O bank, the placement of<br />
s<strong>in</strong>gle-ended I/O p<strong>in</strong>s with respect to LVDS I/O p<strong>in</strong>s is restricted. The constra<strong>in</strong>ts on<br />
s<strong>in</strong>gle-ended I/Os placement with respect to <strong>DPA</strong>-enabled or <strong>DPA</strong>-disabled LVDS<br />
I/Os are the same.<br />
■ S<strong>in</strong>gle-ended I/Os are allowed <strong>in</strong> the same I/O bank, if the s<strong>in</strong>gle-ended I/O<br />
st<strong>and</strong>ard uses the same V CCIO as the <strong>DPA</strong>-enabled differential I/O bank.<br />
■ S<strong>in</strong>gle-ended <strong>in</strong>puts can be <strong>in</strong> the same logic array block (LAB) row as a<br />
differential channel us<strong>in</strong>g the SERDES circuitry.<br />
■ Double data rate I/O (DDIO) can be placed with<strong>in</strong> the same LAB row as a SERDES<br />
differential channel but half rate DDIO or s<strong>in</strong>gle data rate (SDR) output p<strong>in</strong>s<br />
cannot be placed with<strong>in</strong> the same LAB row as a receiver SERDES differential<br />
channel. The <strong>in</strong>put register must be implemented with<strong>in</strong> the FPGA fabric logic.<br />
Guidel<strong>in</strong>es for <strong>DPA</strong>-Enabled <strong>Differential</strong> Channels<br />
When you use <strong>DPA</strong>-enabled channels, you must adhere to the guidel<strong>in</strong>es listed <strong>in</strong> the<br />
follow<strong>in</strong>g sections.<br />
<strong>DPA</strong>-Enabled Channel Driv<strong>in</strong>g Distance<br />
If the number of <strong>DPA</strong>-enabled channels driven by each center or corner PLL exceeds<br />
25 LAB rows, <strong>Altera</strong> recommends implement<strong>in</strong>g data realignment (bit slip) circuitry<br />
for all the <strong>DPA</strong> channels.<br />
Us<strong>in</strong>g Center <strong>and</strong> Corner Left <strong>and</strong> Right PLLs <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Devices<br />
If the <strong>DPA</strong>-enabled channels <strong>in</strong> a bank are be<strong>in</strong>g driven by two PLLs, where the corner<br />
PLL is driv<strong>in</strong>g one group <strong>and</strong> the center PLL is driv<strong>in</strong>g another group, there must be<br />
at least one row of separation between the two groups of <strong>DPA</strong>-enabled channels, as<br />
shown <strong>in</strong> Figure 8–23. This separation prevents noise mix<strong>in</strong>g because the two groups<br />
can operate at <strong>in</strong>dependent frequencies.<br />
No separation is necessary if a s<strong>in</strong>gle PLL is driv<strong>in</strong>g both the <strong>DPA</strong>-enabled channels<br />
<strong>and</strong> <strong>DPA</strong>-disabled channels.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–28 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Figure 8–23. Center <strong>and</strong> Corner PLLs Driv<strong>in</strong>g <strong>DPA</strong>-Enabled <strong>Differential</strong> I/Os <strong>in</strong> the Same Bank<br />
Corner<br />
PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong> -enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Reference<br />
CLK<br />
Center<br />
PLL<br />
Channels<br />
driven by<br />
Corner<br />
PLL<br />
One Unused<br />
Channel for Buffer<br />
Channels<br />
driven by<br />
Center<br />
PLL<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–29<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Us<strong>in</strong>g Both Center PLLs<br />
You can use center PLLs to drive <strong>DPA</strong>-enabled channels simultaneously, if they drive<br />
these channels <strong>in</strong> their adjacent banks only, as shown <strong>in</strong> Figure 8–23.<br />
1 Center PLLs are available at the right I/O banks of <strong>Arria</strong> <strong>II</strong> GX devices <strong>and</strong> the right<br />
<strong>and</strong> left I/O banks of <strong>Arria</strong> <strong>II</strong> GZ devices.<br />
If one of the center PLLs drives the <strong>DPA</strong>-enabled channels <strong>in</strong> the upper <strong>and</strong> lower I/O<br />
banks, you cannot use the other center PLL for <strong>DPA</strong>-enabled channels, as shown <strong>in</strong><br />
Figure 8–24.<br />
Figure 8–24. Center PLLs Driv<strong>in</strong>g <strong>DPA</strong>-Enabled <strong>Differential</strong> I/Os<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Reference<br />
CLK<br />
Center<br />
PLL<br />
Center<br />
PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Reference<br />
CLK<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
Center<br />
PLL<br />
Center<br />
PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Unused<br />
PLL
8–30 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
If the upper center PLL drives <strong>DPA</strong>-enabled channels <strong>in</strong> the lower I/O bank, the<br />
lower center PLL cannot drive <strong>DPA</strong>-enabled channels <strong>in</strong> the upper I/O bank, <strong>and</strong> vice<br />
versa. In other words, the center PLLs cannot drive cross-banks simultaneously, as<br />
shown <strong>in</strong> Figure 8–25.<br />
Figure 8–25. Invalid Placement of <strong>DPA</strong>-Disabled <strong>Differential</strong> I/Os Driven by Both Center PLLs<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Reference<br />
CLK<br />
Center PLL<br />
Center PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–31<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Us<strong>in</strong>g Both Corner PLLs <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Devices<br />
You can use both corner PLLs to drive <strong>DPA</strong>-enabled channels simultaneously, if they<br />
drive the channels <strong>in</strong> their adjacent banks only. There must be at least one row of<br />
separation between the two groups of <strong>DPA</strong>-enabled channels.<br />
If one of the corner PLLs drives <strong>DPA</strong>-enabled channels <strong>in</strong> the upper <strong>and</strong> lower I/O<br />
banks, you cannot use the center PLLs. You can use the other corner PLL to drive<br />
<strong>DPA</strong>-enabled channels <strong>in</strong> their adjacent bank only. There must be at least one row of<br />
separation between the two groups of <strong>DPA</strong>-enabled channels.<br />
If the upper corner PLL drives <strong>DPA</strong>-enabled channels <strong>in</strong> the lower I/O bank, the<br />
lower corner PLL cannot drive <strong>DPA</strong>-enabled channels <strong>in</strong> the upper I/O bank, <strong>and</strong> vice<br />
versa. In other words, the corner PLLs cannot drive cross-banks simultaneously, as<br />
shown <strong>in</strong> Figure 8–26.<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–32 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Figure 8–26. Corner PLLs Driv<strong>in</strong>g <strong>DPA</strong>-Enabled <strong>Differential</strong> I/Os<br />
Upper<br />
Corner<br />
PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong> -enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
<strong>DPA</strong> - enabled<br />
Diff I/O<br />
Center PLL<br />
Center PLL<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
<strong>DPA</strong>-enabled<br />
Diff I/O<br />
Reference CLK<br />
Lower Corner PLL<br />
Upper<br />
I/O Bank<br />
Unused<br />
PLLs<br />
Lower<br />
I/O Bank<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–33<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Guidel<strong>in</strong>es for <strong>DPA</strong>-Disabled <strong>Differential</strong> Channels<br />
When you use <strong>DPA</strong>-disabled channels, you must adhere to the guidel<strong>in</strong>es <strong>in</strong> the<br />
follow<strong>in</strong>g sections.<br />
<strong>DPA</strong>-Disabled Channel Driv<strong>in</strong>g Distance<br />
Each PLL can drive all the <strong>DPA</strong>-disabled channels <strong>in</strong> the entire bank.<br />
Us<strong>in</strong>g Corner <strong>and</strong> Center PLLs <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Devices<br />
You can use a corner PLL to drive all transmitter channels <strong>and</strong> you can use a center<br />
PLL to drive all <strong>DPA</strong>-disabled receiver channels <strong>in</strong> the same I/O bank. In other<br />
words, you can drive a transmitter channel <strong>and</strong> a receiver channel <strong>in</strong> the same LAB<br />
row by two different PLLs, as shown <strong>in</strong> Figure 8–27.<br />
Figure 8–27. Corner <strong>and</strong> Center PLLs Driv<strong>in</strong>g <strong>DPA</strong>-Disabled <strong>Differential</strong> I/Os <strong>in</strong> the Same Bank<br />
Diff RX<br />
Diff RX<br />
Corner<br />
PLL<br />
Center<br />
PLL<br />
Diff TX<br />
Diff RX Diff TX<br />
Diff RX<br />
Diff TX<br />
Diff TX<br />
Diff RX Diff TX<br />
Diff RX<br />
Diff TX<br />
Diff RX Diff TX<br />
Diff RX<br />
Diff RX<br />
Reference<br />
CLK<br />
Diff TX<br />
Diff TX<br />
Diff RX Diff TX<br />
Reference<br />
CLK<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
Corner<br />
PLL<br />
Reference<br />
CLK<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong> -disabled<br />
Diff I /O<br />
Reference<br />
CLK<br />
Center<br />
PLL<br />
Channels<br />
driven by<br />
Corner<br />
PLL<br />
No<br />
separation<br />
buffer<br />
needed<br />
Channels<br />
driven by<br />
Center<br />
PLL
8–34 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
A corner PLL <strong>and</strong> a center PLL can drive duplex channels <strong>in</strong> the same I/O bank, if the<br />
channels driven by each PLL are not <strong>in</strong>terleaved. No separation is necessary between<br />
the group of channels driven by the corner <strong>and</strong> center left <strong>and</strong> right PLLs. Refer to<br />
Figure 8–27 <strong>and</strong> Figure 8–28.<br />
Figure 8–28. Invalid Placement of <strong>DPA</strong>-Disabled <strong>Differential</strong> I/Os Due to Interleav<strong>in</strong>g of Channels<br />
Driven by the Corner <strong>and</strong> Center PLLs<br />
Reference CLK<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
Reference CLK<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation<br />
Center<br />
PLL<br />
Center<br />
PLL
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–35<br />
<strong>Differential</strong> P<strong>in</strong> Placement Guidel<strong>in</strong>es<br />
Us<strong>in</strong>g Both Center PLLs<br />
You can use both center PLLs simultaneously to drive <strong>DPA</strong>-disabled channels on<br />
upper <strong>and</strong> lower I/O banks. Unlike <strong>DPA</strong>-enabled channels, the center PLLs can drive<br />
<strong>DPA</strong>-disabled channels cross-banks. For example, the upper center PLL can drive the<br />
lower I/O bank at the same time the lower center PLL is driv<strong>in</strong>g the upper I/O bank,<br />
<strong>and</strong> vice versa, as shown <strong>in</strong> Figure 8–29.<br />
1 Center PLLs are available at the right I/O banks of <strong>Arria</strong> <strong>II</strong> GX devices <strong>and</strong> the right<br />
<strong>and</strong> left I/O banks of <strong>Arria</strong> <strong>II</strong> GZ devices.<br />
Figure 8–29. Both Center PLLs Driv<strong>in</strong>g Cross-Bank <strong>DPA</strong>-Disabled Channels Simultaneously<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
Reference<br />
CLK<br />
Reference<br />
CLK<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
<strong>DPA</strong>-disabled<br />
Diff I/O<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration<br />
Center<br />
PLL<br />
Center<br />
PLL
8–36 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Sett<strong>in</strong>g Up an LVDS Transmitter or Receiver Channel<br />
Us<strong>in</strong>g Both Corner PLLs <strong>in</strong> <strong>Arria</strong> <strong>II</strong> GX Devices<br />
You can use both corner PLLs to drive <strong>DPA</strong>-disabled channels simultaneously. Both<br />
corner PLLs can drive cross-banks.<br />
You can use a corner PLL to drive all the transmitter channels <strong>and</strong> you can use the<br />
other corner PLL to drive all <strong>DPA</strong>-disabled receiver channels <strong>in</strong> the same I/O bank.<br />
Both corner PLLs can drive duplex channels <strong>in</strong> the same I/O bank if the channels<br />
driven by each PLL are not <strong>in</strong>terleaved. No separation is necessary between the group<br />
of channels driven by both corner PLLs.<br />
Sett<strong>in</strong>g Up an LVDS Transmitter or Receiver Channel<br />
The ALTLVDS megafunction offers you the ease of sett<strong>in</strong>g up an LVDS transmitter or<br />
receiver channel. You can control the sett<strong>in</strong>gs of SERDES <strong>and</strong> <strong>DPA</strong> circuitry <strong>in</strong> the<br />
ALTLVDS megafunction. When you <strong>in</strong>stantiate an ALTLVDS megafunction, the PLL<br />
is <strong>in</strong>stantiated automatically <strong>and</strong> you can set the parameters of the PLL. This<br />
megafunction simplifies the clock<strong>in</strong>g setup for the LVDS transmitter or receiver<br />
channels. However, the drawback is reduced flexibility when us<strong>in</strong>g the PLL.<br />
The ALTLVDS megafunction provides an option for implement<strong>in</strong>g the LVDS<br />
transmitter or receiver <strong>in</strong>terfaces with external PLLs. With this option enabled, you<br />
can control the PLL sett<strong>in</strong>gs, such as dynamically reconfigur<strong>in</strong>g the PLLs to support<br />
different data rates, dynamic phase shift, <strong>and</strong> other sett<strong>in</strong>gs. You also must <strong>in</strong>stantiate<br />
an ALTPLL megafunction to generate the various clock <strong>and</strong> load enable signals.<br />
f For more <strong>in</strong>formation about how to control the PLL, SERDES, <strong>and</strong> <strong>DPA</strong> block sett<strong>in</strong>gs,<br />
<strong>and</strong> detailed descriptions of the LVDS transmitter <strong>and</strong> receiver <strong>in</strong>terface signals, refer<br />
to the SERDES Transmitter/Receiver (ALTLVDS) Megafunction User Guide.<br />
f For more <strong>in</strong>formation about the ALTPLL megafunction, refer to the Phase Locked-Loops<br />
(ALTPLL) Megafunction User Guide.<br />
Document Revision History<br />
Table 8–9 lists the revision history for this chapter.<br />
Table 8–9. Document Revision History (Part 1 of 2)<br />
Date Version Changes Made<br />
July 2012 4.3 Updated Figure 8–23.<br />
December 2011 4.2<br />
■<br />
■<br />
Updated “<strong>Differential</strong> Receiver” section.<br />
M<strong>in</strong>or text edits.<br />
June 2011 4.1<br />
■<br />
■<br />
Updated Figure 8–2.<br />
M<strong>in</strong>or text edits.<br />
December 2010 4.0<br />
Updated for the Quartus <strong>II</strong> software version 10.1 release:<br />
■ Added <strong>Arria</strong> <strong>II</strong> GZ device <strong>in</strong>formation.<br />
■ Updated Table 8–3 <strong>and</strong> Table 8–4.<br />
■ Updated Figure 8–2.<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation
Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices 8–37<br />
Document Revision History<br />
Table 8–9. Document Revision History (Part 2 of 2)<br />
Date Version Changes Made<br />
July 2010 3.0<br />
November 2009 2.0<br />
Updated for <strong>Arria</strong> <strong>II</strong> GX v10.0 release:<br />
■ Updated Table 8–1 <strong>and</strong> Table 8–2.<br />
■ Updated Figure 8–1 <strong>and</strong> Figure 8–5.<br />
■ Updated “Non-<strong>DPA</strong> Mode” section.<br />
■ Removed Table 8–1: Supported Data Range.<br />
■ M<strong>in</strong>or text edit.<br />
Updated for <strong>Arria</strong> <strong>II</strong> GX v9.1 release:<br />
■ Updated Table 8–1 <strong>and</strong> Table 8–2.<br />
■ Updated Figure 8–1.<br />
■ Updated “LVDS Channels” <strong>and</strong> “Non-<strong>DPA</strong> Mode” sections.<br />
■ M<strong>in</strong>or text edit.<br />
■ Updated Table 8–2 <strong>and</strong> Table 8–3.<br />
June 2009 1.1 ■ Updated “Programmable Pre-Emphasis <strong>and</strong> Programmable VOD.” <strong>and</strong> “LVDS Channels”<br />
sections.<br />
February 2009 1.0 Initial release<br />
July 2012 <strong>Altera</strong> Corporation <strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration
8–38 Chapter 8: <strong>High</strong>-<strong>Speed</strong> <strong>Differential</strong> I/O <strong>Interfaces</strong> <strong>and</strong> <strong>DPA</strong> <strong>in</strong> <strong>Arria</strong> <strong>II</strong> Devices<br />
Document Revision History<br />
<strong>Arria</strong> <strong>II</strong> Device H<strong>and</strong>book Volume 1: Device <strong>Interfaces</strong> <strong>and</strong> Integration July 2012 <strong>Altera</strong> Corporation