IDT 89HPES16T4G2 User manual

®
January 2013
6024 Silver Creek Valley Road, San Jose,California 95138
Telephone: (800) 345-7015 • (408) 284-8200 • FAX: (408) 284-2775
Printed in U.S.A.
©2013 Integrated Device Technology,Inc.
IDT™89HPES16T4G2
PCI Express® Switch
Preliminary User Manual

GENERAL DISCLAIMER
Integrated Device Technology, Inc. reserves the right to make changes to its products or specifications at any time, without notice, in order to improve design or performance
and to supply the best possible product. IDT does not assume any responsibility for use of any circuitry described other than the circuitry embodied in an IDT product. The
Company makes no representations that circuitry described herein is free from patent infringement or other rights of third parties which may result from its use. No license is
granted by implication or otherwise under any patent, patentrights or other rights, of Integrated Device Technology, Inc.
CODE DISCLAIMER
Code examples provided by IDT are for illustrative purposes only and should not be relied upon for developing applications. Any use of the code examples below is completely
at yourown risk. IDT MAKESNO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE NONINFRINGEMENT, QUALITY,SAFETY OR SUITABILITY
OF THE CODE, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU-
LAR PURPOSE, ORNON-INFRINGEMENT. FURTHER, IDTMAKES NO REPRESENTATIONS OR WARRANTIES AS TO THE TRUTH,ACCURACY ORCOMPLETENESS
OF ANY STATEMENTS, INFORMATION OR MATERIALS CONCERNING CODE EXAMPLES CONTAINED IN ANY IDT PUBLICATION OR PUBLIC DISCLOSURE OR
THAT IS CONTAINED ON ANY IDT INTERNET SITE. IN NO EVENT WILL IDT BE LIABLE FOR ANY DIRECT, CONSEQUENTIAL, INCIDENTAL, INDIRECT, PUNITIVE OR
SPECIAL DAMAGES, HOWEVER THEY MAY ARISE, AND EVEN IF IDT HAS BEEN PREVIOUSLY ADVISED ABOUT THE POSSIBILITY OF SUCH DAMAGES. The code
examplesalsomaybe subjecttoUnitedStatesexportcontrollawsand maybe subjecttotheexportorimportlawsofothercountriesand itisyour responsibilitytocomplywith
any applicable laws or regulations.
LIFE SUPPORT POLICY
Integrated Device Technology's products are not authorized for use as critical components in life support devices or systems unless a specific writtenagreement pertaining to
such intended use is executed between the manufacturer and anofficer of IDT.
1. Life support devices or systems are devices or systems which (a) are intended for surgical implant into the body or (b) support or sustain life and whose failure to perform,
when properly used in accordance with instructions for use providedin the labeling, can be reasonably expected toresult in a significant injury to the user.
2.A criticalcomponentisanycomponentsof alifesupportdeviceor systemwhosefailuretoperformcanbereasonablyexpected to cause the failure of the life support device
or system, or to affect its safety or effectiveness.
IDT, theIDT logo, and Integrated Device Technology are trademarks or registered trademarks of Integrated Device Technology,Inc.

Notes
PES16T4G2 User Manual 1 January 28, 2013
®
About This Manual
Introduction
This user manual includes hardware and software information on the 89HPES16T4G2, a member of
IDT’s PRECISE™ family of PCI Express® switching solutions offering the next-generation I/O interconnect
standard.
Finding Additional Information
Information not included inthis manual such as mechanicals, package pin-outs, and electrical character-
istics can be found in thedata sheet for this device, which is available from the IDT website (www.idt.com)
as well as through your local IDT sales representative.
Content Summary
Chapter 1, “PES16T4G2 Device Overview,” provides a complete introduction to the performance
capabilities of the 89HPES16T4G2. Included in this chapter is a summary of features for the device as well
as a system block diagram and pin description.
Chapter 2, “Clocking, Reset, and Initialization,” provides a description of the two differential refer-
ence clock inputs that are used internally to generate all of the clocks required by the internal switch logic
and the SerDes.
Chapter 3, “Link Operation,” describes the operation of the link feature including polarity inversion,
link width negotiation, and lane reversal.
Chapter 4, “General Purpose I/O,” describes how the 16 General Purpose I/O (GPIO) pins may be
individually configured as general purpose inputs, general purpose outputs, or alternate functions.
Chapter 5, “SMBus Interfaces,” describes the operation of the 2 SMBus interfaces on the
PES16T4G2.
Chapter 6, “Power Management,” describes the power management capability structure locatedin the
configuration space of each PCI-PCI bridge in the PES16T4G2.
Chapter 7, “Hot-Plug and Hot-Swap,” describes the behavior of the hot-plug andhot-swap features in
the PES16T4G2.
Chapter 8, “Configuration Registers,” discusses the base addresses, PCI configuration space, and
registers associated with the PES16T4G2.
Chapter 9, “JTAG Boundary Scan,” discusses an enhanced JTAG interface, including a system logic
TAP controller, signal definitions, a test data register, an instruction register, and usage considerations.
Signal Nomenclature
To avoid confusion when dealing with a mixture of “active-low” and “active-high” signals, the terms
assertion and negation are used. The term assert or assertion is used to indicate that a signal is active or
true, independent of whether that level is representedby a high or low voltage. The term negate or negation
is used to indicate that a signal is inactive or false.
To define the active polarity of a signal, a suffix will be used. Signals ending with an ‘N’ should be inter-
preted as being active, or asserted, when at a logic zero (low) level. All other signals (including clocks,
buses and select lines) will be interpreted as being active, or asserted when at a logic one (high) level.
To define buses, the most significant bit (MSB) will be on the left and least significant bit (LSB) will be on
the right. No leading zeros will be included.

IDT
PES16T4G2 User Manual 2 January 28, 2013
Notes
Throughout this manual, when describing signal transitions, the following terminology is used. Rising
edge indicates a low-to-high (0 to1) transition. Falling edge indicates a high-to-low (1 to0) transition. These
terms are illustrated in Figure 1.
Figure 1 Signal Transitions
Numeric Representations
To represent numerical values, either decimal, binary, or hexadecimal formats will be used. The binary
format is as follows: 0bDDD, where “D” represents either 0 or 1; the hexadecimal format is as follows:
0xDD, where “D” represents the hexadecimal digit(s); otherwise, it is decimal.
The compressed notation ABC[x|y|z]D refers to ABCxD, ABCyD, and ABCzD.
The compressed notation ABC[x..y]D refers to ABCxD, ABC(x+1)D, ABC(x+2)D,... ABCyD.
Data Units
The following data unit terminology is used in this document.
In quadwords, bit 63 is always the most significant bit and bit 0 is the least significant bit. In double-
words, bit 31 is always the most significant bit and bit 0 is the least significant bit. In words, bit 15 is always
the most significant bit and bit 0 is the least significant bit. In bytes, bit 7 is always the most significant bit
and bit 0 is the least significant bit.
The ordering of bytes within words is referred to as either “big endian” or “little endian.” Big endian
systems label byte zero as the most significant (leftmost) byte of a word. Little endian systems label byte
zero as the least significant (rightmost) byte of a word. See Figure 2.
Term Words Bytes Bits
Byte 1/2 1 8
Word 1 2 16
Doubleword (Dword) 2 4 32
Quadword (Qword) 4 8 64
Table 1 Data Unit Terminology
1 2 3 4
high-to-low
transition low-to-high
transition
single clock cycle

IDT
PES16T4G2 User Manual 3 January 28, 2013
Notes
Figure 2 Example of Byte Ordering for “Big Endian” or “Little Endian” System Definition
Register Terminology
Software in the context of this register terminology refers to modifications madeby PCIe root configura-
tion writes to registers made through the slave SMBus interface or serial EEPROM register initialization.
See Table 2.
Type Abbreviation Description
Hardware Initialized HWINIT Register bits are initialized by firmware or hardware mechanisms
such as pin strapping or serial EEPROM. (System firmware hard-
ware initialization is only allowed for system integrated devices.)
Bits are read-only after initialization and can only be reset (for
write-once by firmware) with reset.
Read Only and Clear RC Software can read the register/bits with this attribute. Reading the
value will automatically cause the register/bit to be reset to zero.
Writing to a RC location has no effect.
Read Clear and Write RCW Software can read the register/bits with this attribute. Reading the
value will automatically cause the register/bits to be reset to zero.
Writes cause the register/bits to be modified.
Reserved Reserved The value read from a reserved register/bit is undefined. Thus,
software must deal correctly with fields that are reserved. On
reads, software mustuseappropriatemaskstoextractthedefined
bits and not rely on reserved bits being any particular value. On
writes, software must ensure that the values of reserved bit posi-
tions are preserved. That is, the values of reserved bit positions
must first be read, merged with the new values for other bit posi-
tions and then written back.
Read Only RO Software can only read registers/bits with this attribute. Contents
are hardwired to a constant value or are status bits that may be
set and cleared by hardware. Writing to a RO location has no
effect.
Read and Write RW Software can both read and write bits with this attribute.
Table 2 Register Terminology (Sheet 1 of 2)
0123
bit 0bit 31
Address of Bytes within Words: Big Endian
3210
bit 0bit 31
Address of Bytes within Words: Little Endian

IDT
PES16T4G2 User Manual 4 January 28, 2013
Notes
Use of Hypertext
In Chapter 8, Tables 8.2 and 8.3 containregister names and pagenumbers highlighted in blue underthe
Register Definition column. In pdf files, users can jump from this source table directly to the registers by
clicking on the register name in the source table. Each register name in the table is linked directly to the
appropriate register in the register section of the chapter. To return to the source table after having jumped
to the register section, click on the same register name (in blue) in the register section.
Reference Documents
PCI Express Base Specification, Revision 1.1, PCI Special Interest Group.
PCI Power Management Interface Specification, Revision 1.1, PCI Special Interest Group.
PCI to PCI Bridge Architecture Specification, Revision 1.2, PCI Special Interest Group.
SMBus Specification, Revision 2.0.
Revision History
May 22, 2007: Initial publication of preliminary user manual.
June 26, 2007: In Chapter 8, Configuration Registers, included only 3 registers with addresses in the
0x400-0x600 range. Updated Chapter 3, Link Operation.
July 11, 2007: Corrected AERUCS to AERUES in AERCTL register, Chapter 8. Added additional regis-
ters to Chapter 8 in the 0x400-0x600 range.
February 6, 2008: Added PMETOATIMER register to Chapter 8.
October 31, 2008: In Chapter 8, revised description L0SEL field in the PCIELCAP register and LDIS
field in the PCIELCTL register.
September 15, 2010: In Table 1.9, changed Buffer type for PCI Express from CML to PCIe differential
and changed reference clocks to HCSL
February 22, 2012: Added paragraph after Table 5.11 to explain use of DWord addresses.
January 28, 2013: In Figure 5.8, changed No-ack to Ack between DATALM and DATAUM.
Read and Write Clear RW1C Software can read and write to registers/bits with this attribute.
However, writing a value of zero to a bit with this attribute has no
effect. A RW1C bit can only be set to a value of 1 by a hardware
event. To clear a RW1C bit (i.e., change its value to zero) a value
of one must be written to the location. An RW1C bit is never
cleared by hardware.
Read and Write when
Unlocked RWL Software can read the register/bits with this attribute. Writing to
register/bits with this attribute will only cause the value to be modi-
fied if the REGUNLOCK bit in the SWCNTL register is set. When
the REGUNLOCK bit is cleared, writes are ignored and the regis-
ter/bits are effectively read-only
Write Transient WT The zero is always read from a bit/field of this type. Writing of a
one is used to quality the writing of other bits/fields in the same
register.
Zero Zero A zero register or bit must be written with a value of zero and
returns a value of zero when read.
Type Abbreviation Description
Table 2 Register Terminology (Sheet 2 of 2)

Notes
PES16T4G2 User Manual i January 28, 2013
Table of Contents
®
About This Manual
Introduction ....................................................................................................................................1
Content Summary ..........................................................................................................................1
Signal Nomenclature .....................................................................................................................1
Numeric Representations ..............................................................................................................2
Data Units ......................................................................................................................................2
Register Terminology .....................................................................................................................3
Use of Hypertext ............................................................................................................................4
Reference Documents ...................................................................................................................4
Revision History .............................................................................................................................4
PES16T4G2 Device Overview
Introduction.....................................................................................................................................1-1
Features..........................................................................................................................................1-1
System Diagram.............................................................................................................................1-2
Logic Diagram.................................................................................................................................1-3
System Identification.......................................................................................................................1-4
Vendor ID................................................................................................................................1-4
Device ID................................................................................................................................1-4
Revision ID.............................................................................................................................1-4
JTAG ID..................................................................................................................................1-4
Pin Description................................................................................................................................1-4
Pin Characteristics..........................................................................................................................1-9
Port Configuration.........................................................................................................................1-10
Clocking, Reset and Initialization
Clocking..........................................................................................................................................2-1
Initialization.....................................................................................................................................2-1
Reset...............................................................................................................................................2-2
Fundamental Reset................................................................................................................2-3
Hot Reset................................................................................................................................2-5
Upstream Secondary Bus Reset............................................................................................2-6
Downstream Secondary Bus Reset........................................................................................2-6
Downstream Port Reset Outputs....................................................................................................2-7
Power Enable Controlled Reset Output..................................................................................2-7
Power Good Controlled Reset Output....................................................................................2-8
Link Operation
Introduction.....................................................................................................................................3-1
Polarity Inversion............................................................................................................................3-1
Lane Reversal.................................................................................................................................3-1
Link Width Negotiation....................................................................................................................3-2
Dynamic Link Width Re-Configuration............................................................................................3-2
Background.............................................................................................................................3-2
Dynamic Link Width Re-Configuration Support in the PES16T4G2.......................................3-3
Link Speed Negotiation...................................................................................................................3-3
Background.............................................................................................................................3-3

IDT Table of Contents
PES16T4G2 User Manual ii January 28, 2013
Notes
Link Speed Negotiation in the PES16T4G2 ...........................................................................3-4
Software Management of Link Speed ....................................................................................3-5
Link Retraining................................................................................................................................3-6
Slot Power Limit Support................................................................................................................3-6
Upstream Port ........................................................................................................................3-6
Downstream Port....................................................................................................................3-7
Link States......................................................................................................................................3-7
Active State Power Management ...................................................................................................3-8
Link Status......................................................................................................................................3-8
De-emphasis Negotiation ...............................................................................................................3-8
Low-Swing Transmitter Voltage Mode............................................................................................3-9
General Purpose I/O
Introduction.....................................................................................................................................4-1
GPIO Configuration ........................................................................................................................4-1
GPIO Pin Configured as an Input...........................................................................................4-2
GPIO Pin Configured as an Output........................................................................................4-2
GPIO Pin Configured as an Alternate Function......................................................................4-2
SMBus Interfaces
Introduction.....................................................................................................................................5-1
Master SMBus Interface.................................................................................................................5-2
Initialization.............................................................................................................................5-2
Serial EEPROM......................................................................................................................5-2
I/O Expanders.........................................................................................................................5-6
Slave SMBus Interface.................................................................................................................5-11
Initialization...........................................................................................................................5-11
SMBus Transactions ............................................................................................................5-12
Power Management
Introduction.....................................................................................................................................6-1
PME Messages...............................................................................................................................6-2
PCI-Express Power Management Fence Protocol.........................................................................6-2
Power Budgeting Capability............................................................................................................6-3
Hot-Plug and Hot-Swap
Hot-Plug..........................................................................................................................................7-1
Hot-Plug I/O Expander ...........................................................................................................7-4
Hot-Plug Interrupts and Wake-up...........................................................................................7-4
Legacy System Hot-Plug Support ..........................................................................................7-4
Hot-Swap........................................................................................................................................7-6
Configuration Registers
Configuration Space Organization..................................................................................................8-1
Upstream Port (Port 0) ...........................................................................................................8-3
Downstream Ports..................................................................................................................8-6
Register Definitions.......................................................................................................................8-10
Type 1 Configuration Header Registers...............................................................................8-10
PCI Express Capability Structure.........................................................................................8-19
Power Management Capability Structure.............................................................................8-34
Message Signaled Interrupt Capability Structure.................................................................8-36
Subsystem ID and Subsystem Vendor ID............................................................................8-37

IDT Table of Contents
PES16T4G2 User Manual iii January 28, 2013
Notes
Extended Configuration Space Access Registers................................................................8-38
Advanced Error Reporting (AER) Enhanced Capability.......................................................8-39
Device Serial Number Enhanced Capability.........................................................................8-45
PCI Express Virtual Channel Capability...............................................................................8-46
Power Budgeting Enhanced Capability................................................................................8-52
Switch Status and Control Registers....................................................................................8-53
Physical Layer Control and Status Registers.......................................................................8-60
Power Management Control and Status Registers ..............................................................8-61
JTAG Boundary Scan
Introduction.....................................................................................................................................9-1
Test Access Point...........................................................................................................................9-1
Signal Definitions............................................................................................................................9-1
Boundary Scan Chain.....................................................................................................................9-3
Test Data Register (DR).................................................................................................................9-4
Boundary Scan Registers.......................................................................................................9-4
Instruction Register (IR)..................................................................................................................9-6
EXTEST..................................................................................................................................9-6
SAMPLE/PRELOAD...............................................................................................................9-7
BYPASS.................................................................................................................................9-7
CLAMP...................................................................................................................................9-7
IDCODE..................................................................................................................................9-7
VALIDATE..............................................................................................................................9-8
RESERVED............................................................................................................................9-8
Usage Considerations............................................................................................................9-8

IDT Table of Contents
PES16T4G2 User Manual iv January 28, 2013
Notes

Notes
PES16T4G2 User Manual v January 28, 2013
List of Tables
®
Table 1.1 PES16T4G2 Device ID........................................................................................................1-4
Table 1.2 PES16T4G2 Revision ID.....................................................................................................1-4
Table 1.3 PCI Express Interface Pins..................................................................................................1-4
Table 1.4 SMBus Interface Pins..........................................................................................................1-5
Table 1.5 General Purpose I/O Pins....................................................................................................1-6
Table 1.6 System Pins.........................................................................................................................1-7
Table 1.7 Test Pins..............................................................................................................................1-8
Table 1.8 Power, Ground, and SerDes Resistor Pins.........................................................................1-8
Table 1.9 Pin Characteristics...............................................................................................................1-9
Table 2.1 Reference Clock Mode Encoding........................................................................................2-1
Table 2.2 Boot Configuration Vector Signals.......................................................................................2-2
Table 4.1 General Purpose I/O Pin Alternate Function.......................................................................4-1
Table 4.2 GPIO Pin Configuration.......................................................................................................4-1
Table 5.1 Serial EEPROM SMBus Address........................................................................................5-2
Table 5.2 PES16T4G2 Compatible Serial EEPROMs.........................................................................5-3
Table 5.3 Serial EEPROM Initialization Errors ....................................................................................5-5
Table 5.4 I/O Expander Function Allocation........................................................................................5-6
Table 5.5 I/O Expander Default Output Signal Value..........................................................................5-7
Table 5.6 I/O Expander 0 Signals........................................................................................................5-9
Table 5.7 I/O Expander 2 Signals......................................................................................................5-10
Table 5.8 I/O Expander 4 Signals......................................................................................................5-10
Table 5.9 Slave SMBus Address When a Static Address is Selected...............................................5-11
Table 5.10 Slave SMBus Command Code Fields...............................................................................5-12
Table 5.11 CSR Register Read or Write Operation Byte Sequence ...................................................5-13
Table 5.12 CSR Register Read or Write CMD Field Description.........................................................5-14
Table 5.13 Serial EEPROM Read or Write Operation Byte Sequence................................................5-14
Table 5.14 Serial EEPROM Read or Write CMD Field Description.....................................................5-15
Table 6.1 PES16T4G2 Power Management State Transition Diagram...............................................6-2
Table 7.1 Downstream Port Hot Plug Signals.....................................................................................7-3
Table 8.1 Base Addresses for Port Configuration Space Registers....................................................8-1
Table 8.2 Upstream Port 0 Configuration Space Registers.................................................................8-3
Table 8.3 Downstream Ports 2, 4, 6 Configuration Space Registers..................................................8-6
Table 9.1 JTAG Pin Descriptions.........................................................................................................9-2
Table 9.2 Boundary Scan Chain..........................................................................................................9-3
Table 9.3 Instructions Supported by PES16T4G2’s JTAG Boundary Scan........................................9-6
Table 9.4 System Controller Device Identification Register.................................................................9-7

IDT List of Tables
PES16T4G2 User Manual vi January 28, 2013
Notes

Notes
PES16T4G2 User Manual vii January 28, 2013
List of Figures
®
Figure 1.1 PES16T4G2 Architectural Block Diagram ..........................................................................1-2
Figure 1.2 PES16T4G2 Logic Diagram ...............................................................................................1-3
Figure 1.3 PES16T4G2 Port & Device Numbering ...........................................................................1-11
Figure 2.1 Fundamental Reset with Serial EEPROM Initialization ......................................................2-4
Figure 2.2 Fundamental Reset Using RSTHALT to Keep Device in Quasi-Reset State .....................2-5
Figure 2.3 Power Enable Controlled Reset Output Mode Operation ..................................................2-7
Figure 2.4 Power Good Controlled Reset Output Mode Operation .....................................................2-8
Figure 3.1 Port Lane Reversal for Maximum Link Width of x4 (MAXLNKWDTH=0x4) .......................3-1
Figure 3.2 Port Lane Reversal for Maximum Link Width of x2 (MAXLNKWDTH=0x2) .......................3-2
Figure 3.3 PES16T4G2 ASPM Link Sate Transitions .........................................................................3-7
Figure 5.1 SMBus Interface Configuration Examples .........................................................................5-1
Figure 5.2 Single Double Word Initialization Sequence Format ..........................................................5-3
Figure 5.3 Sequential Double Word Initialization Sequence Format ...................................................5-4
Figure 5.4 Configuration Done Sequence Format ..............................................................................5-4
Figure 5.5 Slave SMBus Command Code Format ............................................................................5-12
Figure 5.6 CSR Register Read or Write CMD Field Format ..............................................................5-13
Figure 5.7 Serial EEPROM Read or Write CMD Field Format ..........................................................5-15
Figure 5.8 CSR Register Read Using SMBus Block Write/Read Transactions with PEC Disabled ..5-16
Figure 5.9 Serial EEPROM Read Using SMBus Block Write/Read Transactions with PEC
Disabled ...........................................................................................................................5-16
Figure 5.10 CSR Register Write Using SMBus Block Write Transactions with PEC Disabled ...........5-16
Figure 5.11 Serial EEPROM Write Using SMBus Block Write Transactions with PEC Disabled ........5-17
Figure 5.12 Serial EEPROM Write Using SMBus Block Write Transactions with PEC Enabled ........5-17
Figure 5.13 CSR Register Read Using SMBus Read and Write Transactions with PEC Disabled ....5-17
Figure 6.1 PES16T4G2 Power Management State Transition Diagram .............................................6-1
Figure 7.1 Hot-Plug on Switch Downstream Slots Application ............................................................7-1
Figure 7.2 Hot-Plug with Switch on Add-In Card Application ..............................................................7-2
Figure 7.3 Hot-Plug with Carrier Card Application ..............................................................................7-2
Figure 7.4 PES16T4G2 Hot-Plug Event Signalling .............................................................................7-5
Figure 8.1 Port Configuration Space Organization .............................................................................8-2
Figure 9.1 Diagram of the JTAG Logic ................................................................................................9-1
Figure 9.2 State Diagram of PES16T4G2’s TAP Controller ................................................................9-2
Figure 9.3 Diagram of Observe-only Input Cell ...................................................................................9-4
Figure 9.4 Diagram of Output Cell ......................................................................................................9-5
Figure 9.5 Diagram of Bidirectional Cell ..............................................................................................9-5
Figure 9.6 Device ID Register Format .................................................................................................9-7

IDT List of Figures
PES16T4G2 User Manual viii January 28, 2013
Notes

Notes
PES16T4G2 User Manual ix January 28, 2013
Register List
®
AERCAP - AER Capabilities (0x100) ..................................................................................................... 8-39
AERCEM - AER Correctable Error Mask (0x114).................................................................................. 8-44
AERCES - AER Correctable Error Status (0x110)................................................................................. 8-43
AERCTL - AER Control (0x118)............................................................................................................. 8-44
AERHL1DW - AER Header Log 1st Doubleword (0x11C) ..................................................................... 8-45
AERHL2DW - AER Header Log 2nd Doubleword (0x120)..................................................................... 8-45
AERHL3DW - AER Header Log 3rd Doubleword (0x124)...................................................................... 8-45
AERHL4DW - AER Header Log 4th Doubleword (0x128)...................................................................... 8-45
AERUEM - AER Uncorrectable Error Mask (0x108).............................................................................. 8-40
AERUES - AER Uncorrectable Error Status (0x104)............................................................................. 8-39
AERUESV - AER Uncorrectable Error Severity (0x10C)........................................................................ 8-42
BAR0 - Base Address Register 0 (0x010).............................................................................................. 8-13
BAR1 - Base Address Register 1 (0x014).............................................................................................. 8-13
BCTL - Bridge Control Register (0x03E)................................................................................................ 8-18
BIST - Built-in Self Test Register (0x00F).............................................................................................. 8-13
CAPPTR - Capabilities Pointer Register (0x034)................................................................................... 8-17
CCODE - Class Code Register (0x009)................................................................................................. 8-12
CLS - Cache Line Size Register (0x00C)............................................................................................... 8-12
DID - Device Identification Register (0x002).......................................................................................... 8-10
ECFGADDR - Extended Configuration Space Access Address (0x0F8)............................................... 8-38
ECFGDATA - Extended Configuration Space Access Data (0x0FC)..................................................... 8-38
EEPROMINTF - Serial EEPROM Interface (0x42C).............................................................................. 8-58
EROMBASE - Expansion ROM Base Address Register (0x038)........................................................... 8-17
GPECTL - General Purpose Event Control (0x450)............................................................................... 8-59
GPESTS - General Purpose Event Status (0x454)................................................................................ 8-60
GPIOCFG - General Purpose I/O Configuration (0x41C)....................................................................... 8-56
GPIOD - General Purpose I/O Data (0x420).......................................................................................... 8-56
GPIOFUNC - General Purpose I/O Control Function (0x418)................................................................ 8-56
HDR - Header Type Register (0x00E).................................................................................................... 8-13
HPCFGCTL - Hot-Plug Configuration Control (0x408)........................................................................... 8-55
INTRLINE - Interrupt Line Register (0x03C)........................................................................................... 8-18
INTRPIN - Interrupt PIN Register (0x03D)............................................................................................. 8-18
IOBASE - I/O Base Register (0x01C)..................................................................................................... 8-14
IOBASEU - I/O Base Upper Register (0x030)........................................................................................ 8-17
IOEXPADDR0 - SMBus I/O Expander Address 0 (0x434)..................................................................... 8-59
IOEXPADDR1 - SMBus I/O Expander Address 1 (0x438)..................................................................... 8-59
IOLIMIT - I/O Limit Register (0x01D)...................................................................................................... 8-14
IOLIMITU - I/O Limit Upper Register (0x032)......................................................................................... 8-17
MBASE - Memory Base Register (0x020).............................................................................................. 8-15
MLIMIT - Memory Limit Register (0x022)............................................................................................... 8-15
MSIADDR - Message Signaled Interrupt Address (0x0D4).................................................................... 8-37
MSICAP - Message Signaled Interrupt Capability and Control (0x0D0)................................................ 8-36
MSIMDATA - Message Signaled Interrupt Message Data (0x0DC)....................................................... 8-37
MSIUADDR - Message Signaled Interrupt Upper Address (0x0D8)...................................................... 8-37
PBUSN - Primary Bus Number Register (0x018)................................................................................... 8-13
PCICMD - PCI Command Register (0x004)...........................................................................................8-10
PCIECAP - PCI Express Capability (0x040)........................................................................................... 8-19
PCIEDCAP - PCI Express Device Capabilities (0x044)......................................................................... 8-20
PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064).................................................................... 8-31

IDT Register List
PES16T4G2 User Manual x January 28, 2013
Notes
PCIEDCTL - PCI Express Device Control (0x048)..................................................................................8-21
PCIEDCTL2 - PCI Express Device Control 2 (0x068).............................................................................8-31
PCIEDSTS - PCI Express Device Status (0x04A) ..................................................................................8-22
PCIEDSTS2 - PCI Express Device Status 2 (0x06A) .............................................................................8-32
PCIELCAP - PCI Express Link Capabilities (0x04C)..............................................................................8-23
PCIELCAP2 - PCI Express Link Capabilities 2 (0x06C).........................................................................8-32
PCIELCTL - PCI Express Link Control (0x050).......................................................................................8-24
PCIELCTL2 - PCI Express Link Control 2 (0x070)..................................................................................8-32
PCIELSTS - PCI Express Link Status (0x052)........................................................................................8-26
PCIELSTS2 - PCI Express Link Status 2 (0x072)...................................................................................8-34
PCIESCAP - PCI Express Slot Capabilities (0x054)...............................................................................8-27
PCIESCAP2 - PCI Express Slot Capabilities 2 (0x074)..........................................................................8-34
PCIESCTL - PCI Express Slot Control (0x058).......................................................................................8-29
PCIESCTL2 - PCI Express Slot Control 2 (0x078)..................................................................................8-34
PCIESSTS - PCI Express Slot Status (0x05A) .......................................................................................8-30
PCIESSTS2 - PCI Express Slot Status 2 (0x07A) ..................................................................................8-34
PCIEVCECAP - PCI Express VC Enhanced Capability Header (0x200)................................................8-46
PCISTS - PCI Status Register (0x006) ...................................................................................................8-11
PHYLSTATE0 - Phy Link State 0 (0x534)...............................................................................................8-61
PLTIMER - Primary Latency Timer (0x00D)............................................................................................8-12
PMBASE - Prefetchable Memory Base Register (0x024).......................................................................8-16
PMBASEU - Prefetchable Memory Base Upper Register (0x028)..........................................................8-16
PMCAP - PCI Power Management Capabilities (0x0C0)........................................................................8-34
PMCSR - PCI Power Management Control and Status (0x0C4) ............................................................8-35
PMETOATIMER - PME_TO_Ack Timer (OX708)...................................................................................8-61
PMLIMIT - Prefetchable Memory Limit Register (0x026)........................................................................8-16
PMLIMITU - Prefetchable Memory Limit Upper Register (0x02C)..........................................................8-17
PVCCAP1- Port VC Capability 1 (0x204)................................................................................................8-46
PVCCAP2- Port VC Capability 2 (0x208)................................................................................................8-47
PVCCTL - Port VC Control (0x20C)........................................................................................................8-47
PVCSTS - Port VC Status (0x20E) .........................................................................................................8-47
PWRBCAP - Power Budgeting Capabilities (0x280)...............................................................................8-52
PWRBD - Power Budgeting Data (0x288)...............................................................................................8-52
PWRBDSEL - Power Budgeting Data Select (0x284).............................................................................8-52
PWRBDV[7:0] - Power Budgeting Data Value [7:0] (0x300 - 0X31C).....................................................8-53
PWRBPBC - Power Budgeting Power Budget Capability (0x28C) .........................................................8-53
RID - Revision Identification Register (0x008) ........................................................................................8-12
SBUSN - Secondary Bus Number Register (0x019)...............................................................................8-13
SECSTS - Secondary Status Register (0x01E) ......................................................................................8-15
SERDESCTL- SerDes Control (0x500)...................................................................................................8-60
SLTIMER - Secondary Latency Timer Register (0x01B).........................................................................8-14
SMBUSCTL - SMBus Control (0x428)....................................................................................................8-57
SMBUSSTS - SMBus Status (0x424) .....................................................................................................8-57
SNUMCAP - Serial Number Capabilities (0x180) ...................................................................................8-45
SNUMLDW - Serial Number Lower Doubleword (0x184) .......................................................................8-45
SNUMUDW - Serial Number Upper Doubleword (0x188).......................................................................8-46
SSIDSSVID - Subsystem ID and Subsystem Vendor ID (0x0F4)...........................................................8-38
SSIDSSVIDCAP - Subsystem ID and Subsystem Vendor ID Capability (0x0F0)...................................8-37
SUBUSN - Subordinate Bus Number Register (0x01A)..........................................................................8-14
SWCTL - Switch Control (0x404)............................................................................................................8-54
SWSTS - Switch Status (0x400) .............................................................................................................8-53
VCR0CAP- VC Resource 0 Capability (0x210).......................................................................................8-48
VCR0CTL- VC Resource 0 Control (0x214)............................................................................................8-48
VCR0STS - VC Resource 0 Status (0x218)............................................................................................8-49
VCR0TBL0 - VC Resource 0 Arbitration Table Entry 0 (0x220)..............................................................8-50

IDT Register List
PES16T4G2 User Manual xi January 28, 2013
Notes
VCR0TBL1 - VC Resource 0 Arbitration Table Entry 1 (0x224)..............................................................8-50
VCR0TBL2 - VC Resource 0 Arbitration Table Entry 2 (0x228)..............................................................8-51
VCR0TBL3 - VC Resource 0 Arbitration Table Entry 3 (0x22C).............................................................8-51
VID - Vendor Identification Register (0x000)...........................................................................................8-10

IDT Register List
PES16T4G2 User Manual xii January 28, 2013
Notes

Notes
PES16T4G2 User Manual 1 - 1 January 28, 2013
®
Chapter 1
PES16T4G2 Device Overview
Introduction
The 89HPES16T4G2 is a member of IDT’s PRECISE™ family of PCI Express® switching solutions. The
PES16T4G2 is a 16-lane, 4-port Gen2 peripheral chip that performs PCI Express Base switching with a
feature set optimized for high performance applications such as servers, storage, and communications/
networking. It provides connectivity and switching functions between a PCI Express upstream port and up
to three downstream ports and supports switching between downstream ports.
Features
High Performance PCI Express Switch
– Sixteen 5 Gbps Gen2 PCI Express lanes
– Four switch ports
• One x4 upstream port
• Three x4 downstream ports
– Low latency cut-through switch architecture
– Support for Max Payload Size up to 2048 bytes
– One virtual channel
– Eight traffic classes
– PCI Express Base Specification Revision 2.0 compliant
Flexible Architecture with Numerous Configuration Options
– Automatic per port link width negotiation to x4, x2 or x1
– Automatic lane reversal on all ports
– Automatic polarity inversion
– Ability to load device configuration from serial EEPROM
Legacy Support
– PCI compatible INTx emulation
– Bus locking
Highly Integrated Solution
– Incorporates on-chip internal memory for packet buffering and queueing
– Integrates sixteen 5 Gbps embedded SerDes with 8b/10b encoder/decoder (no separate trans-
ceivers needed)
• Receive equalization (RxEQ)
Reliability, Availability, and Serviceability (RAS) Features
– Internal end-to-end parity protection on all TLPs ensures data integrity even in systems that do
not implement end-to-end CRC (ECRC)
– Supports ECRC and Advanced Error Reporting
– Supports PCI Express Native Hot-Plug, Hot-Swap capable I/O
– Compatible with Hot-Plug I/O expanders used on PC motherboards
– Supports Hot-Swap
Power Management
– Utilizes advanced low-power design techniques to achieve low typical power consumption
– Support PCI Express Power Management Interface specification (PCI-PM 1.2)
– Supports PCI Express Active State Power Management (ASPM) link state
– Supports PCI Express Power Budgeting Capability
– Supports the optional PCI Express SerDes Transmit Low-Swing Voltage Mode
– Unused SerDes are disabled and can be powered-off

IDT PES16T4G2 Device Overview
PES16T4G2 User Manual 1 - 2 January 28, 2013
Testability and Debug Features
– Built in Pseudo-Random Bit Stream (PRBS) generator
– Numerous SerDes test modes
– Ability to read and write any internal register via the SMBus
– Ability to bypass link training and force any link into any mode
– Provides statistics and performance counters
Sixteen General Purpose Input/Output Pins
– Each pin may be individually configured as an input or output
– Each pin may be individually configured as an interrupt input
– Some pins have selectable alternate functions
Packaged in a 23mm x 23mm, 288-ballBGA with 1mm
ball spacing
System Diagram
Figure 1.1 PES16T4G2 Architectural Block Diagram
TDM Demux
D-Bus U-Bus
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor
Message
Processor
TLP
Generator
Hot-Plug
Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Port 0 Port 2 Port 4
Switch Core
GPIO
Controller
Master
SMBus
Interface
Reset
Controller
Slave
SMBus
Interface
Output &
Replay Buffer
TDM Demux
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor
Message
Processor
TLP
Generator
Hot-Plug
Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Output &
Replay Buffer
TDM Demux
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor
Message
Processor
TLP
Generator
Hot-Plug
Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Output &
Replay Buffer
TDM Demux
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor
Message
Processor
TLP
Generator
Hot-Plug
Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
Output &
Replay Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
Input
Frame
Buffer
D-Bus
Arbiter U-Bus
Arbiter
Bus Decoupler
Queue
Port 6
SerDes
This manual suits for next models
1
Table of contents
Other IDT Switch manuals

IDT
IDT PCI Express 89HPES32NT24xG2 User manual

IDT
IDT 89HPES24T6G2 User manual

IDT
IDT 89HPES48T12G2 User manual

IDT
IDT Tsi572 User manual

IDT
IDT CPS-1848 User manual

IDT
IDT 89HPES64H16G2 User manual

IDT
IDT Tsi578 User manual

IDT
IDT 89HPES16T4AG2 User manual

IDT
IDT PowerSpan II User manual

IDT
IDT 89HPES5T5 User manual