(R) IDT(R) 89HPEB383 PCI Express(R) Bridge User Manual July 2011 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. (c)2011 Integrated Device Technology, Inc. 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, patent rights 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 your own risk. IDT MAKES NO 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 PARTICULAR PURPOSE, OR NON-INFRINGEMENT. FURTHER, IDT MAKES NO REPRESENTATIONS OR WARRANTIES AS TO THE TRUTH, ACCURACY OR COMPLETENESS 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 examples also may be subject to United States export control laws and may be subject to the export or import laws of other countries and it is your responsibility to comply with 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 written agreement pertaining to such intended use is executed between the manufacturer and an officer 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 provided in the labeling, can be reasonably expected to result in a significant injury to the user. 2. A critical component is any components of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. IDT, the IDT logo, and Integrated Device Technology are trademarks or registered trademarks of Integrated Device Technology, Inc. i Contents About this Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1. Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 1.2 1.3 1.4 2. Signal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EEPROM Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JTAG Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power-up Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 14 15 18 19 19 20 Data Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.1 General Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.2 PCIe Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2.3 PCI Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Device Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 Upstream Data Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 Downstream Data Path. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transaction Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 Upstream Transaction Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.2 Downstream Transaction Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Buffer Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.1 Upstream Non-posted Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.2 Upstream Posted Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.3 Downstream Non-posted Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.4 Downstream Posted Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prefetching Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Short Term Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Polarity Inversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 21 22 23 23 24 24 24 25 26 26 26 27 28 28 Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4.1 4.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Memory-mapped I/O Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 ii Contents 4.3 4.4 4.5 4.6 4.7 4.8 5. 5.3 5.4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.1 Type 0 Configuration Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2 Type 1 Configuration Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.3 Type 1 to Type 0 Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.4 Type 1 to Type 1 Forwarding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.5 Type 1 to Special Cycle Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Enhanced Configuration Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Retry Mechanisms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 43 44 44 45 45 46 46 47 Bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 7. 31 32 34 35 37 37 37 38 41 Configuration Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.1 5.2 6. Prefetchable Space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VGA Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ISA Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Non-transparent Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7.1 PCIe to PCI Non-prefetchable Address Remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7.2 PCIe to PCI Prefetchable Address Remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7.3 PCI to PCIe Address Remapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Legacy Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flow Control Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Buffer Size and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assignment of Requestor ID and Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forwarding of PCIe to PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.1 PCIe Memory Write Request. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.2 PCIe Non-posted Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forwarding of PCI to PCIe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.1 PCI Memory Write Request. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.2 PCI Non-posted Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Transaction Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Transaction Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.1 INTx Interrupt Signaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.2 Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.3 Locked Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.4 Slot Power Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9.5 Vendor-defined and Device ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transaction Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exclusive Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 49 50 50 50 50 50 51 51 52 53 54 55 55 55 55 55 55 56 57 PCI Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.1 7.2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required Contents iii 7.3 PCI Arbitration Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 8. Interrupt Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 8.1 8.2 8.3 9. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Interrupt Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Error Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.1 9.2 9.3 9.4 9.5 9.6 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe as Originating Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.1 Received Poisoned TLPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.2 Received ECRC Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.3 PCI Uncorrectable Data Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.4 PCI Uncorrectable Address/Attribute Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.5 Received Master-Abort on PCI Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.6 Received Target-Abort On PCI Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI as Originating Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.1 Received PCI Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.2 Unsupported Request Completion Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.3 Completer Abort Completion Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Timeout Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.1 PCIe Completion Timeout Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.2 PCI Delayed Transaction Timeout Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Handling Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 68 69 70 71 72 73 74 75 76 79 79 79 80 80 80 81 10. Reset and Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 10.1 10.2 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1.1 PCIe Link Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1.2 PCI Bus Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2.1 PCIe Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2.2 PCI Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 88 89 90 90 91 11. Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.1 11.2 11.3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1.2 Unsupported Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.1 ASPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.2 L0 State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.3 L0s State. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.4 L1 State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.5 L2/L3 Ready. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.6 L3 State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integrated Device Technology, Inc. Confidential - NDA Required 93 93 94 94 94 94 95 95 95 95 95 PEB383 User Manual July 25, 2011 iv Contents 11.4 11.3.7 LDn State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 11.3.8 Link State Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 11.3.9 Device Power States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.3.10 D0 State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.3.11 D3Hot State. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.3.12 D3Cold State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.3.13 D State Transitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 11.3.14 Power Management Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 11.3.15 Power State Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Power Saving Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 12. Serial EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 12.1 12.2 12.3 12.4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EEPROM Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 102 104 105 13. JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109 13.1 13.2 13.3 13.4 13.5 13.6 13.7 13.8 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 TAP Controller Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Instruction Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Bypass Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 JTAG Device ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 JTAG Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 13.6.1 Register Access from JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 13.6.2 Write Access to Registers from the JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 13.6.3 Read Access to Registers from JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Dedicated Test Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Accessing SerDes TAP Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 14. Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 14.1 14.2 14.3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Configuration Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.1 PCI Identification Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.2 PCI Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.3 PCI Class Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.4 PCI Miscellaneous 0 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.5 PCI Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.6 PCI Secondary Status and I/O Limit and Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.7 PCI Memory Base and Limit Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.8 PCI PFM Base and Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.9 PCI PFM Base Upper 32 Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.10 PCI PFM Limit Upper 32 Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.11 PCI I/O Address Upper 16 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.12 PCI Capability Pointer Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PEB383 User Manual July 25, 2011 115 117 120 123 124 128 129 130 131 134 135 136 136 137 138 Integrated Device Technology, Inc. Confidential - NDA Required Contents 14.4 14.5 14.6 14.7 14.8 v 14.3.13 PCI Bridge Control and Interrupt Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.14 Secondary Retry Count Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.15 PCI Miscellaneous Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.16 PCI Miscellaneous Clock Straps Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.17 Upstream Posted Write Threshold Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.18 Completion Timeout Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.19 Clock Out Enable Function and Debug Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.20 SERRDIS_OPQEN_DTC Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Non-transparent Address Remapping Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.1 NTMA Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.2 NTMA Primary Upper Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.3 NTMA Secondary Lower Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.4 NTMA Secondary Upper Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.5 NTMA Secondary Lower Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.4.6 NTMA Secondary Upper Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.1 SSID/SSVID Capability. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.2 SSID Capability Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.3 SSID ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.4 PCI Power Management Capability Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.5 PCI Power Management Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.6 EEPROM Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.7 Secondary Bus Device Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.8 Short-term Caching Period Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.9 Retry Timer Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.10 Prefetch Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6.1 PCIe Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6.2 PCIe Device Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6.3 PCIe Device Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6.4 PCIe Link Capabilities Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.6.5 PCIe Link Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downstream Non-transparent Address Remapping Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.7.1 Secondary Bus Non-prefetchable Address Remap Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . 14.7.2 Secondary Bus Non-prefetchable Upper Base Address Remap Register . . . . . . . . . . . . . . . . . . . . . . 14.7.3 Secondary Bus Prefetchable Address Remap Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.7.4 Secondary Bus Prefetchable Upper Base Address Remap Register . . . . . . . . . . . . . . . . . . . . . . . . . . 14.7.5 Primary Bus Non-prefetchable Upper Base Address Remap Register . . . . . . . . . . . . . . . . . . . . . . . . 14.7.6 Primary Bus Non-prefetchable Upper Limit Remap Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advanced Error Reporting Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.1 PCIe Advanced Error Reporting Capability Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.2 PCIe Uncorrectable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.3 PCIe Uncorrectable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.4 PCIe Uncorrectable Error Severity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.5 PCIe Correctable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integrated Device Technology, Inc. Confidential - NDA Required 139 145 147 150 152 153 154 155 156 156 157 157 158 158 159 159 159 160 161 162 164 166 167 169 170 171 173 173 175 177 180 182 184 184 185 185 186 186 187 188 188 189 190 191 192 PEB383 User Manual July 25, 2011 vi Contents 14.9 14.8.6 PCIe Correctable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.7 PCIe Advanced Error Capabilities and Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.8 PCIe Header Log 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.9 PCIe Header Log 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.10 PCIe Header Log 3 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.11 PCIe Header Log 4 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.12 PCIe Secondary Uncorrectable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.13 PCIe Secondary Uncorrectable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.14 PCIe Secondary Uncorrectable Error Severity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.15 PCIe Secondary Error Capabilities and Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.16 PCIe Secondary Header Log 1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.17 PCIe Secondary Header Log 2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.18 PCIe Secondary Header Log 3 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.19 PCIe Secondary Header Log 4 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.20 Replay Latency Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.21 ACK/NACK Update Latency Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.8.22 N_FTS Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe and SerDes Control and Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.1 Base Offset Address Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.2 PCIe Per-Lane Transmit and Receive Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.3 PCIe Transmit and Receive Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.4 PCIe Output Status and Transmit Override Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.5 PCIe Receive and Output Override Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.6 PCIe Debug and Pattern Generator Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.7 PCIe Pattern Matcher Control and Error Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.8 PCIe SS Phase and Error Counter Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.9 PCIe Scope Control and Frequency Integrator Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.10 PCIe Clock Module Control and Status Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.11 PCIe Control and Level Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.9.12 PCIe Control and Level Override Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 194 195 195 196 196 197 198 199 200 200 201 202 202 203 204 205 207 207 208 208 209 210 211 212 213 214 215 215 216 15. Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219 15.1 15.2 15.3 15.4 15.5 15.6 15.7 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply Sequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Timing Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.1 PCI Interface AC Signal Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.2 PCIe Differential Transmitter Output Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.3 PCIe Differential Receiver Input Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.4 Reference Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.5 Boundary Scan Test Signal Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.6 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PEB383 User Manual July 25, 2011 219 220 220 221 221 222 222 223 227 230 231 231 232 Integrated Device Technology, Inc. Confidential - NDA Required Contents vii 16. Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 16.1 16.2 16.3 Pinouts and Mechanical Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.1.1 QFP Package Pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.1.2 QFP Package Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.1.3 QFN Package Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.1.4 QFN Package Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Moisture Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 236 237 239 240 242 244 17. Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 viii PEB383 User Manual July 25, 2011 Contents Integrated Device Technology, Inc. Confidential - NDA Required ix Figures Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11: Figure 12: Figure 13: Figure 14: Figure 15: Figure 16: Figure 17: Figure 18: Figure 19: Figure 20: Figure 21: Figure 22: Figure 23: Figure 24: Figure 25: Figure 26: Figure 27: Figure 28: Figure 29: Figure 30: Figure 31: Figure 32: Figure 33: Figure 34: Figure 35: Figure 36: Figure 37: Figure 38: Figure 39: Figure 40: Figure 41: Figure 42: PEB383 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 PEB383 Device Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Network Interface Card Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 DVR Card Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Motherboard Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 ExpressCard Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Upstream Data Path[update for PEB383] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Downstream Data Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Memory-mapped I/O Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 64-bit Prefetchable Memory Address Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 I/O Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ISA Mode I/O Addressing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Memory Window Remapping Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 PCIe Configuration Address Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 PCI Type 0 Configuration Address Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 PCI Type 1 Configuration Address Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 PCI Arbiter Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 PCI Arbitration Priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Arbitration Pointers - Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Arbitration Pointers - Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Interrupt Handling Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 PCIe Flowchart of Device Error Signaling and Logging Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Transaction Error Forwarding with PCIe as Originating Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Transaction Error Forwarding with PCI as Originating Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 PCIe Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 PCI Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 PCIe Link Power Management States. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 D State Transitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 EEPROM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9-bit EEPROM Read Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 16-bit EEPROM Read Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 9-bit EEPROM Write Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 16-bit EEPROM Write Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 EEPROM WREN Instruction Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 EEPROM RDSR Instruction Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Read/Write Access from JTAG -- Serial Data In. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Observe from JTAG -- Serial Data Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 PCIe SerDes Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Transmitter Eye Voltage and Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Minimum Receiver Eye Timing and Voltage Compliance Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Weighing Function for RMS Phase Jitter Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 x Figure 43: Figure 44: Figure 45: Figure 46: Figure 47: Figures Input Timing Measurement Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Output Timing Measurement Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI TOV (max) Rising Edge AC Test Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI TOV (max) Falling Edge AC Test Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI TOV (min) AC Test Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PEB383 User Manual July 25, 2011 232 233 233 233 234 Integrated Device Technology, Inc. Confidential - NDA Required xi Tables Table 1: Table 2: Table 3: Table 4: Table 5: Table 6: Table 7: Table 8: Table 9: Table 10: Table 11: Table 12: Table 13: Table 14: Table 15: Table 16: Table 17: Table 18: Table 19: Table 20: Table 21: Table 22: Table 24: Table 23: Table 25: Table 26: Table 27: Table 28: Table 29: Table 30: Table 31: Table 32: Table 33: Table 34: Table 35: Table 36: Table 37: Table 38: Table 39: Table 40: Table 41: Table 42: Pin Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 PCIe Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 PCI Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 EEPROM Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 JTAG Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Power-up Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Power Supply Signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Completion Buffer Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Initial Credit Advertisement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 PCI Transaction Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 PCIe Transaction Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Transaction Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Error Forwarding Requirements (Step A to Step B) for Received PCIe Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Bridge Requirements for Transactions Requiring a Completion (Immediate Response) . . . . . . . . . . . . . . . . . . . . 68 Error Forwarding Requirements for Received PCI Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Error Forwarding Requirements for PCI Delayed Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 ECRC Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Poisoned TLP Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Malformed TLP Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Link and Flow Control Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Uncorrectable Data/Address Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Received Master/Target Abort Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Request Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Completion Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Reset Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 PCI Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 PCIe Link States. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Power Management State Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Power saving modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 EEPROM Image. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 PCI Type 1 Configuration Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 SSID Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Power Management Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 PCIe Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Advanced Error Reporting Capability Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 SerDes Per-lane and Clock Control and Status Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 TX_LVL Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Absolute Maximum Ratings - PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Absolute Maximum Ratings - PCIe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 xii Table 43: Table 44: Table 45: Table 46: Table 47: Table 48: Table 49: Table 50: Table 51: Table 52: Table 53: Tables PEB383 Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PEB383 Power Dissipation per Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Clock (PCI_CLK) Specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Differential Transmitter Output Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIe Differential Receiver Input Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reference Clock (PCIE_REFCLK_n/p) Electrical Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boundary Scan Test Signal Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thermal Specifications -- 66MHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Thermal Specifications -- 33MHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PEB383 User Manual July 25, 2011 220 221 221 222 223 227 230 231 231 242 243 Integrated Device Technology, Inc. Confidential - NDA Required 1 About this Document This section discusses the following topics: * "Scope" on page 1 * "Document Conventions" on page 1 Scope The PEB383 User Manual discusses the features, configuration requirements, and design architecture of the PEB383. Document Conventions This document uses the following conventions. Non-differential Signal Notation Non-differential signals are either active-low or active-high. An active-low signal has an active state of logic 0 (or the lower voltage level), and is denoted by a lowercase "n". An active-high signal has an active state of logic 1 (or the higher voltage level), and is not denoted by a special character. The following table illustrates the non-differential signal naming convention. State Single-line signal Multi-line signal Active low NAMEn NAMEn[3] Active high NAME NAME[3] Differential Signal Notation Differential signals consist of pairs of complement positive and negative signals that are measured at the same time to determine a signal's active or inactive state (they are denoted by "_p" and "_n", respectively). The following table illustrates the differential signal naming convention. State Single-line signal Multi-line signal Inactive NAME_p = 0 NAME_n = 1 NAME_p[3] = 0 NAME_n[3] = 1 Active NAME_p = 1 NAME_n = 0 NAME_p[3] is 1 NAME_n[3] is 0 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 2 About this Document Object Size Notation * A byte is an 8-bit object. * A word is a 16-bit object. * A doubleword (Dword) is a 32-bit object. Numeric Notation * Hexadecimal numbers are denoted by the prefix 0x (for example, 0x04). * Binary numbers are denoted by the prefix 0b (for example, 0b010). * Registers that have multiple iterations are denoted by {x..y} in their names; where x is first register and address, and y is the last register and address. For example, REG{0..1} indicates there are two versions of the register at different addresses: REG0 and REG1. Symbols Ti This symbol indicates a basic design concept or information considered helpful. p This symbol indicates important configuration information or suggestions. This symbol indicates procedures or operating levels that may result in misuse or damage to the device. Specification Status * Version 0.25 - This specification describes early design and functional information about a device. It is available at the G2 gate, which precedes the definition and planning phase. * Version 0.5 - This specification describes early design and functional information about a device. It is available after the G2 gate, but during the definition and planning phase. * Version 0.75 - This specification describes the majority of functional information about a device. It is available at the G3 gate, which precedes the development phase. * Version 1.0 - This specification describes all the functional information about a device. It is available at the G4 gate, which precedes the qualification (tape-out) phase. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required About this Document 3 Revision History October 22, 2009: Initial publication of PEB383 User Manual. November 18, 2009: Updated pinouts for QFN and QFP packages. December 8, 2009: Updated pinouts and package drawings for QFN and QFP packages. December 18, 2009: Added simulated power numbers to Table 43. Updated Tables 51 and 52 with simulated Thermal Characteristics values. Updated pinouts and package drawings for QFN and QFP packages. January 20, 2010: In Table 7, changed power numbers for Core, PCIe, and PLL from 1.0V to 1.05V in the Description column and from 1.2V to 1.05V in the Design Rec. column. In Table 42, changed power numbers for Core, PCIe, and PLL from 1.2V to 1.05V and also changed minimum and maximum values for these 3 parameters. In Table 43, changed power numbers for Core, PCIe, and PLL from 1.0V to 1.05V. March 29, 2010: In Table 3, changed pull-up resistor values from 2.4K to 8.2K for Interrupts A, B, C, and D. May 5, 2010: In Table 42, changed TA min and max temperatures to 0 and 70 respectively. In Section 15.3, updated old Table 43 and added new Table 44 for Power Dissipation values. May 28, 2010: In Chapter 16, Packaging, updated QFP package drawing. Added new Chapter 17, Ordering Information. August 3, 2010: In Chapter 17, added Tape and Reel to ordering codes. November 23, 2010: In Chapter 16, replaced existing QFN package drawing with revised PSC-4327. January 5, 2011: In Chapter 13, section 13.7, deleted last bullet containing reference to TEST_BIDIR_CTRL. March 7, 2011: In Chapter 14, changes bit types labeled RE to RWL, added description for RWL in section 14.1, revised description for bits 0 and 1 in register CLKOUT_ENB_FUNC_DBG, and changed Reset Value in RID field to 0x01 in register PCI_CLSS. In Chapter 16, section 16.1.2, added revised 128-pin QFP package drawing. May 17, 2011: In Chapter 14, section 14.5.1, added text to the third paragraph that starts with "Note that...". Added ZB silicon to Order page in Chapter 17. May 26, 2011: In Chapter 15, Table 42, changed maximum ambient temperature from 70 to 85oC. June 21, 2011: In Chapter 2, Table 3, changed pull-up for PCI_INTA-D pins from 8.2K to 2.4K. July 25, 2011: In Chapter 2, Table 3, revised text in Design Recommendation for PCIE_REFCLK pins. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 4 PEB383 User Manual July 25, 2011 About this Document Integrated Device Technology, Inc. Confidential - NDA Required 5 1. Functional Overview Topics discussed include the following: 1.1 * "Overview" * "Features" * "Device Architecture" * "Typical Applications" Overview The IDT PEB383 is a high-performance bus bridge that connects the PCI Express (PCIe) protocol to the PCI bus standard (see Figure 1). The PEB383's PCIe Interface supports a x1 lane PCIe configuration. This enables the bridge to offer exceptional throughput performance of up to 2.5 Gbps per transmit and receive direction. The device's PCI Interface can operate up to 66 MHz. This interface offers designers extensive flexibility by supporting the flowing addressing modes: transparent, and non-transparent. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 6 1. Functional Overview > Features Figure 1: PEB383 Block Diagram 1.2 Features The PEB383's key features are listed in the following sub-sections. 1.2.1 General Features * Forward bridge, PCIe to PCI * Single store and forward for optimal latency performance * Supports two modes of addressing: -- Transparent: For efficient, flow-through configurations -- Non-transparent: For address remapping of the PCIe and the PCI domains * Compliant to the following specifications: -- PCI Express Base Specification (Revision 1.1) -- PCI Express-to-PCI/PCI-X Bridge Specification (Revision 1.0) -- PCI-to-PCI Bridge Specification (Revision 1.2) -- PCI Local Bus Specification (Revision 3.0) -- PCI Bus Power Management Interface Specification (Revision 1.2) PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 1. Functional Overview > Features 1.2.2 1.2.3 7 * 3.3V PCI I/Os with 5V tolerant I/Os * Support for four external PCI bus masters through an integrated arbiter * Support for external PCI bus arbiter * Support for Masquerade mode (can overwrite vendor and device ID from EEPROM) * JTAG IEEE 1149.1, 1149.6 * Support for D0, D3 hot, D3 cold power management states * Support for Subsystem ID (SSID) and Subsystem Vendor ID (SSVID) * Legacy mode support for subtractive decode * Exclusive access using PCI_LOCKn * Packaged in a 14x14mm 128 pin TQFP and a 10x10mm 132 pin QFN. PCIe Features * 1 lane * 128-byte maximum payload * Advanced error reporting capability * End-to-end CRC (ECRC) check and generation * Up to four outstanding memory reads * 512-byte read completion buffer * ASPM L0s link state power management * ASPM L1 * Legacy interrupt signaling PCI Features * 32/64-bit addressing * 32-bit data bus * 5V tolerant * Exclusive access using PCI_LOCKn * 25-, 33-, 50-, and 66-MHz operation * Up to four outstanding read requests * 1-KB read completion buffer * Clock outputs for four PCI devices * Short-term caching support Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 8 1. Functional Overview > Device Architecture 1.3 Device Architecture A high-level, architectural diagram of the PEB383 is displayed in Figure 2. For more information about data flow through the device, see "Upstream Data Path" and "Downstream Data Path". Figure 2: PEB383 Device Architecture PC Ie (Pri mary In terface) Rx PHY SERDES Data Link Layer Transact ion Layer Address dec oding )y tr n e 8 ( e ty b 2 1 5 sr fe u b e itr w d e ts o p m a e rt sn w o d e u e u q t se u q e R d a e R m a e rt s n w o D yr tn e 4 Tx PHY SERDES Data Link Layer Transaction Lay er Flow control ACK/noACK 1K Replay buffers ordering Con figur atio n Reg ister s Conf ig writes & read Request Read st ate c ac he )y tr n e 4 ( e ty b 2 1 5 d a e r m a e rt sn w o d r e f u b n o tie l p m o c Conf ig reads )y trn e 8 ( K 1 d a e r m a e rt s p u CLK/ Reset E EPROM r e f u b n o tie l p m o c Read st ate cache e u e u q t s e u q e R d a e R m a e rt s p U y trn e 8 rs e ff u b te ir w d e ts o p m a e rt sp u )y tr n e 4 ( 2 1 5 Target int erface Orderi ng JTAG Mast er interf ac e PCI Arbit er Addres s decoding PCI Interface (Seco nda ry Interfa ce) Packets received on the PCIe Interface are processed by the data link layer and transaction layer, if applicable. If a packet is destined for the transaction layer, its address is decoded and forwarded to the appropriate destination: * Configuration register * Downstream posted write buffer * Downstream read request queue * Downstream read completion buffer PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 1. Functional Overview > Device Architecture 9 PCI data that is destined for the PCIe fabric are subject to PCIe ordering rules. Data is pulled from the appropriate queue: * Configuration register * Upstream posted write buffer * Upstream read request queue * Upstream read completion buffer PCI transactions that are decoded for the PCIe address space are forwarded to the appropriate queue: * Upstream read request queue * Upstream posted write buffer Transactions destined for downstream devices on the PCI bus, are subject to PCI ordering rules. Data is pulled form the appropriate queue: * Downstream posted write buffer * Downstream read request queue PCIe is a serialized protocol at the physical layer, and a packetized protocol at the data link layer. The PCIe lane operates at 2.5 Gb symbol rate, or at 2.0 Gb data rate; the difference is a result of the 8/10b coding process. The PEB383 uses the following processes to ensure the accurate and timely delivery of data through the data link layer: * Credit-based flow control - Prevents data loss and congestion * ACK/noACK protocol and End-to-End CRC (ECRC) - Ensures reliable data delivery if bit errors occur * Replay buffer - Replays packets that are not acknowledged by the receiver (NAK) In contrast, PCI is a parallel data interface at the physical layer. PCI is a non-packetized protocol. When a bus master starts a read or a write transaction, it indicates only the starting transaction address to the target, and not the size of the read or write. In the case of a PCI write, which is initiated on the PCI Interface and is destined for the root complex, the data is written into an upstream posted write buffer in the PEB383. The end of the write transaction is signaled by the master on the PCI bus. Once the write is completed the data can be forwarded to the PCIe Interface. If the posted write buffer is about to overflow, the PEB383 indicates a retry/disconnect on the PCI bus. Once the posted write buffer empties, the PEB383 can accept additional write transactions. The PEB383 will split write transactions as required to meet PCIe constraints: to prevent a write crossing a 4-KB boundary; if byte enables are used throughout the transaction; or if the quantity of data exceeds the maximum payload size (see MAX_SIZE in "PCIe Device Capabilities Register"). The upstream posted write buffer is managed as a simple FIFO. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 10 1. Functional Overview > Typical Applications A read initiated on the PCI bus that is decoded for an upstream target is handled as a delayed transaction by the PEB383. The bridge latches the read transaction and attempts to reserve buffer space in its upstream read completion buffer. If space is successfully reserved in the buffer, the PEB383 initiates a read on the PCIe Interface. When the read data is returned from the root complex, it is stored in the upstream read completion buffer. PCI-initiated reads, however, do not define the amount of data to read. Once the master on the PCI bus retries the read transaction, the transaction is checked to determine if the read data is returned. If it has the read data, the PEB383 responds as the target and transfers the read data to the PCI bus. Note the upstream read completion buffer is not a simple FIFO, as the order that masters on the PCI bus retry is not deterministic. If the completion buffer becomes empty prior to the transaction completing, the PEB383 disconnects from the PCI bus. When the read transaction is completed, the PEB383 discards any prefetched data that is not used and frees up the buffer. The maximum number of outstanding read requests per master is controlled by DTL[7:0] bits in "Secondary Retry Count Register". A write initiated on the PCIe Interface with the target on the downstream PCI bus is written into the downstream posted write buffer. The PEB383 acts as the master for the transaction and arbitrates for the PCI bus and initiates the write transaction. The downstream posted write buffer is managed as a FIFO. There will always be space available in the buffer to accept packet data because of the flow control method used by the PCIe data link layer. If the downstream posted write buffer is about to overflow, the upstream device will be informed of this by its lack of credits and will not send any more write data to the PEB383. A read initiated on the PCIe Interface with the target on the downstream PCI bus is written into the downstream read request queue. The downstream read request queue is managed with flow control credits to prevent overflowing. The PEB383 latches the read transaction and attempts to reserve space in the downstream read completion buffer. If space is successfully reserved in the buffer, the PEB383 acts as the master for the transaction and initiates a read transaction on the PCI bus.Programmable address decoders instruct the PEB383 which transactions on the PCI bus to forward upstream, and which transactions on the PCIe link to forward downstream. 1.4 Typical Applications This section illustrates some typical applications for the PEB383. Figure 3: Network Interface Card Application FE Integrated CPU 32-bit, 66-MHz PCI x1 PCIe PEB383 GbE USB 80E2000_TA001_01 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 1. Functional Overview > Typical Applications 11 Figure 4: DVR Card Application Camera Camera Camera Camera Video Decoder Video Decoder Video Decoder Video Decoder PCI Bus PEB383 80E2000_TA002_01 x1 PCIe Figure 5: Motherboard Application PCI Slot PCI Slot PCI PEB383 10x10 mm footprint Supports up to four PCI devices off x1 PCIe PCIe Graphics PCIe Slot Processor Chipset Memory Peripherals CPU 80E2040_TA001_01 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 12 1. Functional Overview > Typical Applications Figure 6: ExpressCard Application x1 PCIe PEB383 PCI I/O Controller 80E2010_TA001_01 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 13 2. Signal Descriptions Topics discussed include the following: 2.1 * "Overview" * "PCIe Interface Signals" * "PCI Interface Signals" * "EEPROM Interface Signals" * "JTAG Interface Signals" * "Power-up Signals" * "Power Supply Signals" Overview Signals are classified according to the types defined in the following table. Table 1: Pin Types Pin Type Definition 3.3 OD 3.3V CMOS open-drain output 3.3 3-state 3.3V CMOS tri-state output 3.3 Bidir 3.3V CMOS bi-directional 3.3 Bidir PU 3.3V CMOS bi-directional with 265K (+/- 45K) pull-up resistor 3.3 Bidir OD 3.3V CMOS bi-directional open-drain 3.3 In 3.3V CMOS input 3.3 In PU 3.3V CMOS input with 265K (+/- 45K) pull-up resistor 3.3 Out 3.3V CMOS output PCI Bidir PCI bi-directional PCI Bidir OD PCI bi-directional open-drain PCI In PCI input PCI Out PCI output PCI OD PCI output open-drain Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 14 2. Signal Descriptions > PCIe Interface Signals Table 1: Pin Types (Continued) Pin Type 2.2 Definition PCIE Diff Out PCIe differential output PCIE Diff In PCIe differential input PCIe Interface Signals Table 2: PCIe Interface Signals Name Pin Type PCIE_PERSTn 3.3 In Description Design Recommendation Direct connect to the PERST# signal. Master reset in: 0 = PEB383 in reset 1 = PEB383 in normal mode PCIE_TXD_n PCIE_TXD_p PCIE Diff Out Transmit Data. These differential pair signals send PCIe 8b/10b encoded symbols and an embedded clock to the link partner. DC blocking capacitors must be placed in the link between the transmitter and the receiver. Place a 0603 or 0402 0.075uF to 0.1uF ceramic capacitor on each TXD_n, TXD_p signal. PCIE_RXD_n PCIE_RXD_p PCIE Diff In Receive Data. These differential pair signals receive PCIe 8b/10b encoded symbols and an embedded clock from the link partner. DC blocking capacitors must be placed in the link between the transmitter and the receiver; however, the DC blocking capacitors are normally placed near the transmitter. When designing an add-in card, capacitors are not required on this link. When designing a system board, the DC blocking capacitors should be placed near the transmitter. PCIE_REFCLK_n PCIE_REFCLK_p PCIE Diff In Reference Clock. 100-MHz differential reference clock. Refer to Board Design Guidelines. PCIE_REXT Analog PEB383 User Manual July 25, 2011 - This signal must be connected to VSS with a 191-ohm (1%) resistor. Integrated Device Technology, Inc. Confidential - NDA Required 2. Signal Descriptions > PCI Interface Signals 2.3 15 PCI Interface Signals Table 3: PCI Interface Signals Name Pin Type Description PCI_AD[31:0] PCI Bidir Address/Data Bus. These multiplexed signals provide a 32/64-bit address and 32-bit data bus. None. PCI_CBEn[3:0] PCI Bidir Command/Byte Enables. These multiplexed signals indicate the current transaction type. None. PCI_CLK PCI In PCI Input Clock. This signal provides timing for the PEB383, either from an external clock or from one of the PCI_CLKO[4:0] signals (see "Clocking"). None. PCI_CLKO[4:0] PCI Out PCI Output Clocks Point-to-point connection to PCI device. IDT recommends a 33 Ohm series termination resistor. In Master clocking mode, PCI_CLKO[4] should be connected to PCI_CLK. (see "Clocking"). Design Recommendation PCI_DEVSELn PCI Bidir Device Select. A target device asserts this signal when it decodes its address on the bus. The master samples the signal at the beginning of a transaction, and the target rescinds it at the end of the transaction. Pull up (8.2K) to VIO_PCI. PCI_FRAMEn PCI Bidir Frame. The current initiator drives this signal to indicate the start and duration of a transaction, and the bus target samples it. The bus master rescinds the signal at the end of the transaction. Pull up (8.2K) to VIO_PCI. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 16 2. Signal Descriptions > PCI Interface Signals Table 3: PCI Interface Signals (Continued) Name Pin Type Description Design Recommendation PCI_GNTn[3:0] PCI Bidir / PCI Out Bus Grant. The PEB383 uses these multifunction signals to grant access to the PCI bus; however, they are used differently depending on whether or not the PEB383 PCI arbiter is used. If the arbiter is used, then PCI_GNTn[3:0] are outputs used by the PEB383 to grant access to the bus (see "PCI Arbitration"). PCI_GNTn[3:0] outputs connect directly to the PCI device's PCI_GNTn inputs. Pull ups are not required on unused outputs. If an external arbiter is used, PCI_GNTn[0] is an input that is driven by the arbiter to grant the PEB383 access to the bus. The remaining pins, PCI_GNTn[3:1], remain as outputs. The input/output mode is controlled by bit[9] of "PCI Miscellaneous 0 Register" on page 129. Note: The PCI bus arbiter can be placed on the last bus master by bit[8] of "PCI Miscellaneous 0 Register" on page 129. PCI_INTDn PCI In Interrupt D. Pull-up (2.4K) to VIO_PCI. PCI_INTCn PCI In Interrupt C. Pull-up (2.4K) to VIO_PCI. PCI_INTBn PCI In Interrupt B. Pull-up (2.4K) to VIO_PCI. PCI_INTAn PCI In Interrupt A. Pull-up (2.4K) to VIO_PCI. PCI_IRDYn PCI Bidir Initiator Ready. The bus master asserts this signal to indicate it is ready to complete the current transaction. Pull-up (8.2K) to VIO_PCI. PCI_LOCKn PCI OD Lock. This signal is used by the bus master to lock the currently addressed memory target during a series of exclusive access transactions (see "Exclusive Access"). Pull up (8.2K) to VIO_PCI. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 2. Signal Descriptions > PCI Interface Signals 17 Table 3: PCI Interface Signals (Continued) Name Pin Type Description Design Recommendation PCI_M66EN PCI In 66-MHz Enable. This signal enables the PCI Interface for 66-MHz operation. PCI_M66EN is used only in master clocking mode. 0 = 33-MHz operation Embedded designs 1 = 66-MHz operation Tied to ground for 33-MHz operation; otherwise, pull up to VIO_PCI. Bused designs using PCI slots for addin cards Place a 10K pull-up resistor (to VIO_PCI) on PCI_M66EN and route the signal from slot to slot. In slave clocking mode, PCI_M66EN can be tied to ground. PCI_PAR PCI Bidir Parity. This signal carries even parity across PCI_AD[31:0] and PCI_CBEn[3:0]. The bus master asserts this signal for the address and write data phases. The bus target asserts it for read data phases. No pull-up or pull-down resistor is required. PCI_PERRn PCI Bidir Parity Error. This signal indicates a parity error occurred during the current data phase. The bus target that receives the data asserts this signal. Pull up (8.2K) to VIO_PCI. PCI_PMEn PCI In Power Management Event. This signal indicates a power management event occurred (see "Power Management"). Pull up (8.2K) to VIO_PCI. PCI In Bus Request. These signals are used to request access to the PCI bus. They are used differently, however, depending on whether or not the PEB383 PCI arbiter is used. If the PCI arbiter is used, then PCI_REQn[3:0] are inputs used by external masters to request access to the bus. Pull up (8.2K) to VIO_PCI. PCI_REQn[3:0] PCI Bidir If an external arbiter is used, PCI_REQn[0] is an output used by the PEB383 to request access to the bus, while PCI_REQn[3:1] should be pulled high, as they are still inputs. The input/output mode is controlled by bit[9] of "PCI Miscellaneous 0 Register" on page 129. Note: The PCI bus arbiter can be placed on the last bus master by bit[8] of "PCI Miscellaneous 0 Register" on page 129. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 18 2. Signal Descriptions > EEPROM Interface Signals Table 3: PCI Interface Signals (Continued) Name Pin Type Description PCI_RSTn PCI Out PCI reset: This signal resets all devices on the PC bus. No pull-up or pull-down resistor is required. PCI_SERRn PCI Bidir OD System Error. This signal indicates an address or attribute phase parity error occurred. Pull-up (8.2K) to VIO_PCI. PCI_STOPn PCI Bidir Stop. A bus target asserts this signal to indicate it wants to stop the current transaction on the current data phase. Pull-up (8.2K) to VIO_PCI. PCI_TRDYn PCI Bidir Target Ready. The bus target asserts this signal to indicate it is ready to complete the current data phase. Pull-up (8.2K) to VIO_PCI. 2.4 Design Recommendation EEPROM Interface Signals Table 4: EEPROM Interface Signals Name Pin Type Description SR_CLK 3.3 Out Serial ROM clock: This signal is derived from REFCLKn/p (see "System Diagram"). SR_CSn 3.3 Out Serial ROM chip select: This active-low signal activates the chip-select (CS) on the external EEPROM. SR_DIN 3.3 Out Serial ROM data in: This signal transfers output data from the PEB383 to the EEPROM. SR_DOUT 3.3 In PU Serial ROM data out: This signal transfers input data from the EEPROM to the PEB383. PEB383 User Manual July 25, 2011 Design Recommendation No pull-up or pull-down resistor is required. Integrated Device Technology, Inc. Confidential - NDA Required 2. Signal Descriptions > JTAG Interface Signals 2.5 19 JTAG Interface Signals Table 5: JTAG Interface Signals Name Pin Type Description Design Recommendation JTAG_TCK 3.3 In Test Clock. This signal clocks state information and data into and out of the PEB383 during boundary scan. Connect to 3.3V using a 2K pull-up resistor. JTAG_TDI 3.3 In PU Test Data Input. This signal, in conjunction with JTAG_TCK, shifts data and instructions into the TAP controller in a serial bit stream. Connect to 3.3V using a 2K pull-up resistor. JTAG_TDO 3.3 Out Test Data Output. This signal, in conjunction with JTAG_TCK, shifts data and instructions from the TAP controller in a serial bit stream. If JTAG is not used, leave unconnected. JTAG_TMS 3.3 In PU Test Mode Set. This signal controls the state of the TAP controller. Connect to 3.3V using a 2K pull-up resistor. JTAG_TRSTn 3.3 In PU Test Reset. This signal forces the TAP controller into an initialized state. This signal must be pulsed or pulled low externally to reset the TAP controller. If JTAG is not used, connect this pin to a 2K pull-down resistor. If JTAG is used, connect to output of AND gate where inputs are TRST# and PERST#. For more information, see the PEB383 Evaluation Board User Manual. TEST_BCE 3.3 In Test Boundary Scan Compatibility Enabled. This input aids 1149.6 testing and Scope function of PHYs. For 1149.1 Boundary Scan testing, this pin must be low. For 1149.6 Boundary Scan testing, this pin must be high. TEST_ON 3.3 In This signal controls scan shift enable. Pull down for normal operation. 2.6 Power-up Signals Table 6: Power-up Signals Name Pin Type PWRUP_PLL_ BYPASS 3.3 In Description PLL bypass. This signal bypasses the PLL in the PCI clock generation (see "PCI Clocking"). Design Recommendation This signal should always be tied low. 0 = Normal operation 1 = PLL bypass Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 20 2. Signal Descriptions > Power Supply Signals 2.7 Power Supply Signals Table 7: Power Supply Signals Name Pin Type VDD Core power VDD_PCI I/O power VDD_PCIE Core power VDDA_PCIE Description Design Recommendationa 1.05V core power None. 3.3 volt I/O power for PCI and 3.3V I/O power for CMOS None. 1.05V power for SerDes Connect these signals to the 1.05V source through a ferrite bead.b Analog power 3.3V analog power for SerDes Connect these signals to the 3.3V source through a ferrite bead.b VDDA_PLL Analog power 1.05V analog power for PLL Connect these signals to the 1.05V source through a ferrite bead.b VIO_PCI I/O power 5.0 I/O power, for 5.0V I/O compliance. This signal can also be tied to 3.3V if 5.0V compliance is not required. Connect these signals to a 3.3V or 5V source depending on the PCI devices attached to the PEB383 PCI bus. VSS GND GND, core power None. VSS_IO GND GND, I/O power None. VSSA_PLL GND GND, analog PLL power None. a. For filtering and decoupling information for these signals, see "Power Supply Filtering and Decoupling" in the PEB383 Board Design Guidelines. b. For more information, see "Analog Power Supply Filtering" in the PEB383 Board Design Guidelines. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 21 3. Data Path Topics discussed include the following: 3.1 * "Overview" * "Transaction Management" * "Buffer Structure" * "Flow Control" * "Prefetching Algorithm" * "Short Term Caching" * "Polarity Inversion" Overview The PEB383 uses two buffering methods for transferring data between its PCIe and PCI ports: * Two-stage buffering for its upstream data path * One-stage buffering in its downstream data path These buffering methods are summarized in the following sub-sections. 3.1.1 Upstream Data Path Two-stage buffering in the upstream path consists of two different sized buffers for each transaction type: posted, non-posted, and completion (see Figure 7). The first-stage buffering in the PCI Core, which supports the store and forward method, meets the synchronization requirements of PCI and PCIe. This buffer design also provides optimized throughput and improved latencies. The second-stage buffering in the PCIe Core, which supports the cut-through method, handles the possible backpressure due to scaled down link, lack of flow control credits, and replay. Posted and completion buffers allow the PEB383 to accept a few more cycles of data transfer even after the assertion of stall which indicates to the initiator in the PCI Core to stop the data transfer. This buffer design ensures idle cycles are not inserted in data cycles while forwarding TLPs to its egress block. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 22 3. Data Path > Overview Figure 7: Upstream Data Path[update for PEB383] 1 s t Stage Buffering Store and Forward Address Decoder Claim Cycle Device Core Interface PostedBuffer (512 bytes) Posted Request Non Posted Queue 8 Entr e is Non-Posted Request T a rg e t In te rfa c e 2 nd Stage Bufferi ng Cut through Posted FIFO ( 512 bytes) Retry Bu ffer (1 KB) Non Posted FIFO 4 Entr ies S cr a m b le r CompletionF F I O (64 bytes) Com pletions Downstream Read CompletionBuffer (512 byte s) M a s te r In te rfa c e PME_n PMC CSR EHU PCI Core 3.1.2 PME Mesaage TLP Error Message TLP PCIe Core Downstream Data Path In the downstream path, the PEB383 uses one-stage buffering for each type of transaction (see Figure 8). These buffers support the store and forward method, receive flow control, protocol differences, synchronization, and error handling requirements. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 3. Data Path > Transaction Management 23 Figure 8: Downstream Data Path Devi ce Core Interface Receive Flow Contr ol B uffer s PostedBuf fer (512 Bytes ) Packet Decoder R x S E R D E S D esc ra m b le r Address Decoder Non-PostedQueue 4Entries B y te U n -s tr ip er ECRC Checker A rb ite r TLP Error Detecter PCIe Core 3.2 P C I In te rf a ce Reques t Generator T ar g e t In te rf a ce UpstreamRead Completion Buffer (1KB) LCRC Checker M a st e rI n te r fa ce Delayed Completion PCI Co re Transaction Management The following sub-sections describe how the PEB383 handles upstream and downstream transactions. 3.2.1 Upstream Transaction Management Transactions that originate on the PCI Interface that are destined for the PCIe Interface are stored in the respective queues or buffers in the PCI clock domain, and are then forwarded to the PCIe Core (see Figure 7). PCI buffer logic decomposes the received transactions as per the PCIe constraints (for example, MAX_RD_SIZE, MAX_PAY_SIZE, RCB, and 4-KB address boundary). Three sets of data and control signals for the three types of transactions (posted, non-posted, and completions) are used between the PCI and PCIe Cores. Transactions are stored temporarily in the PCIe Core buffers before they are used to construct TLPs, and are then made visible to TLP arbiter. The TLPs are processed by the TLP arbiter only after ordering rules are satisfied. The TLP arbiter selects one of the five input TLPs (error message, PME message, posted, completion, and non-posted TLPs) in a round-robin mode if sufficient credits and retry buffer space is available for the specific TLPs. The TLP arbiter continues to check the available credit and retry buffer space against each of the active inputs, and selects the one that meets the constraint. The ECRC adder calculates and appends a 32-bit ECRC value to the end of the TLP selected by the arbiter if ECRC generation is enabled by software, and then forwards the TLP to the Data link layer. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 24 3. Data Path > Buffer Structure The Data link layer applies a sequence number to the TLP received from transaction layer block, and then calculates and appends a 32-bit LCRC value to ensure integrity during the transmission across the physical lanes. A copy of the TLP sent to the physical layer is stored in the retry buffer for future replay if there is negative acknowledgement from the other end component. The Retry buffer replays the stored unacknowledged TLPs if it receives a NAK or replay timer expiration. The Byte striper block of the physical layer unit appends start and end characters to the TLP received from Data link layer, and then multiplexes the bytes of the packet onto the lanes. These bytes on the lanes are scrambled using LFSR to eliminate repetitive bit patterns in the bit stream. The scrambled 8-bit characters are sent to the SerDes to convert to a 10-bit character in order to transmit it in a serial bit stream on the physical lanes. 3.2.2 Downstream Transaction Management In the downstream path, the physical layer unit converts the incoming serial bit stream into a parallel symbol stream, de-scrambles the bytes in the transmit path, assembles packets, and then sends them to the Data link layer unit (see Figure 8). The Data link layer unit checks for LCRC and sequence number errors for packets received from the physical layer unit. If there are no errors, LCRC and sequence number fields are stripped and resultant TLP is sent to Transaction layer unit. The Transaction layer unit checks for ECRC errors and framing violations based on header fields and ECRC fields in the TLP received from the Data link layer unit. It extracts routing information based on the header fields and determines whether to forward or reject the TLP. The ECRC field is stripped and the resulting information in the TLP header, payload, and any detected error information, is sent to the PCI Core. The PEB383 uses receive flow control buffers in the PCI Core instead of in the PCIe Core to store downstream requests or completions to be forwarded on the PCI Interface. 3.3 Buffer Structure The following sub-sections describe the three PEB383 buffer structures: 3.3.1 * Upstream non-posted buffer * Upstream posted buffer * Downstream non-posted buffer * Downstream posted buffer Upstream Non-posted Buffer There are four entries in the upstream read request queue. The 1-KB completion buffer is split up into 4 x 256-byte segments. When a read occurs on the PCI bus a read request is FIFO queued in one of the 4 entry non-posted request queue, if there is space. The PCI transaction is retried so that the master will return when the bridge has fetched the data. If there are unallocated completion buffers (equal or greater than the programed allocation size) a PCIe read request is sent upstream, requesting the programed allocation amount of data. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 3. Data Path > Buffer Structure 25 By default the programed allocation amount of buffers that are allocated is equal to the prefetch size. In order to prevent one device from consuming all the buffers, the allocation size can be programmed to be less than the prefetch size. For example, if the prefetch size was set to 1 KB, then only one outstanding request would result, as once all the buffers are allocated no more requests can be sent. The allocation size can be programmed to be 512 bytes (or 256, 128) so that 1, 2, or 4 outstanding requests are possible (see MAX_BUF_ALOC bits in the "Upstream Posted Write Threshold Register"). Table 8: Completion Buffer Allocation MAX_BUF_ALOC Bit setting -----> 0b11 0b10 0b01 0b11 Prefetch ALOCa ORRb ALOC ORR ALOC ORR ALOC ORR 1024 bytes 1024 1 512 2 256 4 256 4 512 bytes 512 2 512 2 256 4 256 4 256 bytes 256 4 256 4 256 4 256 4 128 bytes 128 4 128 4 128 4 128 4 a. Completion buffer allocation in bytes. b. Number of Outstanding Read Requests. The requests are sent in order -- small requests do not pass large requests -- as completion buffers are unallocated. Otherwise, this would cause unfairness since smaller requests could block larger requests. The completions can occur out of order; that is, the bridge always responds with completion data if it is in the buffers. This is done to improve throughput when there are multiple outstanding read requests. 3.3.1.1 Non-posted Write Buffer The PEB383 supports one non-posted write transaction. Similar to read requests, its request information is stored in one of the eight request queue entries, and its data is stored in a 32-bit register. Non-posted write requests are forwarded onto the PCIe Core in two PCIe clock cycles. Request information is forwarded in the first cycle, while 32-bit data is forwarded in the second cycle. 3.3.2 Upstream Posted Buffer The upstream posted buffer is a FIFO of size 512 bytes that stores memory write transactions that originate on the PCI Interface and are destined to devices on PCIe Interface. The PEB383 completes the posted transactions on the originating bus before forwarding them to the PCIe Interface. Unlike the read buffers, the amount of space assigned to each transaction is dynamic. A single transaction can use 512 bytes of buffer space. The PEB383 translates all types of memory write transactions from the PCI Interface to memory write requests on the PCIe Interface. The PEB383 terminates a new transaction with retry and an active transaction with disconnect if sufficient buffer space is not available. The PEB383 uses an 8-deep request FIFO to store the request information, including first and last Dwords byte enables of the received transactions. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 26 3. Data Path > Flow Control Memory write transactions can contain any or all invalid payload bytes, where as memory write and invalidate (MWI) transactions carry all the valid payload bytes. The PEB383 decomposes the received transactions with non-contiguous byte enables on 32-byte boundaries while writing into the request FIFO. The PCI Core makes a request to the PCIe Core if one of the following conditions is met: 3.3.3 * All data bytes of the transaction are received and are stored in the data buffer * Received data bytes count exceeds the programmed threshold value (see UPST_PWR_THRES in "Upstream Posted Write Threshold Register") * Received data bytes count exceeds the PCIe maximum payload size (see MAX_PAY_SIZE in "PCIe Device Control and Status Register") * Address plus received data bytes count exceeds 4 KB * Data with non-contiguous byte enables Downstream Non-posted Buffer The 512-byte, downstream non-posted buffer stores the data returned for the non-posted requests that originate on the PCIe Interface and are destined for PCI devices. A single completion of up to 512-bytes can be stored here. A single outstanding read is issued to the PCI side. 3.3.4 Downstream Posted Buffer The 512-byte downstream posted write buffer stores the payload of memory write transactions that originate on the PCIe Interface and are destined for PCI devices. The amount of space assigned to each transaction is dynamic. The PEB383 uses an 8-deep request FIFO to store the request information, including the first and last Dwords byte enables. The PEB383 initiates a transaction on the PCI Interface only after a complete packet is stored in the buffer. The PEB383 attempts another outstanding transaction only if the current transaction is either successfully completed or terminated with either master or target abort. 3.4 Flow Control The PEB383 handles packet-based protocol on its PCIe Interface, and transaction-based protocol on its PCI Interface. PCI requesters initiate transactions without prior knowledge on receiver buffer status. As a result, flow control is managed through retries and disconnects that can waste bus bandwidth. In comparison, PCIe requesters initiate requests while having prior knowledge on receiver buffer availability status, and therefore, eliminate the wasteful effects of unnecessary retries and disconnects. The PEB383 does not issue retries or disconnects on the PCI Interface for completions returned for a downstream read request, but may issue retries or disconnects for a posted or non-posted transaction on the PCI Interface based on the buffer space availability. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 3. Data Path > Prefetching Algorithm 27 The PEB383 uses flow control buffers in the PCI Core for three categories of downstream traffic. The amount of flow control buffer space availability is conveyed to the other end of the component using flow control credits. The PEB383 advertises infinite credits for completions as it ensures enough buffer space is available to store the returned completion data before initiating a read request. The PEB383 advertises initial flow control credits as follows. Each credit of data is 16 bytes. Table 9: Initial Credit Advertisement Credit Type 3.5 Initial Advertisement Posted Header (PH) 0x08 Posted Data (PD) 0x020 Non-Posted Header (NPH) 0x04 Non-Posted Data (NPD) 0x01 Completion Header (CPLH) 0x00 (Infinite) Completion Data (CPLD) 0x000 (Infinite) Prefetching Algorithm The PEB383 prefetches the data by default for the transaction that uses Memory Read Line or Memory Read Multiple command. The PEB383 does not prefetch the data by default for the transaction that uses the memory read command since the bridge does not know whether or not the transaction address falls in prefetchable region. The prefetch algorithm is configured for various commands as follows: * Memory read - Controlled by P_MR, MRL_66 and MRL_33 of the "Prefetch Control Register". The default value of these bits indicates that either one Dword in 32-bit bus mode or two Dwords in 64-bit bus mode is prefetched. * Memory read line - Controlled by P_MRL, MRL_66 and MRL_33 of the "Prefetch Control Register". The default value of these bits indicates that either 128 bytes in 32-bit bus mode or 256 bytes in 64-bit bus mode is prefetched. The PEB383 prefetches one cacheline if P_MRL is set to 0. * Prefetch algorithm for memory read multiple command is controlled by P_MRM, MRM_66 and MRM_33 of the "Prefetch Control Register". The default value of these bits indicates that either 256 bytes in 32-bit bus mode or 384 bytes in 64-bit bus mode is prefetched. The PEB383 prefetches two cachelines if P_MRM is set to 0. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 28 3.6 3. Data Path > Short Term Caching Short Term Caching This feature provides performance improvements in situations where upstream devices are not able to stream data continuously to meet the prefetching needs of the PEB383. As defined in the PCI-to-PCI Bridge Specification (Revision 1.2), when the bus master completes a transaction, the bridge is required to discard the balance of any data that was prefetched for the master. To prevent performance impacts when dealing with devices between requester and completer that can only stream data of 128 to 512 bytes due to buffering constraints, the PEB383 uses "Short Term Caching." This feature provides a time-limited read data cache in which the PEB383 will not discard prefetched read data after the request completes on the initiating bus. To enable Short Term Caching, set the STC_EN bit in the "PCI Miscellaneous Control and Status Register". When enabled, the PEB383 does not discard the additional prefetched data when the read transaction completes on the initiating bus. The PEB383 then continues to prefetch data up to the amount specified in the "Prefetch Control Register". If the initiator generates a new transaction that requests the previously prefetched data, the PEB383 returns that data. The PEB383 discards data after some of the data for a request is returned to the initiator and one of the following conditions is met: * Short-term discard timer is expired before the initiator has requested additional data (see "Short-term Caching Period Register"). * An upstream posted transaction is received on the PCI Interface Short-term caching should only be used in systems that can ensure the data provided to the master has not been modified since the initial transaction. 3.7 Polarity Inversion The PEB383 supports polarity inversion. For information on how to use this feature, see the PEB383 Board Design Guidelines. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 29 4. Addressing Topics discussed include the following: 4.1 * "Overview" * "Memory-mapped I/O Space" * "Prefetchable Space" * "I/O Space" * "VGA Addressing" * "ISA Addressing" * "Non-transparent Addressing" * "Legacy Mode" Overview This chapter discusses the various types of address decoding performed by the PEB383 when it forwards transactions upstream and downstream. The memory and I/O address ranges are defined using a set of base and limit registers in the bridge's configuration header. The base and limit address registers define the address ranges that a bridge forwards downstream transactions. These registers are effectively inversely decoded to determine the address ranges on the PCI Interface for transactions that are forwarded upstream to the PCIe Interface. 4.2 Memory-mapped I/O Space Memory transactions are forwarded across the PEB383 when their address falls within a window defined by one of the following registers: * "PCI Memory Base and Limit Register" * "PCI PFM Base and Limit Register" The memory-mapped I/O address spacing maps memory address ranges of devices that are not prefetchable. For PCI to PCIe reads, prefetching occurs in this space only if the Memory Read Line or Memory Read Multiple commands are issued on the PCI bus. When either of these commands is used, the quantity of data prefetched is determined by the prefetching algorithm defined in "Prefetching Algorithm". For PCIe-to-PCI, the number of bytes to read is determined by the Memory Read Request TLP. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 30 4. Addressing > Memory-mapped I/O Space The response of the bridge to memory-mapped I/O transactions is controlled by the following: * MS bit in "PCI Control and Status Register" - This bit must be set to allow memory transactions to be forwarded downstream. If not set, all memory transactions on the PCI bus are forwarded to the PCIe link. In addition, if not set, all memory requests on the PCIe Interface are completed with an Unsupported Request status. * BM bit in "PCI Control and Status Register" - This bit must be set to allow memory transactions to be forwarded upstream. If this bit is not set, all memory transactions on the PCI bus are ignored. * VGA_EN bit in "PCI Bridge Control and Interrupt Register" The PEB383 forwards memory transactions downstream from its PCIe Interface to its PCI Interface if a memory address is in the range defined by the Memory Base and Memory Limit registers (when the base is less than or equal to the limit), as shown in Figure 9. A memory transaction on the PCI Interface that is within this address range, however, is not be forwarded upstream to the PCIe Interface. Any memory transactions on the PCI Interface that are outside this address range are forwarded upstream to the PCIe Interface (provided they are not in the address range defined by the set of prefetchable memory address registers). Figure 9: Memory-mapped I/O Address Space Upstream Downstream Primary Interface Memory Base Memory Limit PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > Prefetchable Space 31 The memory-mapped I/O address range that is defined by the Base and Limit registers are always aligned to a 1-MB boundary and has a size granularity of 1 MB. 4.3 Prefetchable Space The prefetchable address space maps memory address ranges of devices that are prefetchable; that is, devices that do not have side-effects during reads. For PCI-to-PCIe reads, prefetching occurs in this space for all memory read commands (MemRd, MemRdLine, MemRdMult) issued on the PCI bus. For these Read commands, the PEB383 prefetches data according to prefetching algorithm defined in "Prefetching Algorithm". For PCIe-to-PCI reads, the number of bytes to be read is determined by the Memory Read Request. The Prefetchable Memory Base, Prefetchable Memory Limit, Prefetchable Base Upper 32 Bits, and Prefetchable Limit Upper 32 Bits registers in the bridge configuration header specify an address range that is used by the bridge to determine whether to forward PCIe and PCI memory read and memory write transactions across the bridge. The prefetchable memory address range defined by these registers is always aligned to a 1-MB boundary and has a size granularity of 1 MB. If the address specified by the Prefetchable Memory Base and Prefetchable Base Upper 32 Bits registers is set to a value higher than the address specified by the Prefetchable Memory Limit and Prefetchable Limit Upper 32 Bits registers, the address range is disabled. Following register bits effect the response by the bridge to memory transactions: * Memory Enable bit in "PCI Control and Status Register" * Bus Master Enable bit in "PCI Control and Status Register" * VGA Enable bit in "PCI Bridge Control and Interrupt Register" The PEB383 forwards memory transactions downstream from its PCIe Interface to its PCI Interface if a memory address is in the range defined by the Prefetchable Memory Base and Prefetchable Memory Limit registers. Conversely, a memory transaction on the PCI Interface that is within this address range is not be forwarded upstream to the PCIe Interface. Any memory transactions on the PCI Interface that are outside this address range are forwarded upstream to the PCIe Interface (provided they are not in the address range defined by the memory-mapped I/O address range registers). If the Prefetchable Memory Base is programmed to have a value greater than the Prefetchable Memory Limit, then the prefetchable memory range is disabled. In this case, all memory transaction forwarding is determined by the memory-mapped I/O base and limit registers. Note that all four prefetchable base and limit registers must be considered when disabling the prefetchable range. Unlike non-prefetchable memory-mapped I/O memory, Prefetchable memory can be located below, above, or span across the first 4-GB address boundary. Figure 10 illustrates a prefetchable memory window that spans across the 4-GB address boundary. Memory locations above 4 GB are accessed using 64-bit addressing. PCIe memory transactions that use the Short Address (32-bit) format can target a non-prefetchable memory window or the portion of a prefetchable memory window that is below the first 4-GB address boundary. Memory transactions that use the Long Address (64-bit) format can target the portion of a prefetchable memory window that is at or above the first 4-GB address boundary. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 32 4. Addressing > I/O Space Figure 10: 64-bit Prefetchable Memory Address Range Upstream Downstream Secondary Interface Primary Interface 4 GB Boundary Prefetchable Memory 4 GB Boundary Memory Mapped I/O 4.4 I/O Space I/O Base, I/O Limit, I/O Base Upper 16 Bits, and I/O Limit Upper 16 Bits registers in the PEB383 configuration header specify an address range that is used by the bridge to determine whether to forward I/O read and I/O write transactions across the bridge. If the address specified by the I/O Base and I/O Base Upper 16 Bits registers is set to a value greater than the address specified by the I/O Limit and I/O Limit Upper 16 Bits registers, the address range is disabled. The response of the bridge to I/O transactions is controlled by the following configuration register bits: * I/O Space Enable bit in "PCI Control and Status Register" * Bus Master Enable bit in "PCI Control and Status Register" * ISA Enable bit in "PCI Bridge Control and Interrupt Register" * VGA Enable bit in "PCI Bridge Control and Interrupt Register" The I/O Enable bit must be set for any I/O transaction to be forwarded downstream. If this bit is not set, all I/O transactions on the PCI bus are forwarded to the PCIe link. If this bit is not set, all PCIe Interface I/O requests are completed with Unsupported Request status. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > I/O Space 33 The Bus Master Enable bit must be set for any I/O transaction to be forwarded upstream. If this bit is not set, all I/O transactions on the PCI bus are ignored. If ISA Enable bit is set, the bridge does not forward any I/O transactions downstream that are in the top 768 bytes of each 1-KB block within the first 64 KB of address space. Only transactions in the bottom 256 bytes of each 1-KB block are forwarded downstream. If the ISA Enable bit is clear, then all addresses within the range defined by the I/O base and limit registers are forwarded downstream. I/O transactions with addresses above 64 KB are forwarded according to the range defined by the I/O base and limit registers. If the ISA Enable bit is set, the bridge forwards upstream any I/O transactions on the PCI bus that are in the top 768 bytes of each 1-KB block within the first 64 KB of address space, even if the address is within the I/O base and limit. All other transactions on the PCI bus are forwarded upstream if they fall outside the range defined by the I/O base and limit registers. If the ISA Enable bit is clear, then all PCI bus I/O addresses outside the range defined by the I/O base and limit registers are forwarded upstream. A bridge uses the I/O Base and I/O Limit registers to determine whether to forward I/O transactions across the bridge, as shown in Figure 11. The I/O address range defined by these registers is always aligned to a 4-KB boundary and has a size granularity of 4 KB. A bridge forwards I/O read and I/O write transactions from its PCIe Interface to its PCI Interface if the address is in the range defined by the I/O base and I/O limit registers (when the base is less than or equal to the limit). Conversely, I/O transactions on the PCI bus in the address range defined by these registers are not forwarded upstream by the bridge. I/O transactions on the PCI bus that are outside the defined address range are forwarded upstream. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 34 4. Addressing > VGA Addressing Figure 11: I/O Address Space Upstream Downstream Secondary Interface Primary Interface 0x0_C000 - 0x0_FFFF 0x0_B000 - 0x0_BFFF 0x0_A000 - 0x0_AFFF 0x0_9000 - 0x0_9FFF 0x0_8000 - 0x0_8FFF 0x0_0000 - 0x0_7FFF 4.5 VGA Addressing The PEB383 supports VGA addressing. The VGA_EN bit in the "PCI Bridge Control and Interrupt Register" controls the response by the bridge to both VGA frame buffer addresses and to VGA register addresses. If the VGA Enable bit is set, the bridge decodes and forwards memory accesses to VGA frame buffer addresses and I/O accesses to VGA registers from the PCIe Interface to the PCI Interface (and block forwarding from PCI to PCIe of these same accesses). The VGA_16BIT_EN bit in the "PCI Bridge Control and Interrupt Register" selects between 10-bit and 16-bit VGA I/O address decoding, and is applicable when the VGA Enable bit is 1. VGA memory addresses are 0x0A_0000 through 0x0B_FFFF PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > ISA Addressing 35 VGA I/O Addresses (Address bits 15:10 are not decoded when the VGA 16-Bit Decode bit is 0b) are: * Address bits 9:0 = 0x3B0 through 0x3BB and 0x3C0 through 0x3DF (VGA 16-Bit Decode bit is 0b) * Address bits 15:0 = 0x03B0 through 0x03BB and 0x03C0 through 0x03DF (VGA 16-bit Decode bit is 1b) The VGA Palette Snoop Enable bit is implemented as read-only with a value of zero. 4.6 ISA Addressing The PEB383 supports ISA addressing through ISA Enable bit in the "PCI Bridge Control and Interrupt Register". The ISA Enable affects only I/O addresses that are in the bridge's I/O range (as defined by the I/O Base, I/O Base Upper 16 Bits, I/O Limit, and I/O Limit Upper 16 Bits) and in the first 64 KB of PCI I/O Space (0000 0000h to 0000 FFFFh). If this bit is set and the I/O address meets the stated constraints, the PEB383 blocks the forwarding of I/O transactions downstream if the I/O address is in the top 768 bytes of each naturally aligned 1-KB block. If the ISA Enable bit is clear, the PEB383 forwards downstream all I/O addresses in the address range defined by the I/O Base and I/O Limit registers. If the ISA Enable bit is set, I/O transactions on the PCI bus in the top 768 bytes of any 1-KB address block within the first 64 KB of PCI I/O space is forwarded upstream, even if the address is between the I/O base and I/O limit addresses. Figure 12 illustrates this mapping for a 4-KB range. The ISA Enable bit only affects the I/O address decoding behavior of the bridge. It does not affect the bridge's prefetching, posting, ordering, or error handling behavior. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 36 4. Addressing > ISA Addressing Figure 12: ISA Mode I/O Addressing Upstream Downstream Primary Interface Secondary Interface 0x0_xD000 - 0x0_xFFF 0x0_xC00 - 0x0_xCFF 0x0_x900 - 0x0_x9FF 0x0_x800 - 0x0_x8FF 0x0_x500 - 0x0_x7FF 0x0_x400 - 0x0_x4FF 0x0_x100 - 0x0_x3FF 0x0_x000 - 0x0_x0FF PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > Non-transparent Addressing 4.7 37 Non-transparent Addressing At power-up, the host processor discovers the need for non-transparent bridging and enables the address remapping of prefetchable, non-prefetchable, and I/O ranges through configuration. Before enabling address remapping of the base and limit values, the remapped address ranges need to be programmed. The "Downstream Non-transparent Address Remapping Registers" allow downstream accesses to be mapped to arbitrary positions in PCI memory space. While the Memory Base and Limit registers always define the range of addresses to be claimed on the PCIe link and forwarded to the PCI bus, cycles that are claimed have their addresses modified because of the difference in the base addresses of the windows on the two buses. 4.7.1 PCIe to PCI Non-prefetchable Address Remapping Downstream transactions that fall within the address window defined by the "PCI Memory Base and Limit Register" are remapped according to the address window defined by the "Secondary Bus Non-prefetchable Address Remap Control Register" and "Secondary Bus Non-prefetchable Upper Base Address Remap Register". The following equations describe the address remapping process: * PriSecNPDiff = PriNPBase - SecNPBase, where -- PriSecNPDiff: Defines the difference between the Primary Non-prefetchable Base and the Secondary Non-prefetchable Base. -- PriNPBase: Defined in the previous paragraph. -- SecNPBase: Defined by "Secondary Bus Non-prefetchable Address Remap Control Register" and "Secondary Bus Non-prefetchable Upper Base Address Remap Register". * SecNPAddr = PriNPAddr - PriSecNPDiff, where -- SecNPAddr: Defines the remapped address that the PEB383 presents on the PCI bus. -- PriNPAddr: Defines the address presented to the PEB383 that falls within the registers described in the previous paragraph. -- PriSecNPDiff: See previous bullet. 4.7.2 PCIe to PCI Prefetchable Address Remapping Downstream transactions that fall within the address window defined by the "PCI PFM Base and Limit Register", "PCI PFM Base Upper 32 Address Register", and "PCI PFM Limit Upper 32 Address Register"are remapped according to the address window defined by the "Secondary Bus Prefetchable Address Remap Control Register" and "Secondary Bus Prefetchable Upper Base Address Remap Register". The following equations describe the address remapping process: * PriSecPFDiff = PriPFBase - SecPFBase, where -- PriSecPFDiff: Defines the difference between the Primary Prefetchable Base and the Secondary Prefetchable Base. -- PriPFBase: Defined by the registers listed above. -- SecPFBase: Defined by "Secondary Bus Prefetchable Address Remap Control Register" and "Secondary Bus Prefetchable Upper Base Address Remap Register". Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 38 4. Addressing > Non-transparent Addressing * SecPFAddr = PriPFAddr - PriSecPFDiff, where -- SecPFAddr: Defines the remapped address the PEB383 presents on PCI bus. -- PriPFAddr: Defines the address presented to the PEB383 that falls within the registers described in the previous paragraph. -- PriSecPFDiff: See previous bullet. 4.7.3 PCI to PCIe Address Remapping Because the addresses of the downstream memory windows on the PCI bus have been shifted from their locations on the PCIe link, the address range of cycles that a bridge will not claim on the PCI bus must also be shifted. Therefore, memory cycles with addresses from SecNPBase (see "Secondary Bus Non-prefetchable Address Remap Control Register" and "Secondary Bus Non-prefetchable Upper Base Address Remap Register") to SecNPLimit or from SecFPBase (see "Secondary Bus Prefetchable Address Remap Control Register" and "Secondary Bus Prefetchable Upper Base Address Remap Register") to SecFPLimit will not be claimed by the bridge on the PCI bus. The Secondary Bus Non-prefetchable Limit is described in the following equation: * SecNPLimit = PriNPLimit - PriSecNPDiff, where -- PriNPLimit: Defined by "PCI Memory Base and Limit Register" and the additional "Primary Bus Non-prefetchable Upper Limit Remap Register". -- PriSecNPDiff: Defines the difference between the Primary Non-prefetchable Base and the Secondary Non-prefetchable Base. The Secondary Prefetchable Limit is described in the following equation: * SecPFLimit = PriPFLimit - PriSecPFDiff, where -- PriPFLimit: Defined by "PCI PFM Base and Limit Register" and "PCI PFM Base Upper 32 Address Register". -- PriSecPFDiff: Defines the difference between the Primary Prefetchable Base and the Secondary Prefetchable Base. Once the address is claimed as defined above, a memory cycle is forwarded from the PCI bus to the PCIe link with its address modified according to the Non-transparent Address (NTMA) remapping windows (see offsets 0x68 to 0x7C): * NTMA window remapping PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > Non-transparent Addressing 39 The NTMA Secondary Base (see "NTMA Secondary Lower Base Register" and "NTMA Secondary Upper Base Register") and NTMA Secondary Limit (see "NTMA Secondary Lower Limit Register" and "NTMA Secondary Upper Limit Register") define memory windows in the PCI bus memory space that are mapped to arbitrary positions on the PCIe link. The resulting location of the NTMA window on the PCIe link is defined by the following equations: * PriSecNTMADiff = PriNTMABase - SecNTMABase, where -- PriNTMABase: Defined by "NTMA Control Register" and "NTMA Primary Upper Base Register". -- SecNTMABase: Defined by "NTMA Secondary Lower Base Register" and "NTMA Secondary Upper Base Register". * PriNTMALimit = SecNTMALimit + PriSecNTMADiff, where -- SecNTMALimit: Defined by "NTMA Secondary Lower Limit Register" and "NTMA Secondary Upper Limit Register". -- PriSecNTMADiff: See previous bullet. A memory cycle whose address falls within a NTMA window on the PCI bus will have its address on the PCIe link modified by the following equation: * PriNTMAAddr = SecNTMAAddr + PriSecNTMADiff, where -- SecNTMAAddr: Secondary NTMA Address, which must fall within the window defined by the NTMA Secondary Base and Limit registers. -- PriSecNTMADiff: See previous bullet. Transactions that are claimed on PCI Interface, and which are outside the NTMA window, are forwarded upstream without address remapping. Software should ensure that the location of the NTMA window on the PCI bus is outside of the PCI bus memory windows, and that the NTMA window on the PCIe link is outside of the PCIe link memory windows, or undefined operation may result. Figure 13 displays an example of memory window remapping. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 40 4. Addressing > Non-transparent Addressing Figure 13: Memory Window Remapping Example PCIe Address Space PCI Address Space C_FFFF_FFFF 1_FFFF_FFFF NTMA Window Prefetchable Window C000_0000 C_C000_0000 A_FFFF_FFFF 7FFF_FFFF Prefetchable Window NTMA Window 9_C00_0000 4000_0000 3FFF_FFFF BFFF_FFFF Non-prefetchable Window Non-prefetchable Window 0000_0000 8000_0000 I/O Address Remapping The "PCI I/O Address Upper 16 Register" in the PEB383 configuration space indicates the number of upper bits of the I/O address that are not used when forwarding downstream I/O space cycles to the PCI bus. This allows I/O addresses to be translated down into the address range that is available on the PCI bus. There is no enable bit for I/O address remapping; any non-zero value in this register remaps the I/O transactions to a different address location, as described in this section. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 4. Addressing > Legacy Mode 4.8 41 Legacy Mode When the PEB383 is in Legacy mode it supports subtractive decode. This is a non-standard feature that is enabled through the LEGACY bit in the "PCI Miscellaneous Clock Straps Register". When the PEB383 is in legacy mode, all MWr, MRd, IOWr, and IORd transactions received on the upstream port (PCIe) that do not decode to an internal address are forwarded to the PCI Interface. When the device is not in legacy mode, TLPs that do not fall between the base and limit registers are handled as Unsupported Requests (UR). When the LEGACY bit is set, the PROG field of "PCI Class Register" is changed to 0x1, indicating to software that a subtractive bridge is present. When the LEGACY bit is set all PCIe capabilities are hidden from software, and the following occurs: 1. Next pointer in "PCI Power Management Capability Register" is set to 0, indicating it is the last capability 2. "PCIe Capability Registers" are treated as reserved 3. "Advanced Error Reporting Capability Registers" are treated as reserved 4. Extended configuration registers are treated as reserved Ti p When the PEB383 is configured in Legacy mode, the PCIe root port must also be configured to support subtractive decode. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 42 PEB383 User Manual July 25, 2011 4. Addressing > Legacy Mode Integrated Device Technology, Inc. Confidential - NDA Required 43 5. Configuration Transactions Topics discussed include the following: 5.1 * "Overview" * "Configuration Transactions" * "PCIe Enhanced Configuration Mechanism" * "Configuration Retry Mechanisms" Overview Each device in a PCIe or PCI system has a configuration space that is accessed using configuration transactions in order to define its operational characteristics. This chapter describes how the PEB383 handles PCIe configuration requests. 5.2 Configuration Transactions There are two types of configuration transactions: Type 0 and Type 1. Type 0 configuration transactions access the PEB383's internal configuration registers, while Type 1 configuration transactions access devices that reside downstream of the PEB383. Type 1 transactions are converted to Type 0 transactions if they target devices that reside on the downstream PEB383 bus. If the transaction is intended for a device that is downstream of the bus directly below the PEB383, the transaction is passed through the PEB383 as a Type 1 configuration transaction. If the transaction is not targeted for the PEB383 or any device below the PEB383, the transaction is rejected. Configuration transactions are only initiated by the Root Complex in PCIe-based systems. Configuration address formats are as follows. Figure 14: PCIe Configuration Address Format 31 24 Bus Number 23 19 Device Number Integrated Device Technology, Inc. Confidential - NDA Required 18 16 Function Number 15 12 Reserved 11 8 Extended Register Address 7 2 1 Register Address 0 Reserved PEB383 User Manual July 25, 2011 44 5. Configuration Transactions > Configuration Transactions Figure 15: PCI Type 0 Configuration Address Format 31 16 15 11 10 Reserved Unique Address (AD[31:16]) corresponding to a particular Device Number) 8 7 Function Number 2 1 0 Register Number 00 Figure 16: PCI Type 1 Configuration Address Format 31 24 Reserved 5.2.1 23 16 Bus Number 15 11 Device Number 10 8 Function Number 7 2 Register Number 1 0 01 Type 0 Configuration Transactions The PEB383 responds to PCIe Type 0 configuration transactions that address its configuration space. This type of transaction configures the PEB383 and is not forwarded downstream. The PEB383 ignores Type 0 configuration transactions that originate on the PCI Interface. If a Type 0 configuration cannot be processed, the PEB383 handles it as an Unsupported Request. 5.2.2 Type 1 Configuration Transactions PCIe Type 1 configuration transactions are used for device configuration in a hierarchical bus system. The Bus Number field contained in the header of a Type 1 configuration transaction specifies a unique PCI bus in the PCI bus hierarchy. The PEB383 compares the specified Bus Number with two register fields -- Secondary Bus Number and Subordinate Bus Number in "PCI Bus Number Register" -- that are programmed by system software or firmware to determine whether or not to forward a Type 1 configuration transactions across the bridge. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 5. Configuration Transactions > Configuration Transactions 45 If a Type 1 configuration transaction is received on the PCIe Interface, the following sequence of tests is completed on the Bus Number field to determine how the PEB383 should handle the transaction: 1. If the Bus Number field is equal to the Secondary Bus Number value and the conditions for converting the transaction into a Special Cycle transaction are met, the PEB383 forwards the configuration request to its PCI Interface as a Special Cycle transaction. If the conditions are not met, the PEB383 forwards the configuration request to the PCI Interface as a Type 0 configuration transaction. 2. If the Bus Number field is not equal to the Secondary Bus Number value but is in the range of the Secondary Bus Number and the Subordinate Bus Number (inclusive) values, the Type 1 configuration request is specifying a Bus Number that is located behind the bridge. In this case, the PEB383 forwards the configuration request to the PCI Interface as a Type 1 configuration transaction. 3. If the Bus Number field does not satisfy the tests 1 and 2, the Type 1 configuration request indicates a Bus Number that is not located behind the bridge. In this case, the configuration request in invalid and PEB383 handles this as an Unsupported Request. 5.2.3 Type 1 to Type 0 Conversion If a PCIe Type 1 configuration transaction's Bus Number field is equal to the Secondary Bus Number value, and the conditions for conversion to a Special Cycle transaction are not met, the PEB383 forwards the transaction to the PCI bus as a Type 0 configuration transaction. In this case, a device connected to the PCI Interface of the bridge is the target of the Type 0 configuration transaction. To translate and convert a PCIe Type 1 configuration transaction to a PCI Type 0 configuration transaction, the PEB383 does the following: 5.2.4 * Sets address bits PCI_AD[1:0] as 0b00 * Sets address bits PCI_AD[7:2] the same as the PCIe transaction's Register Address field * Sets address bits PCI_AD[10:8] the same as PCIe transaction's Function Number field * For a Secondary bus operating in PCI mode, it drives value 0b0000 on address PCI_AD[15:11] * For a Secondary bus operating in PCI, the PEB383 check's if the received Extended Register Address field is zero. If this field is non-zero, the PEB383 does not forward the transaction and treats it as an Unsupported Request on PCIe and a received Master-Abort on the destination bus. If the field is zero, the PEB383 decodes the PCIe Device Number field and asserts a single address bit in the range PCI_AD[31:16] during the address phase (for device numbers in the range 0b0_0000 to 0b0_ 1111b). Type 1 to Type 1 Forwarding If a PCIe Type 1 configuration transaction is received and the value specified by the Bus Number field is within the range of bus numbers between the Secondary Bus Number (exclusive) and the Subordinate Bus Number (inclusive), the PEB383 forwards the transaction to its PCI Interface as a Type 1 configuration transaction. In this case, the target of the transaction does not reside on the PCI Interface but is located on a bus segment further downstream. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 46 5. Configuration Transactions > PCIe Enhanced Configuration Mechanism To translate the forwarded transaction from a PCIe Type 1 configuration request to a PCI Type 1 configuration transaction, the PEB383 does the following: 5.2.5 * Sets address bits PCI_AD[1:0] as 0b01 * PCI Register Number, Function Number, Device Number, and Bus Number (address bits PCI_AD[23:2]) are generated directly - that is, unmodified - from the PCIe configuration transaction's Register Address, Function Number, Device Number, and Bus Number fields, respectively. * Checks if the received Extended Register Address field is zero. If this field is non-zero, the PEB383 does not forward the transaction and treats it as an Unsupported Request on PCIe and a received Master-Abort on the destination bus. If the field is zero, the PEB383 generates PCI_AD[27:24] as 0b0000. Type 1 to Special Cycle Forwarding When the PEB383 receives a PCIe Type 1 configuration write request transaction, it converts it to a Special Cycle on its PCI Interface when the following conditions are met by the transaction: 5.3 * The Bus Number field matches the Secondary Bus Number register value * The Device Number field is all ones (equals 0b1_1111) * The Function Number field is all ones (equals 0b111) * The Register Address and Extended Register Address are both all zeros (equal 0b00_0000 and 0b0000, respectively). PCIe Enhanced Configuration Mechanism The PCIe Enhanced Configuration Mechanism adds four additional bits to the Register Address field, thereby expanding the space to 4096 bytes. The PEB383 forwards configuration transactions only when the Extended Register Address bits are all zero. This prevents address aliasing on the PCI bus that does not support Extended Register Addressing. If a configuration transaction targets the PCI bus and has a non-zero value in the Extended Register Address field, the PEB383 handles the transaction as if it received a Master-Abort on the PCI bus and then does the following: * Sets the appropriate status bits for the destination bus, as if the transaction had executed and resulted in a Master-Abort * Generates a PCIe completion with Unsupported Request status PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 5. Configuration Transactions > Configuration Retry Mechanisms 5.4 47 Configuration Retry Mechanisms A PCIe-to-PCI bridge is required to return a completion for all configuration requests that cross the bridge from PCIe to PCI prior to expiration of the Completion Timeout timer in the Root Complex. This requires that bridges take ownership of all configuration requests forwarded across the bridge. If the configuration request to PCI completes successfully prior to the bridge's timer expiration, the bridge returns a completion with Normal Status on PCIe for that request. If the configuration request to PCI encounters an error condition prior to the bridge's timer expiration, the bridge returns an appropriate error completion on PCIe. If the configuration request to PCI does not complete either successfully or with an error, prior to timer expiration, the bridge is required to return a completion with Configuration Retry Status (CRS) on PCIe for that request. After the PEB383 returns a completion with CRS on PCIe, it continues to keep the configuration transaction active on the PCI bus. For PCI, the PEB383 keeps retrying the transaction until it completes on the PCI bus. When the configuration transaction completes on the PCI bus after the return of a completion with CRS on PCIe, the PEB383 discards the completion information. Bridges that use this option are also required to implement Bridge Configuration Retry Enable in the "PCIe Device Control and Status Register". If this bit is cleared, the bridge does not return a completion with CRS on behalf of configuration requests forwarded across the bridge. The lack of a completion results in eventual Completion Timeout at the Root Complex. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 48 PEB383 User Manual July 25, 2011 5. Configuration Transactions > Configuration Retry Mechanisms Integrated Device Technology, Inc. Confidential - NDA Required 49 6. Bridging Topics discussed include the following: 6.1 * "Overview" * "Flow Control Advertisements" * "Buffer Size and Management" * "Assignment of Requestor ID and Tag" * "Forwarding of PCIe to PCI" * "Forwarding of PCI to PCIe" * "PCI Transaction Support" * "PCIe Transaction Support" * "Message Transactions" * "Transaction Ordering" * "Exclusive Access" Overview The PEB383 provides a connection path between a PCI bus and a PCIe link. The main function of the PEB383 is to allow transactions between a master or a transmitter on one bus\link, and a target or a receiver on the other bus\link. The PCI Interface can operate in 32-bit PCI mode up to 66 MHz. Transactions flow through the PEB383 can be classified as follows: 6.2 * PCIe-to-PCI * PCI-to-PCIe Flow Control Advertisements The flow control method on the PCI Interface is managed through retries or disconnects, where as on the PCIe link it is managed using flow control credits. On the PCI Interface, the PEB383 issues retries to new request transactions and issues a disconnect for the active transaction if the internal request queues or data storage buffers are full or approaching full. On PCIe Interface, the PEB383 periodically conveys its available buffer space to the other end component in terms of flow control credits using flow control packets. The PEB383 advertises flow control credits as per PCIe protocol requirements. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 50 6.3 6. Bridging > Buffer Size and Management Buffer Size and Management The PEB383 provides sufficient buffering to satisfy PCIe bridging requirements. The PEB383 does not overcommit its buffers: it forwards requests onto the other side only when enough buffer space is reserved to handle the returned completions. The PEB383 uses 1-KB retry buffering, which is large enough to ensure that under normal operating conditions upstream traffic is never throttled. Ack latency value, internal processing delays, and receiver L0s exit latency values, are considered for determining the Retry buffer size. 6.4 Assignment of Requestor ID and Tag The PEB383 assigns a unique transaction ID for all the non-posted requests forwarded to upstream devices. The PEB383 takes ownership of the upstream transactions on behalf of original requestors, and stores the transaction-related state information needed to return the completions to the original requesters. The action of replacing the original transaction's requester ID and/or Tag fields with the bridge's own assigned values is referred to as taking ownership of the transaction. For upstream non-posted requests, the PEB383 assigns the PCIe requester ID using its secondary bus number and sets both the device number and function number fields to zero. For the upstream transactions, the PEB383 sets the Tag field to a request enqueued entry number. 6.5 Forwarding of PCIe to PCI The PEB383 forwards posted, non-posted, and upstream read completions to the PCI devices, and stores the non-posted TLPs' state information to return the completion TLPs to the PCIe Interface. 6.5.1 PCIe Memory Write Request The PEB383 forwards the received PCIe Memory Write Requests to the PCI Interface with either Memory Write (MW) or Memory Write and Invalidate (MWI) command. The PEB383 translates the request into a PCI transaction using the MWI command if it meets the MWI command rules specified in the PCI Local Bus Specification (Revision 3.0), and the MWI bit is set in the "PCI Control and Status Register". An MW command is used for the remaining part of the MWI transaction if the transaction is disconnected such that the remaining request does not meet the MWI command rules. The PEB383 does not support relaxed ordering among the received requests. It forwards all requests in the order they are received even if the relaxed ordering bit is set for some of the requests. 6.5.2 PCIe Non-posted Requests The PEB383 translates the PCIe Memory Read Requests into PCI transactions that use a PCI memory read command (that is, Memory Read, Memory Read Line, or Memory Read Multiple) based on its cacheline size value, requested byte enables, and prefetchable and non-prefetchable memory windows. PCIe Read Request command translation is completed as follows: * Memory Read if the PCIe Request falls into the non-prefetchable address range defined by the "PCI Memory Base and Limit Register". PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 6. Bridging > Forwarding of PCI to PCIe 51 * Memory Read Line if the PCIe Request falls into the prefetchable range defined by the "PCI PFM Base and Limit Register", and the requested data size is less than or equal to the value specified in Cacheline Size of the "PCI Miscellaneous 0 Register". * Memory Read Multiple if the PCIe Request falls into the prefetchable range defined by the "PCI PFM Base and Limit Register", and the requested the data size is greater than or equal to the value specified in Cacheline Size of the "PCI Miscellaneous 0 Register". The PEB383 supports a single outstanding request. It does not attempt to read beyond the requested length. The PEB383 decomposes the requests if the requested data length is greater than 128 bytes, and returns the completions in 128-byte boundary fragments. The PEB383 uses PCI byte enable fields such that the byte enable information is preserved and no additional bytes are requested for the transactions that fall into the non-prefetchable address range (for example, Configuration, I/O, and Memory read commands). 6.6 Forwarding of PCI to PCIe The PEB383 forwards posted and non-posted requests and downstream read completions to PCIe devices, and stores the non-posted requests' state information to return the delayed completions to the requester. 6.6.1 PCI Memory Write Request The PEB383 translates the received Memory Write (MW) and Memory Write and Invalidate (MWI) transactions into PCIe Memory Write Requests. The PEB383 uses a 512-byte posted buffer to post the received transactions. Write requests are fragmented if one of the following PCIe constraints is met: * Address plus length crosses the 4-KB boundary * Burst writes with discontinuous byte enables * Payload size exceeds MAX_PAY_SIZE in "PCIe Device Control and Status Register" The PEB383 terminates a posted transaction with retry only if the buffers are filled with previously received memory requests, or if the bridge is locked from the PCIe side (see "Locked Transaction"). For more information on locked accesses, see "Exclusive Access". Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 52 6.6.2 6. Bridging > Forwarding of PCI to PCIe PCI Non-posted Requests The PEB383 processes all non-posted transactions as delayed transactions. The PEB383 first terminates the received non-posted transaction with retry and then forwards it onto the PCIe Interface. The PEB383 stores the request-related state information while forwarding the request onto the PCIe Interface. This information tracks the requests repeated by the master and returned completions for the request. Since PCI read requests do not specify the amount of data to be read, the PEB383 uses a programmable prefetch algorithm to determine the amount of data to be read on behalf of the original requester. The PEB383 does not attempt to prefetch past the 4-KB address boundary on behalf of the original requester. The PEB383 stores the returned completion until the PCI requester repeats the initial request and terminates the delayed transaction. If short-term caching is enabled (see STC_EN in "PCI Miscellaneous Control and Status Register"), the PEB383 responds to subsequent requests with the incremental addresses issued by the master until the programmed number of data bytes are transferred to the master or the short-term discard timer is expired (see ST_DIST_EN in "SERRDIS_OPQEN_DTC Register"). The PEB383 enqueues up to four requests and issues the initial requests on the PCIe Interface in the order they were received; however, the ordering is not guaranteed for the subsequent requests of decomposed transactions. The PEB383 discards the enqueued delayed request if the requested data is not returned before the completion timeout is expired (see "Completion Timeout Register"), and returns a delayed completion with target abort to the requester (see DISCARD2 in "PCI Bridge Control and Interrupt Register"). A delayed completion is discarded if the requester does not repeat the initial request or if the requester disconnects the delayed completion after few data bytes are transferred. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 6. Bridging > PCI Transaction Support 6.7 53 PCI Transaction Support The following table lists the transactions supported by the PCI Interface. Table 10: PCI Transaction Support PCI Interface Cmd Transactiona As a Master As a Target 0000b Interrupt Acknowledge NA NA 0001b Special Cycle Yes NA 0010b I/O Read Yes Yes 0011b I/O Write Yes Yes 0100b Rsvd NA NA 0101b Rsvd NA NA 0110b Memory Read Yes Yes 0111b Memory Write Yes Yes 1000b Rsvd NA NA 1001b Rsvd NA NA 1010b Configuration Read Yes NA 1011b Configuration Write Yes NA 1100b Memory Read Multiple Yes Yes 1101b Dual Address Cycle Yes Yes 1110b Memory Read Line Yes Yes 1111b Memory Write and Invalidate Yes Yes a. For unsupported transactions, see "PCIe as Originating Interface". Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 54 6.8 6. Bridging > PCIe Transaction Support PCIe Transaction Support The following table lists the transactions supported by the PCIe Interface. Table 11: PCIe Transaction Support PCIe Interface TLP Type Transactiona As a Transmitter As a Receiver MRd Memory Read Request Yes Yes MRdLk Memory Read Request Locked NA Yes MWr Memory Write Request Yes Yes IORd I/O Read Request Yes Yes IOWr I/O Write Request Yes Yes CfgRd0 Configuration Read Type 0 NA Yes CfgWr0 Configuration Write Type 0 NA Yes CfgRd1 Configuration Read Type 1 NA Yes CfgWr1 Configuration Write Type 1 NA Yes Msg Message Request Yes Yes MsgD Message Request with Data Payload NA Yes MsgD Vendor-Defined Message No No (Vendor Defined) Request With Data Payload Cpl Completion without Data Yes Yes CplD Completion with Data Yes Yes CplLk Completion without Data for Yes NA Yes NA MRR- Locked CplDLk Completion with Data for MRR - Locked a. For unsupported transactions, see "PCIe as Originating Interface". PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 6. Bridging > Message Transactions 6.9 55 Message Transactions Message transactions are used for in-band communication of events, and therefore, eliminate the need for sideband signals. PCIe messages are routed depending on specific bit field encodings in the message request header. 6.9.1 INTx Interrupt Signaling The PEB383 forwards the INTx interrupts - PCI_INT[A:D]n - generated by PCI devices onto the PCIe Interface, as PCIe Assert_INTx and Deassert_ INTx messages (for more information, see "Interrupt Handling"). 6.9.2 Power Management Power management messages support Power Management Events (PME) signaled by sources integrated into the bridge and for devices downstream of the bridge. The PEB383 forwards the power management events (PCI_PMEn) from PCI devices onto the PCIe Interface using PCIe PME messages (for more information, see "Power Management Event"). 6.9.3 Locked Transaction Unlock messages support locked transaction sequences in the downstream direction. This type of message indicates the end of a locked sequence. The PEB383 supports locked transactions in the downstream direction and uses unlocked messages to unlock itself from the PCIe Interface (see "Exclusive Access"). 6.9.4 Slot Power Limit These messages are transmitted to downstream devices by the root complex or a switch. The PEB383 copies the set slot power limit payload into the Set Slot Power Limit Scale and Set Slot Power Value fields of the "PCIe Device Capabilities Register". 6.9.5 Vendor-defined and Device ID These messages are used for vendor-specific purposes. The PEB383 does not support forwarding of these messages. It terminates Device ID message transactions on the PCI Interface with Master-Abort. It silently discards the Vendor-defined Type 1 message TLPs and handles the Vendor-defined Type 0 message TLPs as Unsupported Requests. The PEB383 ignores the receipt of Ignored messages. It handles the receipt of Error signaling messages as Unsupported Requests. The PEB383 handles the receipt of INTx messages as malformed TLPs. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 56 6. Bridging > Transaction Ordering 6.10 Transaction Ordering Table 12 defines the transaction ordering rules that are followed by the PEB383. These rules apply uniformly to all types of transactions, including Memory, I/O, Configurations, and Messages. In the table, the columns represent a first received transaction while the rows represent a subsequently received transaction. Each table entry indicates the ordering relationship between the two transactions. The table entries are defined as follows: * Yes - The second transaction is allowed to pass the first transaction. * No - The second transaction is not allowed to pass the first transaction. The PEB383 does not allow a posted transaction to pass another posted transaction even if the relaxed ordering attribute bit is set. However, the device allows a Read completion with the relaxed ordering attribute bit set to pass a posted transaction. Table entries with 1) and 2) are defined as follows: 1. Indicates the ordering relationship when the relaxed ordering attribute bit is clear in the second transaction header information. 2. Indicates the ordering relationship when the relaxed ordering attribute bit is set in the second transaction header information. Table 12: Transaction Ordering Posted Request Posted Request Completion Completion Memory Write or Message Request Read Request I/O or Configuration Write Request Read Completion I/O or Configuration Write Completion Memory Write or Message Request 1) No Yes Yes 1) Yes 1) Yes 2) Yes 2) Yes Read Request No Yes Yes Yes Yes I/O or Configuration No Yes Yes Yes Yes Read Completion 1) No Yes Yes 1) Yes Yes Can Row Pass Column? Non-Posted Request Non-Posted Request 2) No 2) Yes I/O or No 2) Yes Yes Yes Yes Yes Configuration Write Completion PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 6. Bridging > Exclusive Access 6.11 57 Exclusive Access ThePEB383 provides an exclusive access method, which allows non-exclusive accesses to proceed while exclusive accesses take place. This allows a master to hold a hardware lock across several accesses without interfering with non-exclusive data transfer. Locked transaction sequences are generated by the host processor(s) as one or more reads followed by a number of writes to the same location(s). The PEB383 supports locked transactions only in the downstream direction. Upstream Lock transactions are handled with the LOCKn signal ignored. A Lock is established when all the following conditions are met: * A PCIe device initiates a Memory Read Lock (MRdLk) request to read from a target PCI device * LOCKn is asserted on the PCI bus * The target PCI device responds with a TRDYn The bus is unlocked when the Unlock Message TLP is received on the PCIe link. ThePEB383 enters into target-lock state when it receives a MRdLk TLP, and enters into full-lock state when it receives successful completion from the target device. ThePEB383 attempts locked read request on the PCI bus only after all the requests received prior to the locked request are completed on the bus. While in target-lock state, thePEB383 handles all the received TLPs with UR but continues to accept the transactions on the PCI Interface. When thePEB383 enters into full-lock state, all upstream transactions on the PCI Interface are retried and all the downstream requests on the PCIe Interface, except Memory transactions, are handled as UR. Requests pending in upstream queues or buffers and internally generated messages are not allowed to be forwarded to the PCIe Interface until thePEB383 is unlocked from the PCIe Interface. However, thePEB383 accepts read completions for upstream read requests that were issued before the lock was established on the PCI bus when they return on the PCIe link. As soon as the PCI bus is locked, any PCIe cycle to PCI is driven with the PCI_LOCKn pin asserted, even if that specific cycle is not locked. This is not expected to occur because under the lock, the upstream component must not send any non-locked transactions downstream. During the LOCK sequence, when the initial locked read command results in a master or target abort on the PCI bus, thePEB383 does not establish lock, and it sends a completion packet on the PCIe link with an error status. In case of a subsequent memory read or memory write receiving a target or master abort during a LOCK sequence, thePEB383 unlocks only after the unlock message is received on the PCIe Interface. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 58 PEB383 User Manual July 25, 2011 6. Bridging > Exclusive Access Integrated Device Technology, Inc. Confidential - NDA Required 59 7. PCI Arbitration Topics discussed include the following: 7.1 * "Overview" * "Block Diagram" * "PCI Arbitration Scheme" Overview The PCI internal bus arbiter manages access to the PCI bus for up to five requesters, including the PEB383. The bus arbiter has the following features: 7.2 * Supports five requests (four external and one internal, the PEB383) * Can be programmed to give high and low priorities for requesters * Bus is parked on latest master given grant Block Diagram The bus arbiter handles internal requests from the PCI Core and external requests from devices on the PCI bus (see Figure 17). When the arbiter is enabled, the PEB383 asserts the grant for PCI devices and for the PCI Core. When the arbiter is disabled, there must be an external arbiter on the PCI bus that handles PEB383 requests through the PCI_REQ[0]n signal, and grants bus access using the PCI_GNT[0] signal. Grants and Requests are bi-directional pins. PCI_REQ[0]n is output enabled when the internal arbiter is disabled. Enable of PCI_REQ[3:1]n are always hardcoded to 1'h0. PCI_GNT[0] is an input pin when the internal arbiter is disabled. Figure 17: PCI Arbiter Block Diagram Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 60 7.3 7. PCI Arbitration > PCI Arbitration Scheme PCI Arbitration Scheme The arbiter can be programmed to enable or disable, and prioritize, each requester using the "PCI Miscellaneous Control and Status Register". The PEB383, by default, is assigned a high priority and the other requesters are assigned a low priority. Based on the priority setting, requesters are divided into two groups of high and low priority. Within a group, priority is determined using a round-robin method (see Figure 18). The low-priority group is handled as one member of the high-priority group. By default, the PCI arbiter initially parks the bus on the PEB383. After servicing the requesters when the bus is in idle state, the arbiter is parked on the last served requester. The priority method is shown in Figure 18. Note that any one request input can only be mapped to high or low priority. If, for example, PCI_REQ2n is mapped to low priority, then the H2 state is skipped over. Figure 18: PCI Arbitration Priority H1 H2 H0 High Priority H3 H-PEB38x L Note: Any device can be high or low priority; however, a device can have only one priority setting as defined by the PCI_MISC_CSR register. L3 L-PEB38x L0 L2 Low Priority L1 The PEB383 also keeps track of which requestor, in each priority group, was last served. This is achieved with two arbitration pointers, one for each priority. When a new requestor is granted the bus, the pointer(s) advance. This gives each requestor a fair chance of being selected first when multiple requestors request the bus. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 7. PCI Arbitration > PCI Arbitration Scheme 61 This is shown conceptually in Figure 19. Here the last served high priority device is H1, and the last served low priority device is L2. When the high priority pointer is at H1, the order of priority is H2, H3, Low, H-PEB383, H0, and H1. Figure 19: Arbitration Pointers - Example 1 High Priority H-PEB38x H0 H1 H2 H3 L Low Priority L-PEB38x L0 L1 L2 L3 When the transaction for device 1 is complete, all input requests are sampled to determine which device should be granted next. If there are no requests the pointer stays at H1, and no grants are given. If two requests occur at the same time -- in this example, L3 and H1 -- then L3 is granted and the pointers advance as shown in Figure 20. Figure 20: Arbitration Pointers - Example 2 High Priority H-PEB38x H0 H1 H2 H3 L Low Priority L-PEB38x L0 L1 L2 L3 Once L3 is completed, the input requests are sampled again. H0 and H1 are now requesting the bus. H0 would then obtain access to the bus because the new priority ordering is H-PEB383, H0, H1, H2, H3, L. The initial ordering of the requests is not considered; that is, H1 requested before H0, but H0 wins as it is first in the priority list. This ensures that all requestors obtain equal access within a priority group. After asserting the grant, if the bus is in an idle state for M clock cycles grant is de-asserted. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 62 PEB383 User Manual July 25, 2011 7. PCI Arbitration > PCI Arbitration Scheme Integrated Device Technology, Inc. Confidential - NDA Required 63 8. Interrupt Handling Topics discussed include the following: 8.1 * "Overview" * "Interrupt Sources" * "Interrupt Routing" Overview The PEB383 supports the two types of interrupts that originate on a PCI bus: * Legacy PCI interrupts, PCI_INT[D:A]n * Message-based interrupts -- Message Signaled Interrupts (MSI) -- Enhanced Message Signaled Interrupts (MSI-X) The PEB383's PCI Interface forwards legacy INTx assertion/de-assertions in the form of Assert_INTx and Deassert_INTx messages on its PCIe link. The PEB383 handles MSI and MSI-X transactions as PCI memory write transactions. When the bridge receives an MSI/MSI-X transaction on its PCI Interface, it forwards it as a memory write TLP on its PCIe link. Both INTx messages and MSI/MSI-X transactions flow through the PEB383's upstream posted buffer, as displayed in Figure 21. Figure 21: Interrupt Handling Diagram Integrated Device Technology, Inc. Confidential - NDA Required PCI Target Interface PCI_INTDn PCI_INTCn PCI_INTAn Interrupt Message Generation PCI_INTBn Upstream Posted Buffer PEB383 User Manual July 25, 2011 64 8. Interrupt Handling > Interrupt Sources The Interrupt Message Generation module connects to the PCI Target Interface, external PCI_INT[D:A]n interrupts, and the upstream posted buffer (see Figure 21). Assertion and de-assertion of interrupts are stored in the form of Assert_INTx and Deassert_INTx flags. These flags are kept asserted until the posted buffer can handle corresponding assert and de-assert messages. If an interrupt pin is toggled when the PCI Interface is engaged with a PCI-initiated posted transaction, assert or de-assert message loading into the upstream posted request buffer is stalled until the upstream posted transaction terminates. Posted transactions are retried on the AD bus while an interrupt message is loaded into the posted buffer. A De-assert message always follows an Assert message. More then one interrupt pin can toggle at any point of time; however, a round-robin arbitration schedules the interrupt message transmission. There is no buffering for interrupt messages before loading them into the upstream posted buffer. Therefore, only one pair of Assert_INTx and Deassert_INTx messages is loaded into the buffer when allowed. In the worst case, the bridge may send duplicate messages; however, this is permitted according to the PCI Express Base Specification (Revision 1.1). 8.2 Interrupt Sources The PEB383 does not have an internal source of interrupts: it forwards legacy PCI_INT[D:A]n interrupts from the PCI Interface to the PCIe Interface in the form of Assert[D:A] and De-assert[D:A] messages with PEB383 PCIe transaction IDs. 8.3 Interrupt Routing Interrupt remapping is not performed by the PEB383. Legacy interrupts, PCI_INT[A:D]n, are routed to the upstream PCIe port in the form of Assert_INTx and Deassert_INTx [A,B,C,D] messages. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 65 9. Error Handling Topics discussed include the following: 9.1 * "Overview" * "PCIe as Originating Interface" * "PCI as Originating Interface" * "Timeout Errors" * "Other Errors" * "Error Handling Tables" Overview This chapter discusses how the PEB383 handles errors that occur during the processing of upstream and downstream transactions. For all errors that are detected by the bridge, it sets the appropriate Error Status bits - PCI Error bit(s) and PCIe Error status bit(s) - and generates an error message on PCIe, if enabled. Each error condition has an error severity level programmable by software, and a corresponding error message generated on PCIe. Each detected error condition has a default error severity level (fatal or non-fatal) and, when enabled, has a corresponding error message generated on PCIe. The error severity level is software programmable. PCIe link error message generation is controlled by the following bits: * SERR_EN in the "PCI Bridge Control and Interrupt Register" * FTL_ERR_EN in the "PCIe Device Control and Status Register" * NFTL_ERR_EN in the "PCIe Device Control and Status Register" * COR_ERR_EN in the "PCIe Device Control and Status Register" ERR_FATAL PCIe messages are enabled for transmission if either of the following bits is set: SERR_EN in "PCI Control and Status Register", or FTL_ERR_EN in "PCIe Device Control and Status Register". Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 66 9. Error Handling > Overview ERR_NONFATAL messages are enabled for transmission if either of the following bits is set: SERR_EN in "PCI Control and Status Register", or NFTL_ERR_EN in "PCIe Device Control and Status Register". ERR_COR messages are enabled for transmission if COR_ERR_EN is set in "PCIe Device Control and Status Register". FTL_ERR_DTD, NFTL_ERR_DTD, and COR_ERR_DTD bits in "PCIe Device Control and Status Register" are set for the corresponding errors on the PCIe Interface, regardless of the error reporting enable bits. The PEB383 also supports Advisory Non-Fatal error messages in the case where a TLP Error detected is a Advisory Non-Fatal Error and the Advisory Non-Fatal Error mask bit, ANFE, in the "PCIe Correctable Error Mask Register" is not masked then a Correctable error message is generated instead of a Non-Fatal error message. Figure 22 depicts the high-level flowchart for error handling on PCIe. This is taken from Table 6-2 of the PCI Express Base Specification (Revision 1.1), and includes advanced error handling. Additional error handling requirements for a PCIe bridge are described in subsequent sections of the specification. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > Overview 67 Figure 22: PCIe Flowchart of Device Error Signaling and Logging Operations Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 68 9.2 9. Error Handling > PCIe as Originating Interface PCIe as Originating Interface This section describes how the PEB383 handles error support for transactions that flow downstream from PCIe to PCI (see Figure 23). In the case of reception of a Write Request or Read Completion with a Poisoned TLP, the entire data payload of the PCIe transaction is considered as corrupt and the parity is inverted on every data phase forwarded (see Table 13). In the case of reception of a request with ECRC error, the entire TLP is considered as corrupt and is dropped by the bridge. Table 13: Error Forwarding Requirements (Step A to Step B) for Received PCIe Errors Received PCIe Error (Step A) Forwarded PCI Error Mode 1 (Parity) (Step B) Write Request or Read Completion with Poisoned TLP Poisoned Data Parity Request with ECRC (Optional Support) Error Do not forward Figure 23: Transaction Error Forwarding with PCIe as Originating Interface PCIe (Ori gi nating Interface) PC I (Destin atio n Interface) Step A Requ estor or Delayed Transacti on Compl eter Ste p B Immediate Completer PEB38x Step D Step C Table 14 provides the translation a bridge has to perform when it forwards a non-posted PCIe request (read or write) to PCI and the request is completed immediately on PCI, either normally or with an error condition. Table 14: Bridge Requirements for Transactions Requiring a Completion (Immediate Response) Immediate PCI Termination PCIe Completion Status Data transfer with uncorrectable data error (reads) Successful (Poisoned TLP) Data transfer with uncorrectable data error (non-posted writes) Unsupported Request PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > PCIe as Originating Interface 69 Table 14: Bridge Requirements for Transactions Requiring a Completion (Immediate Response) Immediate PCI Termination PCIe Completion Status Master-Abort Unsupported Request Target-Abort Completer Abort In the case of an Advisory Non-Fatal Error detection, the following actions are taken by the PEB383: 1. If the severity of the TLP Error detected in "PCIe Uncorrectable Error Severity Register" is Non-Fatal then: a. COR_ERR_DTD is set in the "PCIe Device Control and Status Register" b. ANFE is set in the "PCIe Correctable Error Status Register" 2. And if the ANFE bit is not masked in the "PCIe Correctable Error Mask Register" then: a. TLP Error Status bit is set in the "PCIe Uncorrectable Error Status Register" b. If the corresponding TLP Error Mask bit is clear in the "PCIe Uncorrectable Error Mask Register" and ERR_PTR is not valid in the "PCIe Advanced Error Capabilities and Control Register", then the TLP header is logged in the "PCIe Header Log 1 Register" and ERR_PTR is updated in the "PCIe Advanced Error Capabilities and Control Register". c. If COR_ERR_EN is set in the "PCIe Device Control and Status Register" then it sends a Correctable error message. 9.2.1 Received Poisoned TLPs When the bridge receives a poisoned TLP it completes the following while forwarding it to the PCI Interface: 1. If the severity of the PTLP in the "PCIe Uncorrectable Error Severity Register" is Non-Fatal and the ANFE Mask bit is clear in "PCIe Correctable Error Mask Register" then: * A Correctable error message is generated if the COR_ERR_EN bit is set in the "PCIe Device Control and Status Register" * ANFE bit is set in the "PCIe Correctable Error Status Register" * COR_ERR_DTD bit is set in the "PCIe Device Control and Status Register" * PTLP bit is set in the "PCIe Uncorrectable Error Status Register" * TLP header is logged in the Header Log register and ERR_PTR is updated if the PTLP Mask bit in "PCIe Uncorrectable Error Mask Register" is clear and the ERR_PTR is not valid 2. If the severity of the PTLP bit in "PCIe Uncorrectable Error Severity Register" is Non-Fatal and the ANFE Mask bit is set in "PCIe Correctable Error Mask Register" then: * No error message is generated * COR_ERR_DTD bit is set in the "PCIe Device Control and Status Register" * ANFE bit is set in the "PCIe Correctable Error Status Register" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 70 9. Error Handling > PCIe as Originating Interface 3. If it is not an AFNE then: * Fatal error message is generated if PTLP Mask bit is clear in the "PCIe Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN bit is set in the "PCIe Device Control and Status Register" * FTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" * PTLP bit is set in the "PCIe Uncorrectable Error Status Register" * TLP header is logged in the Header Log register and ERR_PTR is updated if the PTLP Mask bit is clear and the ERR_PTR is not valid. * S_SERR bit is set in the "PCI Control and Status Register" if Fatal error message is generated and the SERR_EN bit is set in the "PCI Control and Status Register". 4. In all three of the previous cases the following actions are also taken by the PEB383: 9.2.2 * D_PE bit is set in "PCI Control and Status Register" * MDP_D bit set in "PCI Control and Status Register" if the poisoned TLP is a read completion and the PERESP bit is set in the "PCI Control and Status Register" * Parity bit is inverted on the PCI bus with each associated data Dword * MDP_D bit is set in the "PCI Secondary Status and I/O Limit and Base Register" if the S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register", and the bridge sees the PCI_PERRn pin asserted when forwarding a write request transaction with bad parity to the PCI bus. The PERR_AD bit in the "PCIe Secondary Uncorrectable Error Status Register" is set, Secondary Header is Logged and Secondary First Error Pointer is updated if enabled. No error message is generated when PCI_PERRn is seen asserted by the bridge when forwarding a Poisoned TLP transaction from PCIe to PCI with bad parity. Received ECRC Errors When the PEB383 receives a TLP with ECRC error, it does the following: 1. Drops the transaction 2. D_PE is set in the "PCI Control and Status Register" 3. ECRC bit is set in the "PCIe Uncorrectable Error Status Register" 4. Header is logged in the "PCIe Header Log 1 Register" and the ERR_PTR field is updated in the "PCIe Advanced Error Capabilities and Control Register" if ECRC Error Mask bit is clear in the "PCIe Uncorrectable Error Mask Register" and ERR_PTR is not valid. 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of ECRC bit in "PCIe Uncorrectable Error Severity Register" if the ECRC Mask bit is clear in "PCIe Uncorrectable Error Mask Register", and either SERR_EN bit is set in the "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN is set in the "PCIe Device Control and Status Register" 6. S_SERR bit is set in the "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and SERR_EN bit is set in the "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > PCIe as Originating Interface 9.2.3 71 PCI Uncorrectable Data Errors This section describes the bridge requirements for error handling when forwarding downstream a.non-poisoned PCIe transaction to PCI and the bridge detects an uncorrectable data error. The error is detected on the PCI Interface. 9.2.3.1 Immediate Reads When the PEB383 forwards a read request (I/O, Memory, or Configuration) downstream, it does the following when it detects an uncorrectable data error on the destination interface while receiving an immediate response from the completer: 1. MDP_D bit is set in the "PCI Secondary Status and I/O Limit and Base Register" if the S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register" 2. D_PE in the "PCI Control and Status Register" is set 3. PCI_PERRn is asserted on the PCI Interface if the S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register" 4. UDERR bit is set in "PCIe Secondary Uncorrectable Error Status Register" 5. Header is logged in the "PCIe Secondary Header Log 1 Register" and the SUFEP field is updated in the "PCIe Secondary Error Capabilities and Control Register" if UDERR Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" and SUFEP is not valid 6. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of UDERR bit in "PCIe Secondary Uncorrectable Error Severity Register" if the UDERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in the "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in the "PCIe Device Control and Status Register" 7. S_SERR bit is set in the "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and S_SERR bit is set in the "PCI Control and Status Register" 8. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" For an immediate read transaction, if the PEB383 detects an uncorrectable data error on the destination bus it continues to fetch data until the byte count is satisfied, or the target on the destination bus ends the transaction. When the bridge creates the PCIe completion, it forwards it with successful completion status and poisons the TLP. 9.2.3.2 Non-Posted Writes When the PEB383 detects PCI_PERRn asserted on the PCI Interface while forwarding a non-poisoned non-posted write transaction from PCIe, it does the following: 1. If the target completes the transaction immediately with a data transfer, the PEB383 generates a PCIe completion with Unsupported Request status to report the error to the requester 2. PERR_AD bit is set in the "PCIe Secondary Uncorrectable Error Status Register" 3. MDP_D bit in the "PCI Secondary Status and I/O Limit and Base Register" is set if S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 72 9. Error Handling > PCIe as Originating Interface 4. Header is logged in the "PCIe Secondary Header Log 1 Register" and the SUFEP field is updated in the "PCIe Secondary Error Capabilities and Control Register" if PERR_AD Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" and SUFEP is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of PERR_AD bit in "PCIe Secondary Uncorrectable Error Severity Register" if the PERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in the "PCI Control and Status Register" or FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 6. S_SERR bit is set in the "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and SERR_EN bit is set in the "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 9.2.3.3 Posted Writes When the PEB383 detects PCI_PERRn asserted on the PCI Interface while forwarding a non-poisoned posted write transaction from PCIe, it does the following: 1. Continues to forward the remainder of the transaction 2. MDP_D bit in the "PCI Secondary Status and I/O Limit and Base Register" is set if S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register" 3. PERRn Assertion Detected Status bit is set in the "PCIe Secondary Uncorrectable Error Status Register" 4. Header is logged in the "PCIe Secondary Header Log 1 Register" and the SUFEP field is updated in the "PCIe Secondary Error Capabilities and Control Register" if PERR_AD Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" and SUFEP is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of PERR_AD bit in "PCIe Secondary Uncorrectable Error Severity Register" if the PERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register", and either SERR_EN bit is set in the "PCI Control and Status Register" or FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 6. S_SERR bit is set in the "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and SERR_EN bit is set in the "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 9.2.4 PCI Uncorrectable Address/Attribute Errors When the PEB383 forwards transactions from PCIe to PCI, address or attribute errors are reported through the PCI_SERRn pin. When the PEB383 detects PCI_SERRn asserted it does the following: 1. Continues forwarding transaction 2. S_SERR System bit is set in the "PCI Secondary Status and I/O Limit and Base Register" 3. SERR_AD bit is set in the "PCIe Secondary Uncorrectable Error Status Register" 4. In this case Header is not logged but the SUFEP is updated in the "PCIe Secondary Error Capabilities and Control Register" if the SUFEP bit is not valid and SERR_AD Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > PCIe as Originating Interface 73 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of SERR_AD bit in "PCIe Secondary Uncorrectable Error Severity Register" if SERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" or SERR_EN bit is set in "PCI Bridge Control and Interrupt Register", and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 6. S_SERR bit is set in the "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and SERR_EN bit is set in the "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 9.2.5 Received Master-Abort on PCI Interface This section describes the actions taken by the PEB383 when a Master-Abort is received on the PCI Interface. 9.2.5.1 Master Abort on a Posted Transaction When the PEB383 receives a Master-Abort on the PCI bus while forwarding a posted write transaction from PCIe, it does the following: 1. Discards the entire transaction 2. R_MA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 3. R_MA bit is set in the "PCIe Secondary Uncorrectable Error Status Register" 4. Header is logged in the "PCIe Secondary Header Log 1 Register" and SUFEP is updated in the "PCIe Secondary Error Capabilities and Control Register" if R_MA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of R_MA bit in "PCIe Secondary Uncorrectable Error Severity Register" if R_MA Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" or MA_ERR bit is set in "PCI Bridge Control and Interrupt Register", and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 6. S_SERR bit is set in "PCI Control and Status Register" if the R_MA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" or MA_ERR bit is set in "PCI Bridge Control and Interrupt Register" and the SERR_EN bit is set 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in the "PCIe Device Control and Status Register" 9.2.5.2 Master-Abort On PCI Interface for Non-Posted Transaction When the PEB383 receives a Master-Abort on the PCI bus while forwarding a non-posted PCIe request, it does the following: 1. Returns a completion with Unsupported Request status on the PCIe 2. R_MA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 3. R_MA bit is set in "PCIe Secondary Uncorrectable Error Status Register" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 74 9. Error Handling > PCIe as Originating Interface 4. Header is logged in the "PCIe Secondary Header Log 4 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if R_MA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of R_MA bit in "PCIe Secondary Uncorrectable Error Severity Register" if R_MA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 6. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR Enable bit is set in "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.2.6 Received Target-Abort On PCI Interface This section describes the functionality of the PEB383 when a Target-Abort is received on the PCI Interface in response to posted, and non-posted transactions. 9.2.6.1 Target Abort On A Posted Transaction When the PEB383 receives Target-Abort on the PCI Interface for posted requests, it takes the following actions: 1. Drops the entire transaction 2. R_TA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 3. R_TA bit is set in "PCIe Secondary Uncorrectable Error Status Register" 4. Header is logged in the "PCIe Secondary Header Log 1 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if R_TA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of R_TA bit in the "PCIe Secondary Uncorrectable Error Severity Register" if R_TA Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in the "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in the "PCIe Device Control and Status Register" 6. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.2.6.2 Target-Abort On PCI Interface For Non-Posted Transaction When the PEB383 receives a Target-Abort while forwarding a PCIe non-posted request to the PCI Interface, it takes the following actions: 1. Returns a completion with Completer Abort status on the PCIe link 2. R_TA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 3. R_TA bit is set in "PCIe Secondary Uncorrectable Error Status Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > PCI as Originating Interface 75 4. Header is logged in the "PCIe Secondary Header Log 1 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if R_TA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 5. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of R_TA bit in "PCIe Secondary Uncorrectable Error Severity Register" if R_TA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 6. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 7. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.3 PCI as Originating Interface This section describes how the PEB383 handles errors for upstream transactions from PCI to PCIe (see Figure 24). The bridge supports TLP poisoning as a Transmitter to permit proper forwarding of parity errors that occur on the PCI Interface. Figure 24: Transaction Error Forwarding with PCI as Originating Interface PCI PCIe (Origi nating Interface) (Desti nati on Interface) Req uestor or Del ayed Transaction completer PEB38x C ompleter Table 15 provides the error forwarding requirements for Uncorrectable data errors detected by the PEB383 when a transaction targets the PCIe Interface. Posted and non-posted write data received on the secondary PCI Interface with bad parity are forwarded to PCIe as Poisoned TLPs. Table 15: Error Forwarding Requirements for Received PCI Errors Received PCI Error Write with Uncorrectable Data Error Integrated Device Technology, Inc. Confidential - NDA Required Forwarded PCIe Error Write request with Poisoned TLP PEB383 User Manual July 25, 2011 76 9. Error Handling > PCI as Originating Interface Table 16 describes the PEB383 behavior on a PCI Delayed transaction that is forwarded by a bridge to PCIe as a Memory Read request or an I/O Read/Write request, and the PCIe Interface returns a completion with Unsupported Request or Completer Abort Completion status for the request. Table 16: Error Forwarding Requirements for PCI Delayed Transaction PCIe Completion Status 9.3.1 PCI Immediate Response Master-Abort Mode = 1 PCI Immediate Response Master-Abort Mode = 0 Unsupported Request (on Memory or I/O Read) Target Abort Normal Completion, return 0xFFFF_FFFF Unsupported Request (on I/O Write) Target Abort Normal Completion Completer Abort Target Abort Target Abort Received PCI Errors This section describes how the PEB383 handles PCI errors. 9.3.1.1 Uncorrectable Data Error on a Non-Posted Write Transaction PCI Mode When the PEB383 receives non-posted write transaction that is addressed such that it crosses the bridge, and the bridge detects an uncorrectable data error on its PCI Interface, it does the following: 1. D_PE bit is set in "PCI Secondary Status and I/O Limit and Base Register" 2. If S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register", then the transaction is discarded and is not forwarded to PCIe and the PERR# pin is asserted on the PCI bus 3. If S_PERESP bit is not set in "PCI Bridge Control and Interrupt Register", then the data is forwarded to PCIe as a Poisoned TLP. M_DPE bit is set in "PCI Control and Status Register" if the S_PERESP bit is set. The PERR# pin is not asserted on the PCI bus 4. UDERR bit is set in "PCIe Secondary Uncorrectable Error Status Register" 5. Header is logged in the "PCIe Secondary Header Log 1 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if UDERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 6. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of Uncorrectable Data Error bit in "PCIe Secondary Uncorrectable Error Severity Register", if UDERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 7. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set 8. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > PCI as Originating Interface 9.3.1.2 77 Uncorrectable Data Error on a Posted Write When the PEB383 receives posted write transaction that is addressed such that it crosses the bridge and the bridge detects an uncorrectable data error on its secondary PCI Interface, it does the following: 1. D_PE bit is set in "PCI Secondary Status and I/O Limit and Base Register" 2. If S_PERESP bit is set in "PCI Bridge Control and Interrupt Register", PERR# signal is asserted 3. MDP_D bit is set in "PCI Secondary Status and I/O Limit and Base Register" if S_PERESP bit is set in the "PCI Bridge Control and Interrupt Register" 4. UDERR bit is set in "PCIe Secondary Uncorrectable Error Status Register" 5. Header is logged in the "PCIe Secondary Header Log 1 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if UDERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 6. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of UDERR bit in "PCIe Secondary Uncorrectable Error Severity Register" if UDERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 7. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 8. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.3.1.3 Uncorrectable Data Error on PCI Delayed Read Completions When the PEB383 detects PERR# asserted by the initiating PCI master while forwarding a non-poisoned read completion from PCIe to PCI, it does the following: 1. Forwards the remainder of completion 2. PERR_AD bit is set in "PCIe Secondary Uncorrectable Error Status Register" 3. Header is logged in the "PCIe Secondary Header Log 1 Register" and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if, PERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 4. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of PERR_AD bit in "PCIe Secondary Uncorrectable Error Severity Register", if PERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 5. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 6. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" When the PEB383 detects PERR# asserted by the initiating PCI master while forwarding a poisoned read completion from PCIe to PCI, it does the above mentioned actions but no error message is generated. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 78 9.3.1.4 9. Error Handling > PCI as Originating Interface Uncorrectable Address Error When the PEB383 detects an Uncorrectable Address Error, and parity error detection is enabled using the S_PERESP bit in "PCI Bridge Control and Interrupt Register", the bridge takes the following actions: 1. Transaction is terminated with a Target Abort and discarded 2. D_PE bit is set in "PCI Secondary Status and I/O Limit and Base Register" independent of S_PERESP bit in "PCI Bridge Control and Interrupt Register" 3. S_TA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 4. UADD_ERR bit is set in "PCIe Secondary Uncorrectable Error Status Register" 5. Header is logged in the Secondary Header Log register and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if UADD_ERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 6. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of UADD_ERR bit in "PCIe Secondary Uncorrectable Error Severity Register" if UADD_ERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 7. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 8. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.3.1.5 Uncorrectable Attribute Error When the PEB383 detects an Uncorrectable Attribute Error and parity error detection is enabled via the Parity Error Response Enable bit in "PCI Bridge Control and Interrupt Register" then the bridge takes the following actions: 1. Transaction is terminated with a Target Abort and discarded 2. D_PE bit is set in "PCI Secondary Status and I/O Limit and Base Register" independent of S_PERESP bit in "PCI Bridge Control and Interrupt Register" 3. S_TA bit is set in "PCI Secondary Status and I/O Limit and Base Register" 4. UATT_ERR bit is set in "PCIe Secondary Uncorrectable Error Status Register" 5. Header is logged in the Secondary Header Log register and ERR_PTR is updated in the "PCIe Secondary Error Capabilities and Control Register" if UATT_ERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and ERR_PTR is not valid 6. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of UATT_ERR bit in "PCIe Secondary Uncorrectable Error Severity Register" if UATT_ERR Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > Timeout Errors 79 7. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 8. FTL_ERR_DTD/NFTL_ERR_DTD bit is set in "PCIe Device Control and Status Register" 9.3.2 Unsupported Request Completion Status The PEB383 provides two methods for handling a PCIe completion received with Unsupported Request status in response to a request originated by a secondary interface in PCI mode. The bridge's response to this completion is controlled by the MA_ERR bit in "PCI Bridge Control and Interrupt Register": * MA_ERR bit set - When MA_ERR is set the PEB383 signals a Target-Abort to the originating master of an upstream read or a non-posted write transaction if the corresponding request on the PCIe link results in a completion with Unsupported Request status. The PEB383 also sets the S_TA bit in the "PCI Secondary Status and I/O Limit and Base Register". * MA_ERR bit is cleared - This is the default PCI compatible mode where an Unsupported Request Error is not considered an error. When a Read transaction initiated on the secondary interface results in a completion with Unsupported Request status, the PEB383 returns 0xFFFF_FFFFto the originating master and normally terminates the read transaction on the originating interface (by asserting TRDY#). When a non-posted write transaction results in a completion with Unsupported Request status, the PEB383 normally completes the write transaction on the originating bus (by asserting TRDY#) and discards the write data. In all cases of receiving Unsupported Request completion status on PCIe in response to a PCI request initiated on the secondary interface, the PEB383 sets the R_MA in the "PCI Control and Status Register". 9.3.3 Completer Abort Completion Status When the PEB383 receives a completion with Completer Abort status on the PCIe link in response to a forwarded non-posted PCI transaction, it sets the R_TA bit in the "PCI Secondary Status and I/O Limit and Base Register". A Completer Abort response on PCIe translates to a Delayed Transaction Target-Abort if the secondary interface is in PCI mode. The PEB383 provides data to the requesting agent up to the point where data was successfully returned from the PCIe interface, and then signals Target-Abort. R_TA is set in "PCI Control and Status Register" when signaling a Target-Abort to a PCI agent. 9.4 Timeout Errors This section discusses how the PEB383 handles PCIe and PCI timeout errors. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 80 9.4.1 9. Error Handling > Other Errors PCIe Completion Timeout Errors The PCIe Completion Timeout function allows requestors to abort a non-posted request if the completion does not arrive within a reasonable period of time. When bridges act as initiators on PCIe on behalf of internally generated requests, and requests forwarded from a secondary interface in PCI mode, they act as endpoints for requests that they take ownership. When the PEB383 detects a completion timeout it responds as if a completion with Unsupported Request status has been received and follows the rules for handling Unsupported Request Completions as described in "Unsupported Request Completion Status". In addition, the bridge takes the following actions: 1. CTO bit is set in "PCIe Uncorrectable Error Status Register" 2. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of the CTO bit in "PCIe Uncorrectable Error Severity Register" if CTO Mask bit is clear in "PCIe Correctable Error Mask Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 3. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and the SERR_EN bit is set in "PCI Control and Status Register" 9.4.2 PCI Delayed Transaction Timeout Errors If a delayed transaction timeout is detected the PEB383 does the following: 1. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of DTDTE bit in "PCIe Secondary Uncorrectable Error Severity Register", if DTDTE Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" or DISCARD_SERR bit is set "PCI Bridge Control and Interrupt Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 2. No Header is logged 3. S_SERR bit is set in "PCI Control and Status Register" if an error message (Fatal/Non-Fatal) is generated and SERR_EN bit is set in "PCI Control and Status Register" 9.5 Other Errors PCI devices can assert SERR# when detecting errors that compromise system integrity. When the PEB383 detects SERR# on the secondary interface, it does the following: 1. S_SERR bit is set in "PCI Secondary Status and I/O Limit and Base Register" 2. Error Fatal or Non-Fatal message is generated on PCIe as per the severity level of SERR_AD bit in "PCIe Secondary Uncorrectable Error Severity Register" if SERR_AD Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" or SERR_EN bit is set in "PCI Bridge Control and Interrupt Register" and either SERR_EN bit is set in "PCI Control and Status Register" or FTL_ERR_EN/NFTL_ERR_EN bit is set in "PCIe Device Control and Status Register" 3. SERR_AD bit is set in "PCIe Secondary Uncorrectable Error Status Register" 4. SUFEP field is updated in "PCIe Secondary Error Capabilities and Control Register" 5. No Header is Logged for SERR# assertion PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > Error Handling Tables 9.6 81 Error Handling Tables This section contains error handling information in a table format. Some of this information may overlap with error information discussed in previous sections of this chapter. Table 17: ECRC Errors Error Details ECRC Error Primary Reporting Mechanism 1. "PCIe Uncorrectable Error Status Register" [ECRC]. 2. "PCI Control and Status Register" [D_PE]. 3. "PCI Control and Status Register" [S_SERR] if an error message is generated and [SERR_EN] bit is set in same register. 4. "PCIe Device Control and Status Register" [FTL_ERR_DTD/NFTL_ERR_DTD]. 5. TLP is dropped. Table 18: Poisoned TLP Errors Error Details Primary Reporting Mechanism Secondary Reporting Mechanism Poisoned TLP Error 1. "PCIe Device Control and Status Register"[COR_ERR_DTD/FTL_ERR_DTD]. 1. "PCI Secondary Status and I/O Limit and Base Register" [MDP_D] if [S_PERESP] is set in "PCI Bridge Control and Interrupt Register" and PCI_PERRn pin asserted when forwarding a write request transaction with bad parity to the PCI bus. 2. "PCIe Correctable Error Status Register" [ANFE] in case of Advisory Non-Fatal condition. 3. "PCIe Uncorrectable Error Status Register" [PTLP]. 4. "PCI Control and Status Register" [S_SERR] if a Fatal error message is sent and [SERR_EN] bit is set in same register. 2. "PCIe Secondary Uncorrectable Error Status Register" [PERR_AD]. 5. "PCI Control and Status Register" [D_PE]. 6. "PCI Control and Status Register" [MDP_D] is set if the Poisoned TLP is a read completion and [PERESP] is set in same register. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 82 9. Error Handling > Error Handling Tables Table 19: Malformed TLP Errors Error Details Payload exceeds max_payload_size Write TLP payload does not match length specified in Completion TLP payload does not match length Mismatch between TD and presence of ECRC Address/Length combination crosses 4KByte Primary Reporting Mechanism 1. "PCIe Uncorrectable Error Status Register" [MAL_TLP] 2. Optional ERR_FATAL or ERR_NONFATAL message sent. 3. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 4. "PCI Control and Status Register" [S_SERR] if error message is generated and [SERR_EN] is set in same register. 5. TLP discarded. Received INTx message with TC > 0 Received Power Management message with TC > 0 Received Error message with TC > 0 Received Unlock message with TC > 0 TLP Type field uses undefined value Illegal byte enables: 1. FBE = 0 when Length > 1DW. 2. LBE!= 0 when length = 1DW. 3. LBE = 0 when length > 1DW. 4. Non-contiguous byte enables when length = 2DW, and non-Quadword aligned address. 5. Non-contiguous byte enables when length > 2DW. IO request with TC > 0, or Attribute > 0 or Length > 1DW or LBE > 0 Configuration request with TC>0, or Attribute > 0 or Length >1DW or LBE > 0 Violations of RCB rules CRS response to non-configuration request PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > Error Handling Tables 83 Table 20: Link and Flow Control Errors Error Details Receiver Overflow on header or data Primary Reporting Mechanisms 1. "PCIe Uncorrectable Error Status Register" [RXO]. 2. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 3. Optional ERR_FATAL or ERR_NONFATAL message sent. 4. "PCI Control and Status Register" [S_SERR] if error message is generated and [SERR_EN] is set in same register. Initial credits advertised are less than minimum 1. "PCIe Uncorrectable Error Status Register" [FCPE]. Received data credits > 2047, or header credits > 127 2. "PCIe Device Control and Status Register"[FTL_ERR_DTD]/[NFTL_ERR_DTD]. Initial infinite credit advertised, but subsequent UpdateFC contains non-zero credit value. Invalid (that is, non-outstanding) AckNack_Seq_Num in received Ack/Nak DLLP 3. Optional ERR_FATAL or ERR_NONFATAL message sent. 4. "PCI Control and Status Register" [S_SERR] if error message is generated and [SERR_EN] is set in same register. 1. "PCIe Uncorrectable Error Status Register" [DLPE]. 2. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 3. Optional ERR_FATAL or ERR_NONFATAL message sent. 4. "PCI Control and Status Register" [S_SERR] if error message is generated and [SERR_EN] is set same register. TLP ends with EDB, but LCRC is not inverted 1. "PCIe Correctable Error Status Register" [B_TLP]. TLP ends with END, but LCRC is incorrect 2. "PCIe Device Control and Status Register" [COR_ERR_DTD]. TLP ends with END, LCRC is correct, but has invalid 3. Optional ERR_COR message sent. DLLP has invalid CRC 1. "PCIe Correctable Error Status Register" [B_DLLP]. 2. "PCIe Device Control and Status Register" [COR_ERR_DTD]. 3. Optional ERR_COR message sent. Replay number rolls over 1. "PCIe Correctable Error Status Register" [RN_RO]. 2. "PCIe Device Control and Status Register" [COR_ERR_DTD]. 3. Optional ERR_COR message sent. Replay timer expires 1. "PCIe Correctable Error Status Register" [RT_TO]. 2. "PCIe Device Control and Status Register" [COR_ERR_DTD]. 3. Optional ERR_COR message sent. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 84 9. Error Handling > Error Handling Tables Table 21: Uncorrectable Data/Address Errors Error Details Primary Reporting Mechanism Secondary Reporting Mechanism PCIe as Originating Interface Uncorrectable Data Error on the destination interface (PCI) while receiving an immediate response from the completer. 2. PCI_PERRn is asserted on the PCI Interface if the [S_PERESP] is set in "PCI Bridge Control and Interrupt Register". 1. "PCI Secondary Status and I/O Limit and Base Register" [MDP_D] if "PCI Bridge Control and Interrupt Register" [S_PERESP] is set. 3. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 2. "PCIe Secondary Uncorrectable Error Status Register" [UDERR]. 1. "PCI Control and Status Register" [D_PE]. 4. "PCI Control and Status Register" [S_SERR] if an error message (Fatal/Non-Fatal) is generated and [S_SERR] is set in same register. PCI_PERRn asserted on the PCI Interface while forwarding a non-posted write transaction from PCIe. 1. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 1. "PCIe Secondary Uncorrectable Error Status Register" [PERR_AD] 2. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. 2. "PCI Secondary Status and I/O Limit and Base Register" [MDP_D] if "PCI Bridge Control and Interrupt Register" [S_PERESP] PCI_PERRn asserted on the PCI Interface while forwarding a posted write transaction from PCIe. 1. "PCI Secondary Status and I/O Limit and Base Register" [MDP_D] if "PCI Bridge Control and Interrupt Register" [S_PERESP] PCI_SERRn detected on the PCI interface while forwarding transactions from PCIe. 1. "PCI Secondary Status and I/O Limit and Base Register" [S_SERR]. 2. "PCIe Secondary Uncorrectable Error Status Register" [PERR_AD] 2. "PCIe Secondary Uncorrectable Error Status Register" [SERR_AD]. PCI as Originating Interface Uncorrectable data error on a non-posted write transaction PCI mode. Uncorrectable data error on a posted write transaction. 1. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 1. "PCI Secondary Status and I/O Limit and Base Register" [D_PE]. 2. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. 2. "PCIe Secondary Uncorrectable Error Status Register" [UDERR]. 1. If S_PERESP bit is set in "PCI Bridge Control and Interrupt Register", PERR# signal is asserted. 1. "PCI Secondary Status and I/O Limit and Base Register" [D_PE]. 2. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 3. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. PEB383 User Manual July 25, 2011 2. "PCI Secondary Status and I/O Limit and Base Register" [MDP_D] if [S_PERESP] bit is set in the "PCI Bridge Control and Interrupt Register". 3. "PCIe Secondary Uncorrectable Error Status Register" [UDERR]. Integrated Device Technology, Inc. Confidential - NDA Required 9. Error Handling > Error Handling Tables 85 Table 21: Uncorrectable Data/Address Errors (Continued) Error Details Primary Reporting Mechanism Secondary Reporting Mechanism Uncorrectable data error on PCI delayed read completions. 1. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 1. "PCIe Secondary Uncorrectable Error Status Register" [PERR_AD] Uncorrectable Address Error 2. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. 1. "PCI Secondary Status and I/O Limit and Base Register" [D_PE]. 2. "PCI Secondary Status and I/O Limit and Base Register" [S_TA]. 3. "PCIe Secondary Uncorrectable Error Status Register" [UADD_ERR]. Table 22: Received Master/Target Abort Error Error Details Primary Reporting Mechanism Master-Abort on the PCI bus while forwarding a posted write transaction from PCIe 1. "PCI Control and Status Register" [S_SERR] if R_MA Mask bit is clear in "PCIe Secondary Uncorrectable Error Mask Register" or MA_ERR bit is set in "PCI Bridge Control and Interrupt Register" and "PCI Control and Status Register" [SERR_EN] is set. Secondary Reporting Mechanism 1. "PCI Secondary Status and I/O Limit and Base Register" [R_MA]. 2. "PCIe Secondary Uncorrectable Error Status Register" [R_MA]. 2. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. Master-Abort on the PCI bus while forwarding a non-posted write transaction from PCIe 1. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. Target-Abort on the PCI bus while forwarding a posted transaction from PCIe 1. "PCIe Device Control and Status Register" [FTL_ERR_DTD]/[NFTL_ERR_DTD]. 1. "PCI Secondary Status and I/O Limit and Base Register" [R_TA]. 2. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. 2. "PCIe Secondary Uncorrectable Error Status Register" [R_TA]. Target-Abort on the PCI bus while forwarding a non-posted transaction from PCIe 2. "PCI Control and Status Register" [S_SERR] if error message is sent and [SERR_EN] is set in same register. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 86 9. Error Handling > Error Handling Tables Table 23: Completion Errors Error Details Primary Reporting Mechanism Secondary Reporting Mechanism Completion received with Unsupported Request in response to a request originated by a secondary interface in PCI mode. 1. "PCI Control and Status Register" [R_MA]. 1. "PCI Secondary Status and I/O Limit and Base Register" [S_TA] is set if [MA_ERR] bit in "PCI Bridge Control and Interrupt Register" is set. Completion received with Completer Abort status on the PCIe link in response to a forwarded non-posted PCI transaction. 1. "PCI Control and Status Register"[R_TA]. 1. "PCI Secondary Status and I/O Limit and Base Register" [S_TA]. Received Unexpected Completion Error 1. "PCIe Uncorrectable Error Status Register" [UXC] if not masked. N/A 2. "PCIe Device Control and Status Register" [COR_ERR_DTD] if ANFE. Completion Timeout Error 1. "PCIe Uncorrectable Error Status Register" [CTO] if not masked. N/A 2. "PCIe Device Control and Status Register" [COR_ERR_DTD] if ANFE. Table 24: Request Errors Error Details Received vendor message (Type 0). Non-configuration or message received while in D1, D2 or D3 hot. Primary Reporting Mechanism 1. "PCIe Uncorrectable Error Status Register" [UR] if not masked. Secondary Reporting Mechanism N/A 2. "PCIe Device Control and Status Register" [UNS_REQ_DTD]. 3. "PCIe Device Control and Status Register" [COR_ERR_DTD] if ANFE. Configuration Type 0 access with a non-zero function. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 87 10. Reset and Clocking Topics discussed include the following: 10.1 * "Reset" * "Clocking" Reset The PEB383 inputs resets from upstream devices, and drives reset to downstream devices. PCIE_PERSTn is the reset input to the bridge, and is normally connected to a power-on reset controller at the system level. The PEB383 drives reset onto the PCI bus using PCI_RSTn (see Table 25). Table 25: Reset Summary Reset Level 0 PCI Definition Cold reset Trigger PCIE_PERSTn EEPROM Load Yes Warm reset PEB383 Actions * Initialize all registers to known state (including sticky) * Drive and release PCI_RSTn 1 ms after PCIE_PERSTn is released 1 Hot reset Reset message or Yes DL_down state * Initialize all registers to known state (except sticky * Drive and release PCI_RSTn 1 ms after PEB383 is completed reset 2 PCI bus reset Set reset bit in CSR through configuration cycle No * Hold PCI_RSTn low for 1 ms, or until bit is cleared by software, which ever is longer * Drain traffic * Drop request TLPs * Enumerate bus mode and clock speed (if clock master) * Do not initialize CSR Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 88 10. Reset and Clocking > Reset 10.1.1 PCIe Link Reset PCIe resets flow from upstream devices. The PCIe Interface is a slave to resets through a system-level power-on reset controller connected to PCIE_PERSTn, or through inband messages from the root complex. After release of reset the external EEPROM is loaded. During the loading process, configuration requests will receive a "configuration request retry status" completion status. 10.1.1.1 Cold Reset - Level 0 A cold reset is applied after power up. This is a traditional power-on reset that is generally driven at the system level by a power-on reset controller. After release of PCIE_PERSTn, all of PEB383's registers are in their power-on reset state, including sticky bits. Clock (PCIE_REFCLK_n/p) and power must be valid prior to the release of PCIE_PERSTn. The timing diagram for a cold reset is displayed in Figure 25, while its values are listed in Table 26. Figure 25: Reset Timing PWR Valid Clock Valid PCI E_PE RSTn Tperst-clk Tpers t Tfail Tpvperl Table 26: Reset Timing 10.1.1.2 Parameter Value Min./Max. Description Tpvperl 10 ms Minimum Power valid to release of reset Tperst-clk 10 ms Minimum Clock valid to releases of reset Tperst 1 ms Minimum Minimum pulse for reset (warm reset) Tfail 1 ms Maximum Time to assert reset after power is not valid Warm Reset - Level 0 A warm reset occurs without cycling power. This is achieved by bringing PCIE_PERSTn low for the minimum specified time, Tperst. After release of PCIE_PERSTn, all of PEB383's registers are in there power-on reset state, including sticky bits. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 10. Reset and Clocking > Reset 10.1.1.3 89 Hot Reset - Level 1 A hot reset is triggered by an in-band message from the root complex over the PCIe link. After application of hot reset, all registers are in their power-on reset state, except sticky bits which maintain their pre-reset values in order to aid in system diagnostics. A hot reset is also be initiated during a DL_down condition. DL_down means that the PEB383 has lost communications at the physical or data link layer with the upstream device. 10.1.2 PCI Bus Reset The PEB383 drives reset on the PCI bus using PCI_RSTn. There are four conditions that cause the bridge to drive reset onto the PCI bus: 1. Assertion of PCIE_PERSTn (cold/warm reset) 2. Receipt of a hot reset message on the PCIe link (hot reset) 3. PCIe link going into a DL_down state (hot reset) 4. Setting the PCI bus reset bit, S_RESET, in the "PCI Bridge Control and Interrupt Register" (level 2). Software must ensure there are no requests pending in the device buffers before setting the PCI reset bit. If software fails to do so, the PEB383 drains its buffers as follows. * Drops all upstream requests and associated completions pending in the PCI Core buffers. Requests pending in PCIe core buffers, however, are transmitted normally. * Drops all downstream requests and returns the credits, and also returns completions with UR completion status for non-posted requests. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 90 10.2 10. Reset and Clocking > Clocking Clocking This section discusses clocking information for the PEB383's PCIe and PCI Interfaces. 10.2.1 PCIe Clocking The PCIe clocking is shown in Figure 26. The 100-MHz reference clock, PCIE_REFCLK_n/p, drives a x(5/4) PLL to create a 125-MHz clock. The 125-MHz clock is further multiplied to create the Tx parallel to serial conversion, and clocking out the Tx pins, PCIE_TXD_n/p (The receive data is clocked into the PEB383 with the recovered clock. The elastic buffer operates on the recovered byte clock (from K28.5) and the internal generated 125-MHz clock. The two clocks can vary by twice the ppm tolerance of the reference clock tolerance on any one device (300ppm). Buffer overflow is prevented by discarding skip characters. Figure 26: PCIe Clocking PCS 16 PHY 10b8b decode Elastic buf fer 20 serial to Parall el Data rec overy Rx Diff erential Rec eiv er PCI E_RXD_p PCI E_RXD_n Rec ov ered 2.5 GHz Cloc k recovery K 28.5 125 MHz (t o PCI e core) PCI E_REFCLK_p PCI E_REFCLK_n 100 MHz P LL x(5/4) 125 MHz P LL x20 2.5 GHz PCS 16 PEB383 User Manual July 25, 2011 8b10b encode 20 Parallel t o serial Tx Diff erential Driver PCI E_TXD_p PCI E_TXD_n Integrated Device Technology, Inc. Confidential - NDA Required 10. Reset and Clocking > Clocking 10.2.2 91 PCI Clocking The PCI clocking for the PEB383 is shown in Figure 27. The PEB383 supports clock master and slave mode, and is configured by the PCB design. The bridge drives up to four external clocks, PCI_CLKO[3:0], which are individually enabled through the "Clock Out Enable Function and Debug Register". PCI_CLKO[4] can be used for external clock compensation. Figure 27: PCI Clocking Internal CLK P CI_CLK CLK tree PWRUP_P LL_B YPASS 100 MHz PCI E_REFCLK_p Pr ogr am ma ble PCI _CLKO[4:0] PLL PCI E_REFCLK_n PCI_M66EN Decoder Logic 10.2.2.1 Master Mode Clocking Master mode clocking is provided by the PEB383. PCI_CLKO[4:0] is generated from PCIE_REFCLK and a programmable PLL. The decoder sets the divider ratios for programmable PLL as a function of PCI_M66EN, and the "PCI Miscellaneous Clock Straps Register". PCI_M66EN selects 66 MHz when high, and 33 MHz when low. The "PCI Miscellaneous Clock Straps Register" allows this pin to be overwritten, and one of the following speeds used: 25, 33, 50, and 66 MHz. Prior to the configuration of the PCI bus speed, the PCI clock is in bypass mode, which generates a 25-MHz clock on the PCI bus. After the release of reset, the PLL locks to a new frequency based on the value of the PCI_M66EN signal (see Table 27). Table 27: PCI Clocking PCI Bus Rate PCI_M66EN Signal 25 MHz Requires software configurationa 33 MHz 0 50 MHz Requires software configuration 66 MHz 1 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 92 10. Reset and Clocking > Clocking a. This setting is based on the value of CS_MODE in the "PCI Miscellaneous Clock Straps Register". PCI_CLKO[3:0] are connected to PCI devices, while PCI_CLKO[4] is connected to the PCI_CLK signal. The track length of the clock nets should be matched in length. 10.2.2.2 Slave Mode Clocking In slave clocking, PCI_CLKO[0] is disabled through the "Clock Out Enable Function and Debug Register", and an external clock source drives the PEB383 (using PCI_CLK) and the PCI devices. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 11. Power Management > Overview 11. 93 Power Management Topics discussed include the following: 11.1 * "Overview" * "Power Management Capabilities" * "Power States" Overview The PEB383 provides basic power management support to its PCI bus and PCIe link. PCI power management states are mapped to specific PCIe link states. The bridge also supports Active State Power Management (ASPM), where the device enters into power saving state and initiates exit when needed. The PEB383 transmits power management messages during power management events. The Power Management (PM) module connects with the Physical Layer sub block to transition the Link State into low-power states when it receives a power state change request from a upstream component, or when an internal event forces the link state entry into low-power states in ASPM. PCIe link states are not visible directly to legacy bus driver software but are derived from the Power Management state of the components residing on those links. Power saving increases as Link state transitions from L0 through L3. 11.1.1 Features * Compliant with the PCI Bus Power Management Interface Specification (Revision 1.2) * Supports the following PCI device power states: -- D0 -- D3 hot -- D3 cold * Supports the following PCIe link power states: -- L0 -- L0s -- L1 -- L2/3 ready -- L3 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 94 11.1.2 11.2 11. Power Management > Power Management Capabilities Unsupported Features * PCI power states: D1 and D2 * PCIe link states: L2 * PCI bus states * WAKE# to beacon * PME in D3cold * Auxiliary power Power Management Capabilities The PEB383 supports software driven D-state power management: D0, D3Hot, and D3Cold. It supports L0s state in Active state power management method; L0s entry should be enabled through configuration of ASPM_CTL in the "PCIe Link Control Register". It also support L1, L2/L3 Ready and L3 PCIe power saving link states. Since the PEB383 does not support Auxiliary power it does not support power management events in the D3Cold state. The PEB383 enters into link power management states in response to the software driven D-state. The power management related registers reside at "PCI Power Management Capability Register" and "PCI Power Management Control and Status Register". 11.3 Power States This section discusses the PEB383's support of PCI and PCIe power states. 11.3.1 ASPM Active state power management, or ASPM, enables power savings even when the PEB383 is in the D0 state. After a period of idle link time, the ASPM function engages the physical layer protocol that places idle link in the power saving state. Once in the lower power state, transitions to the fully operative L0 state can be triggered by transactions from the PCIe or PCI Interface. The L0/L1 entry capability of the PEB383 is determined by the Root Complex reading the PEB383 configuration space "PCIe Link Capabilities Register". The Root Complex can enable entry into this state through configuration. L0s is not applicable to the PCI-PM compatible power management. All main power supplies, component reference clocks, and component internal PLLs, must be active at all time during L0s. DLLP and TLP transmission through the PEB383 in L0s is prohibited. The PEB383's PCIe Transmit module can be in L0s state while the Transmit module of the other device on the PCIe link is in the L0 state. In the PEB383, L0s entry is disabled by default. When L0s entry is enabled and the PEB383 Transmit module is in idle state for more then 6 micro seconds - that is, there is no transmission of packets for 6 micro seconds - the PEB383 Transmit module enters the L0s state. The bridge initiates exit from the L0s state when it has pending TLPs or DLLPs for transmission. The ASPM function of the PEB383 does support L1 entry. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 11. Power Management > Power States 11.3.2 95 L0 State This is the normal operational mode. 11.3.3 L0s State A low resume latency, energy-saving standby state. L0s support is required for ASPM. It is not applicable to PCI-PM compatible power management. 11.3.4 L1 State L1 is a high latency and low-power standby state. It is required for PCI-PM compatible power management. The PEB383 does support L1 entry in ASPM. The L1 may be entered whenever the bridge is programmed to a D3 state. L1 is also entered by ASPM when there is no pending packet to transmit for 10us. TLP and DLLP communication over the link is prohibited when the PEB383 is in the L1 state. L1 exit can be initiated by the PEB383 or an upstream device. 11.3.5 L2/L3 Ready The L2/L3 Ready state is a staging point for the L2 or L3 states. The process is initiated after the PM module software transitions the PEB383 into the D3 state and requests power management software to initiate the removal of power and clocks. After the PCIe link enters the L2/L3 Ready state the PEB383 is ready for power removal. TLP and DLLP communication over link cannot occur while the PEB383 is in this state. It is also possible to remove power without first placing the PEB383 in the D3Hot state. System software causes the root complex to broadcast the PME_Turn_Off message in preparation for removing the main power source, and the PEB383 responds in order to complete entry into the L2/L3 Ready state. 11.3.6 L3 State When the PEB383 is in L2/L3 Ready state, the removal of main power and clocks places the device into the L3 state. The PEB383 does not support auxiliary power, therefore L2 power management state is not supported. 11.3.7 LDn State This is a PCIe link down pseudo state prior to L0. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 96 11. Power Management > Power States 11.3.8 Link State Summary The link states are summarized in Table 28. Table 28: PCIe Link States Software directed PM L state Description L0 Fully active link L0s Standby state L1 Low-power standby L2/L3 ready L3 ASPM 100-MHz Reference Power internal PLL Yes (D0) Yes (D0) On On On No Yes (D0) On On On Yes (D3hot) Yes On On On Stagging point for power removal Yes No On On On Off N/A N/A Off Off Off The link state diagram is shown in Figure 28. Figure 28: PCIe Link Power Management States Link reinitialization through LTSSM Detect state Return to L0 through LTSSM L0s L0s L0 LDn L2/L3 Ready L3 Return tp L0 through LTSSM Recovery state L1 L2/L3 Ready Psudo-state to prepare component for loss of power and ref clock PEB383 User Manual July 25, 2011 LinkDown Transient pseudostate to get back to L0 entered through Fundament al Reset, HotReset, or Transmissio n by the upstream component This arc indicates the case where the platform does not use Vaux Integrated Device Technology, Inc. Confidential - NDA Required 11. Power Management > Power States 11.3.9 97 Device Power States The PEB383 supports the PCIe PCI-PM D0, D3Hot, and D3Cold (no Auxiliary power) device power management states. The bridge does not support the D1 and D2 power management states. 11.3.10 D0 State D0 is divided into two distinct sub states: the uninitialized sub-state and the active sub-state. When power is initially applied to the PEB383, it enters the D0_uninitialized state. The bridge enters the D0_active state when either of the following is set by system software: 11.3.11 * Memory space enable * I/O space enable * Bus Master enable D3Hot State A device that is in the D3Hot state must be able to respond to configuration accesses so that it can be moved to the D0_uninitialized state by software through configuration. Once in the D3Hot state, the device can later be transitioned into the D3Cold state by removing power from the device. D3Hot is a useful state for reducing power consumption by idle components in an otherwise running system. Once the PEB383 is programmed to the D3Hot state, it initiates L1 entry process. The NO_SOFT_RST bit in the "PCI Power Management Control and Status Register" is set to 1 in the PEB383 when software programs the bridge back to the D0 state. L1 exit can be initiated by the PEB383 or an upstream device. 11.3.12 D3Cold State The PEB383 transitions to the D3Cold state when its power is removed. Re-applying power causes the device to transition from the D3Cold state into the D0_uninitialized state. The D3Cold state assumes that all previous contexts are lost, so software must save the necessary context while the device is still in the D3Hot state. A power-on sequence with its associated cold reset transitions the PEB383 from the D3Cold state to the D0 uninitialized state. Software must perform a full initialization of the PEB383 in order to restore the function to its D0 active state. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 98 11.3.13 11. Power Management > Power States D State Transitions The device power state transitions are shown in Figure 29. Software is responsible for controlling the state diagram through PWR_ST in the "PCI Power Management Control and Status Register". Figure 29: D State Transitions Power on Reset D0 Uninitialized Power applied hot reset D0 Active D3cold D3hot 11.3.14 Power removed Power Management Event Power management events are generated by the PEB383 as a means of requesting a PM state change. The PEB383 sends a PM_PME message to the root complex during a power management event. The bridge does not support a wake-up function through Beacon and WAKE#. It does not support PME generation from the D3Cold state since the PEB383 does not support Auxiliary power. A PM_PME message are posted TLP packets that are always routed in the direction of the root complex. To send a PM_PME message on its upstream link, the PEB383 must transition the link to the L0 state if the link is not already in the L0 state. The PCI_PMEn pin is sampled every 100 microseconds for PM_PME message generation. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 11. Power Management > Power States 11.3.15 99 Power State Summary The state summary is shown in Table 29. Table 29: Power Management State Summary PEB383 State Link State Upstream State D0 L0 D0 Operational Fully operational D0 L0s D0 Operational PCIe link in standby D0 L1 D0 Operational PCIe Link in L1 D3hot L0 D3hot -D0 PME onlya PEB383 sending PME message when in D3hot or when injecting a PME_TO_Ack TLP when PEB383 transitions between L1 and L2/L3 ready. D3hot L1 D3hot -D0 PME only Power saving mode, or waiting to transition to L2/L3 ready D3hot L2/L3 ready D3hot -D0 Not operational Ready to remove power, will not respond to PME D3cold N/A D3cold -D0 N/A Power removed PCI Bus Description a. The PEB383 drives PCI_CLKO[4:0], does not assert PCI_RSTn, responds to PCI_PMEn, does not participate in bus transactions. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 100 11.4 11. Power Management > Power Saving Modes Power Saving Modes The PEB383 provides several low power modes of operation, as described in Table 30. Table 30: Power saving modes Input Conditions power saving activities Mode state ASPMa PCI_CLK[3:0] gate enableb traffic PCI_CLK[3:0] link state internal clock 1 DO X X active on L0 on 2 DO none X idle on L0 on 3 DO L0s X idle on L0s on 4 DO L1 X idle on L1 gated 5 D3_hot X no idle on L1 gated 6 D3_hot X yes idle gated L1 gated a. ASPM enabled via "ASPM_CTL" bit of "PCIe Link Control Register" b. PCI_CLK[3:0] gating enabled via "PCGE" bit "PCI Miscellaneous Clock Straps Register" Mode1 is fully operational, no power saving modes used. Mode2 has ASPM disabled, no power saving modes used. Mode3 Has ASPM L0s enabled, link power is saved. Mode4 has ASPM L1 enabled, additional link power is saved, and internal core logic clock is gated for additional power savings Mode5 is D3_hot, link is in L1, and internal clock is gated Mode6 is D3_hot, link in L1, internal clock is gated, and external PCI_CLK[3:0] is gated. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 101 12. Serial EEPROM Topics discussed include the following: 12.1 * "Overview" * "System Diagram" * "EEPROM Image" * "Functional Timing" Overview The PEB383 uses an internal serial EEPROM Controller to configure its configuration space register (CSR) block with the values stored in an external serial EEPROM. The Controller is compatible with EEPROM devices that use the Serial Peripheral Interface, such as the Atmel AT25010A, AT25020A, AT25040A, AT25080A, AT25160A, AT25320A, and AT25640A. The primary purpose of the EEPROM Controller is to modify some of the default values of the Read-only and Read/Write registers in the PEB383's CSR space (for more information, see "Register Descriptions"). After reset is de-asserted, the Controller initiates the read instructions to the external EEPROM and reads its contents. If an EEPROM is present the Controller writes its data into the PEB383's register space depending on the offset address provided in the EEPROM location. The EEPROM Controller can write data into an external EEPROM using the "EEPROM Control Register". It supports 9-bit and 16-bit addressing modes to read and write the external EEPROM. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 102 12.2 12. Serial EEPROM > System Diagram System Diagram Figure 30 shows the EEPROM Controller interfacing an external EEPROM to the PEB383 configuration space. Figure 30: EEPROM Interface PEB38x SR_CLK SR_CSn Configuration Space Register EEPROM Controller SR_DOUT EEPROM Device SR_DIN The PEB383 internal clock block generates an EEPROM clock of 7.8 MHz to supply to the external EEPROM. This clock is derived from the PCIe clock of frequency 125 MHz. The first two locations in the EEPROM - byte address 0x0000 and 0x0001 - contain the identification code. The next two locations contain the byte count, which indicates the number of bytes to be read from the EEPROM locations. After this, the next two locations of the EEPROM contain the CSR address, and the byte enables to indicate the valid byte locations to be loaded from the EEPROM. The next four locations after this contain the 4 bytes of data to be loaded into configuration space. Thereafter, the data structure is maintained in the EEPROM, per register, as 2 bytes of address and byte enables followed by 4 bytes of data. Therefore, the value in the third and fourth locations of the EEPROM, which is the byte count, should always be a multiple of 6 since 6 bytes of information (which includes address, byte enables, and data) is required to program one CSR register. Table 31 describes the data structure to be maintained by the external EEPROM. If the byte count value is programmed to 0 or greater and is a non-multiple of 6, then the EEPROM Controller rounds up this value to the next nearest value (which is a multiple of 6). The EEPROM Controller then proceeds to program the CSR as per this new byte count value. After the reset is de-asserted, the EEPROM Controller initiates a read of the first two locations of the external EEPROM to get the identification code. The identification code must be 0x28AB. Initially, it initiates a read transaction with 9-bit address, and reads the identification code. If the identification code results in a wrong value - that is, other than above value - then it initiates another read transaction with a 16-bit address to read the identification code. If the value read is other than the identification code, then it determines that an EEPROM is not present. It then sets this information in ADD_WIDTH of the "EEPROM Control Register", and aborts the programming of the configuration space by signaling the completion of the loading. If a blank EEPROM is used, the ADD_WIDTH bits in the "EEPROM Control Register" must be written with the correct bit pattern for the type of EEPROM before accessing the EEPROM. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 12. Serial EEPROM > System Diagram 103 If the identification code obtained through the first read is a correct value, then the EEPROM Controller determines that the EEPROM supports 9-bit addressing. The Controller then initiates one more read transaction to read the third and fourth locations of the EEPROM, where the value of the total number of bytes to be read (byte count) is located. Thereafter, it continuously reads all the bytes and programs the CSR registers depending on the address provided in the EEPROM location. The PEB383 has now determined the EEPROM Controller supports 9-bit addressing (it uses this mode for writes as well). If the identification code read after first read is a wrong value, and after the second read is a correct value, then it initiates one more read transaction to get the value of total number of bytes to be read (byte count). Thereafter it reads all the bytes from the EEPROM locations and programs the CSR registers according to the addresses given in the EEPROM locations. The PEB383 has now determined the EEPROM Controller supports 16-bit addressing (it uses this mode for writes as well). In both cases just discussed, the Controller updates the "EEPROM Control Register" with the address width of the EEPROM detected and signals the completion of the loading to the CSR block. During the process of programming the CSR by the EEPROM, any configuration transactions on the PCIe Interface that are initiated by the root complex are completed with CRRS completions (Configuration Request Retry Status completions). All other transactions are completed with UR completions. The root complex can access the external EEPROM through the EEPROM Controller; that is, EEPROM locations can be written and read by the root complex. The root complex initiates configuration write transactions to program the "EEPROM Control Register" using a write command. The EEPROM Controller initiates a WREN (Write Enable) instruction first, followed by a WRITE instruction. The Controller sets the BUSY bit in the register when it initiates a write instruction to the external EEPROM. It obtains the status of the write cycle from the external EEPROM by initiating RDSR (Read Status Register) instruction to it after every write instruction. If the external EEPROM finishes the write operation it would return the status in the form of BUSY bit as 1'b0. This information from the external EEPROM is updated in the "EEPROM Control Register"; that is, this bit would reset once the external EEPROM completes the WRITE operation. Therefore, software should poll this bit to get BUSY status before initiating another transaction to the serial EEPROM. As a result, this bit should indicate 1'b0 before initiating any other instruction to the external EEPROM. Software should ensure that the CMD_VLD bit in this register is high in order to trigger the EEPROM Controller to initiate Read/Write instructions. If a configuration write is initiated to overwrite the command in the "EEPROM Control Register" during the busy state, the EEPROM Controller will ignore the command. To read the EEPROM location, the root complex initiates a configuration write transaction to the "EEPROM Control Register" with the READ command; this prompts the EEPROM to initiate a READ instruction to the external EEPROM. The EEPROM Controller does not support the WRDI (Write Disable) and WRSR (Write Status Register) instructions. When the PCIe reset signal is asserted, all the CSR register values are set to their default values. When this reset is de-asserted, the EEPROM Controller starts the EEPROM loading process in order to re-program its CSR registers. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 104 12. Serial EEPROM > EEPROM Image 12.3 EEPROM Image The data structure to be maintained in the external EEPROM for successful operation of the EEPROM Controller is shown in Table 31. Note that the m and n in the Description column indicate the register number: they can point to any register in the entire CSR space. The byte enable[3:0] is active high; a 1 enables the byte. For example, a byte enable of 0b0001 would enable the low order byte, bits[7:0] of the DWORD. Table 31: EEPROM Image Serial EEPROM Location Description Value 0000h Identification code [7:0] 0xAB 0001h Identification code [15:8] 0x28 0002h Byte count [7:0] Any value 0003h Byte count [15:8] Any value, but total value of Byte count[15:0] should be multiple of 6 0004h CSR register m Address [7:0] Any number 0005h CSR register m byte enable [3:0], CSR register m Address [11:8] Any number 0006h CSR register m Data [7:0] Any number 0007h CSR register m Data [15:8] Any number 0008h CSR register m Data [23:16] Any number 0009h CSR register m Data [31:24] Any number 000Ah CSR register n Address [7:0] Any number 000Bh CSR register n byte enable [3:0], CSR register n Address [11:8] Any number 000Ch CSR register n Data [7:0] Any number 000Dh CSR register n Data [15:8] Any number 000Eh CSR register n Data [23:16] Any number 000Fh CSR register n Data [31:24] Any number ... ... ... FFFAh CSR register r Address [7:0] Any number FFFBh CSR register r byte enable [3:0], CSR register r Address [11:8] Any number FFFCh CSR register r Data [7:0] Any number FFFDh CSR register r Data [15:8] Any number PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 12. Serial EEPROM > Functional Timing 105 Table 31: EEPROM Image (Continued) Serial EEPROM Location Description Value FFFEh CSR register r Data [23:16] Any number FFFFh CSR register r Data [31:24] Any number 12.4 Functional Timing The EEPROM Controller outputs the data on the SR_DIN signal on every negative edge of the SR_CLK clock. The external EEPROM samples this output on every positive edge of SR_CLK. Similarly, the external EEPROM outputs the data on SR_DOUT on every negative edge of SR_CLK, while the Controller samples it on every positive edge of the clock. For read or write instructions in support of addresses greater than 0xFFH (in 9-bit addressing mode), the 8th bit of the address is transmitted in place of the third bit of the opcode of that instruction; thus, the address phase consists of 8 clock cycles. The timing for different instructions of the EEPROM Controller are provided in the following figures. Figure 31: 9-bit EEPROM Read Timing SR_CSn SR_CLK SR_DIN High-Z SR_DOUT Opcode Integrated Device Technology, Inc. Confidential - NDA Required Address Data PEB383 User Manual July 25, 2011 106 12. Serial EEPROM > Functional Timing Figure 32: 16-bit EEPROM Read Timing SR_CSn SR_CLK SR_DIN High - Z SR_DOUT Opcode Address Data Figure 33: 9-bit EEPROM Write Timing SR_CSn SR_CLK SR_DIN SR_DOUT High-Z Opcode PEB383 User Manual July 25, 2011 Address Data Integrated Device Technology, Inc. Confidential - NDA Required 12. Serial EEPROM > Functional Timing 107 Figure 34: 16-bit EEPROM Write Timing SR_CSn SR_CLK SR_DIN SR_DOUT High-Z Opcode Address Data Figure 35: EEPROM WREN Instruction Timing SR_CSn SR_CLK SR_DIN High-Z SR_DOUT Figure 36: EEPROM RDSR Instruction Timing SR_CSn SR_CLK SR_DIN High-Z SR_DOUT Opcode Data Note: RDSR means Read Status Register Instruction. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 108 PEB383 User Manual July 25, 2011 12. Serial EEPROM > Functional Timing Integrated Device Technology, Inc. Confidential - NDA Required 109 13. JTAG Topics discussed include the following: 13.1 * "Overview" * "TAP Controller Initialization" * "Instruction Register" * "Bypass Register" * "JTAG Device ID Register" * "JTAG Register Access" * "Dedicated Test Pins" * "Accessing SerDes TAP Controller" Overview The JTAG Interface is compliant with IEEE 1149.6 Boundary Scan Testing of Advanced Digital Networks, as well as IEEE 1149.1 Standard Test Access Port and Boundary Scan Architecture standards. There are five standard pins associated with the interface (JTAG_TMS, JTAG_TCK, JTAG_TDI, JTAG_TDO, and JTAG_TRSTn) that allow full control of the internal TAP (Test Access Port) controller. The JTAG Interface has the following features: * Contains a 5-pin Test Access Port (TAP) controller, with support for the following registers -- Instruction register (IR) -- Boundary scan register -- Bypass register -- Device ID register -- User test data register (DR) * Supports debug access of the PEB383's configuration registers -- During mission mode or not -- Bus arbitration with configuration cycles * Supports the following instruction opcodes -- Sample/Preload -- Extest -- EXTEST_PULSE (1149.6) -- EXTEST_TRAIN (1149.6) Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 110 13. JTAG > TAP Controller Initialization -- Bypass -- IDCODE -- Clamp -- User data select 13.2 TAP Controller Initialization After power-up of the PEB383, the TAP controller must be put into its test-logic-reset state to disable the JTAG logic and allow the bridge to function normally. This can be completed by driving the JTAG_TMS signal high and pulsing the JTAG_TCK signal five or more times, or by asserting the JTAG_TRSTn signal. 13.3 Instruction Register The PEB383 uses an Instruction register to control the operation of the JTAG logic. Bit combinations that are not equivalent to any instruction are equivalent to the BYPASS instruction. 13.4 Bypass Register This register is a 1-bit shift register that provides a single bit scan path between the JTAG_TDI input and the JTAG_TDO output. This abbreviated scan path is selected by the BYPASS instruction code, and is used to shorten the overall scan ring length during board-level testing when the PEB383 is not involved. 13.5 JTAG Device ID Register The JTAG device identification number for the PEB383 is as follows: * Version [31:28] - 0000 * Part number [27:12] - 0000_0011_1000_0011 * Manufacturer identity [11:1] - 000_1011_0011 * Mandatary LSB [0] - 1 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 13. JTAG > JTAG Register Access 13.6 111 JTAG Register Access The JTAG Interface can be used for debug purposes in order to perform read and write access of the PEB383's configuration registers. It also can perform read accesses on the performance registers without impacting active transactions. A user-defined command enables the read and write capabilities of the JTAG Interface. This is in the User Test Data Register (DR) set in the PEB383. Ti 13.6.1 For more information about the test data register, see Test Technology Standards Committee: IEEE Computer Society, IEEE Standard Test Access Port and Boundary-Scan Architecture, IEEE Std. 1149.1-1990, 1149.1a-1993, October, 1993., Section 8.3. p Register Access from JTAG The format for access the PEB383's DR register using JTAG is shown in the following figures. The same DR register is used for read and write access. Figure 37: Read/Write Access from JTAG -- Serial Data In JTAG_TDI Reserved [66:62] Address [9:0] R/W Data [31:0] Error Ready Rsvd [16:0] JTAG_TDO Figure 38: Observe from JTAG -- Serial Data Out JTAG_TDI 13.6.2 Reserved [66:34] Data [31:0] Error Ready JTAG_TDO Write Access to Registers from the JTAG Interface Complete the following steps to write to a device register through the JTAG Interface: 1. Move to the TAP controller "Shift-IR" state and program the instruction register with the instruction of the DR by writing into Instruction Register bits with 0xFFFF_FFFF_FFFF_FFFD. 2. Move to the "Shift-DR" state and shift the data[31:0], R/W = 1 and the address[9:0] serially in the TDI pin. To prevent corruption of unused bits, the full DR bits have to be written as follows (see also Figure 37): * DR[66:62] = 5b'0 * DR[61:52] = ADDR[9:0]1 * DR[51] = R/W * DR[50:19] = DATA[31:0] * DR[18:17] = 2b'0 1. Note that the address here is the DWORD address, not the byte address. Take the byte address and remove the 2 LSBs, >>2. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 112 13. JTAG > JTAG Register Access * DR[16:0] = 17b'0 Note: Bit 0 is shifted first, and bit 66 is shifted last. 3. Move to the "Run-test idle" state and loop in this state for a minimum of 20 TCK cycles. 4. Move to the "Shift-DR" state again and shift the Ready bit and Error bit through JTAG_TDO (see Figure 38). * First bit shifted out is the Ready bit. * Second bit shifted out is the Error bit. * Verify that the Ready bit is at logic high and the Error bit is at logic low. Note: To prevent corruption, the DR register must be loaded as described in step 2 while shifting out through JTAG_TDO for observation. 5. Go back to step 2 to perform another write. 13.6.3 Read Access to Registers from JTAG Interface Complete the following steps to read a device register through the JTAG Interface: 1. Move to the TAP controller "Shift-IR" state and program the instruction register with IRAC instruction by writing into Instruction Register bits with 0xFFFF_FFFF_FFFF_FFFD. This step is optional if the instruction register is already programmed during the write cycle. 2. Move to the "Shift-DR" state and shift the R/W = 0 and the address[9:0] serially in the TDI pin. To prevent corruption of unused bits, the full DR bits have to be written as follows (see also Figure 37): * DR[66:62] = 5b'0 * DR[61:52] = ADDR[9:0]1 * DR[51] = R/W * DR[50:19] = DATA[31:0] * DR[18:17] = 2b'0 * DR[16:0] = 17b'0 Note: Bit 0 is shifted first, and bit 66 is shifted last. 3. Move to the "Run-test idle" state and loop in this state for a minimum of 20 TCK cycles. 4. Move to the "Shift-DR" state again and shift the Ready bit, Error bit, and data[31:0] out through JTAG_TDO (see Figure 38). * First bit shifted out is the Ready bit. * Second bit shifted out is the Error bit. 1. Note that the address here is the DWORD address, not the byte address. Take the byte address and remove the 2 LSBs, >>2. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 13. JTAG > Dedicated Test Pins * 113 Verify that the Ready bit is at logic high and the Error bit is at logic low. Note: To prevent corruption, the DR register must be loaded as described in step 2 while shifting out through JTAG_TDO for observation. 5. Go back to step 2 to perform another read. 13.7 Dedicated Test Pins The following pins are dedicated to test: 13.8 * TEST_ON (Scan shift enable; this signal is tied low for normal operation) * TEST_BCE (Boundary scan compliance enable; this signal is tied low for normal operation) - This pin configures the SerDes built-in TAP controller and the PEB383 top-level TAP controller into a daisy chain. TEST_BCE uses a pad with a built-in pull-up. When TEST_ BCE is low, the bridge's JTAG pins access only the top-level TAP controller. When TEST_BCE is high, the daisy chain mode is selected (see Figure 39). Accessing SerDes TAP Controller The SerDes has an internal TAP controller that uses IDCODE instruction for the IP identification and CRSEL instruction for writing and reading registers in the IP. To access the SerDes TAP controller through JTAG pins, JTAG_TDI pin of SerDes is connected to the JTAG_TDI pin and the TDO of SerDes is connected to the JTAG_TDI of the PEB383's top-level TAP controller through a mux with JTAG_BCE pin as selector. Figure 39 shows the connections between the bridge's TAP controller and the SerDes TAP controller. Figure 39: PCIe SerDes Connections BCE 0 Z tdo tdi TDO 1 LV Tap controller TDI tdi tdo Serdes TAP controller Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 114 PEB383 User Manual July 25, 2011 13. JTAG > Accessing SerDes TAP Controller Integrated Device Technology, Inc. Confidential - NDA Required 115 14. Register Descriptions Topics discussed include the following: 14.1 * "Overview" * "PCI Configuration Space" * "Register Map" * "Upstream Non-transparent Address Remapping Registers" * "PCI Capability Registers" * "PCIe Capability Registers" * "Downstream Non-transparent Address Remapping Registers" * "Advanced Error Reporting Capability Registers" * "PCIe and SerDes Control and Status Registers" Overview The following terms describe the PEB383's register attributes: * R - Read only. * RWL - Read and write when unlocked. Values can always be modified via serial EEPROM or JTAG. Values can be written from TLPs when the UNLOCK bit is high. * HwInitWO - Hardware Initialized Write Once. The field may be written once, EEPROM or CFG, and then it becomes read only. Hot reset does not reset read only attribute. Cold or warm reset does reset read only attribute. All HwInitWO bits in the same 32 bit register must be written at the same time. * R/W - Read/write. * R/W1C - Read/Write 1 to clear; writing a 0 has no effect. These register bits are only set by the PEB383. * RW1CS - Sticky Read Only, Write-1-to-Clear - Not initialized or modified by hot reset. * R/WS Sticky Read / Write - Not initialized or modified by hot reset. * R/W1S - Read 0/Write 1 to set (writing a 1 triggers an event such as an interrupt). These register bits are only cleared by the PEB383. * RC - Clear after read. * RS - Sticky Read Only. Not initialized or modified by hot reset. * Reserved - Do not write any value other than 0 to this field. Reads return 0. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 116 14. Register Descriptions > Overview * ReservedP - The value in this field must be preserved during a write access. * Undefined - This value is undefined after reset because it is based on a bit setting, a pin setting, or a power-up setting. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Configuration Space 14.2 117 PCI Configuration Space The PEB383 device uses a standard PCI Type 1 configuration header. Table 32 shows the PCI 3.0 compatible Type 1 configuration space with constant values shown populated in the appropriate header fields. The PCIe 1.1 compatible capabilities options are located later in the configuration space starting at offset 0xC0 (see Table 35). Table 32: PCI Type 1 Configuration Header 31 0 Offset Page Device ID Vendor ID 0x000 123 Status Command 0x004 124 Revision ID 0x008 128 CacheLine Size 0x00C 129 Class Code BIST Header Type Master Latency TImer Base Address Register 0(Reserved 0x00000000) 0x010 Base Address Register 1 (Reserved 0x00000000) 0x014 - 0x018 130 0x01C 131 Secondary Latency Timer Subordinate Bus Number Secondary Status Secondary Bus Primary Bus Number Number I/O Limit I/O Base Memory Status Memory Base 0x020 134 Prefetchable Memory Limit Prefetchable Memory Base 0x024 135 Prefetchable Base Upper 32 Bits 0x028 136 Prefetchable Limit Upper 32 Bits 0x02C 136 0x030 137 0x034 138 Expansion ROM Base Address (Reserved 0x00000000) 0x038 - Bridge Control 0x03C 139 Offset Page 0x060 160 0x064 161 I/O Limit Upper 16 Bits I/O Base Upper 16 Bits Reserved Capability Pointer Interrupt Pin Interrupt Line The SSID capability registers are shown below. Table 33: SSID Capability Registers 31 0 Reserved SSID Integrated Device Technology, Inc. Confidential - NDA Required Next Pointer Capability ID SSVID PEB383 User Manual July 25, 2011 118 14. Register Descriptions > PCI Configuration Space The power management capability registers are shown below. Table 34: Power Management Capability Registers 31 0 Offset Page 0x0A0 162 0x0A4 164 Offset Page 0x0C0 173 0x0C4 175 0x0C8 177 0x0CC 180 0x0D0 182 Offset Page PCIe Enhanced Capability Header 0x100 188 Uncorrectable Error Status Register 0x104 189 Uncorrectable Error Mask Register 0x108 190 Uncorrectable Error Severity Register 0x10C 191 Correctable Error Status Register 0x110 192 Correctable Error Mask Register 0x114 193 Advanced Error Capabilities and Control Register 0x118 194 Power Management Capabilities Data (Reserved 0x00) Next Pointer Capability ID PMCSR bridge support extensions (Reserved 0x00) The PCIe capability registers are shown below. Table 35: PCIe Capability Registers 31 0 PCIe Capability Register Next Pointer Capability ID Device Capability Device Status Device Control Link Capability Link Status Link Control The advanced error reporting capability register is shown below. Table 36: Advanced Error Reporting Capability Registers 31 PEB383 User Manual July 25, 2011 0 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Configuration Space 119 Table 36: Advanced Error Reporting Capability Registers (Continued) 31 0 Offset Page 0x11C 195 0x120 195 0x124 196 0x128 196 Secondary Uncorrectable Error Status Register 0x12C 197 Secondary Uncorrectable Error Mask Register 0x130 198 Secondary Uncorrectable Error Severity Register 0x134 199 Secondary Error Capabilities and Control Register 0x138 200 0x13C 200 0x140 201 0x144 202 0x148 202 Header Log Register Secondary Header Log Register Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 120 14. Register Descriptions > Register Map 14.3 Register Map The following table lists the register map for the PEB383. Table 37: Register Map Offset Name See 0x000 PCI_ID "PCI Identification Register" 0x004 PCI_CSR "PCI Control and Status Register" 0x008 PCI_CLASS "PCI Class Register" 0x00C PCI_MISC0 "PCI Miscellaneous 0 Register" 0x010 Reserved 0x014 Reserved 0x018 PCI_BUSNUM "PCI Bus Number Register" 0x01C PCI_MISC1 "PCI Secondary Status and I/O Limit and Base Register" 0x020 PCI_MIO_BL "PCI Memory Base and Limit Register" 0x024 PCI_PFM_BL "PCI PFM Base and Limit Register" 0x028 PCI_PFM_B_UPPER "PCI PFM Base Upper 32 Address Register" 0x02C PCI_PFM_L_UPPER "PCI PFM Limit Upper 32 Address Register" 0x030 PCI_IO_UPPER "PCI I/O Address Upper 16 Register" 0x034 PCI_CAP "PCI Capability Pointer Register" 0x038 Reserved 0x03C PCI_MISC2 "PCI Bridge Control and Interrupt Register" 0x040 SEC_RETRY_CNT "Secondary Retry Count Register" 0x044 PCI_MISC_CSR "PCI Miscellaneous Control and Status Register" 0x048 PCI_MISC_CLK_STRAPS "PCI Miscellaneous Clock Straps Register" 0x04C UPST_PWR_THRES "Upstream Posted Write Threshold Register" 0x050 CPL_TIMEOUT "Completion Timeout Register" 0x054 CLKOUT_ENB_FUNC_DBG "Clock Out Enable Function and Debug Register" 0x058 SERRDIS_OPQEN_DTC "SERRDIS_OPQEN_DTC Register" 0x05C Reserved 0x060 SSID_CAP "SSID Capability Register" 0x064 SSID_ID "SSID ID Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 121 Table 37: Register Map (Continued) Offset Name See 0x068 NTMA_CTRL "NTMA Control Register" 0x06C NTMA_PRI_BASEUPPER "NTMA Primary Upper Base Register" 0x070 NTMA_SEC_LBASE "NTMA Secondary Lower Base Register" 0x074 NTMA_SEC_BASEUPPER "NTMA Secondary Upper Base Register" 0x078 NTMA_SEC_LIMIT "NTMA Secondary Lower Limit Register" 0x07C NTMA_SEC_UPPER_LIMIT "NTMA Secondary Upper Limit Register" 0x0A0 PCI_PMC "PCI Power Management Capability Register" 0x0A4 PCI_PMCS "PCI Power Management Control and Status Register" 0x0A8 Reserved 0x0AC EE_CTRL "EEPROM Control Register" 0x0B0 SBUS_DEVMSK "Secondary Bus Device Mask Register" 0x0B4 STC_PERIOD "Short-term Caching Period Register" 0x0B8 RTIMER_STATUS "Retry Timer Status Register" 0x0BC PREF_CTRL "Prefetch Control Register" 0x0C0 PCIE_CAP "PCIe Capabilities Register" 0x0C4 PCIE_DEV_CAP "PCIe Device Capabilities Register" 0x0C8 PCIE_DEV_CSR "PCIe Device Control and Status Register" 0x0CC PCIE_LNK_CAP "PCIe Link Capabilities Register" 0x0D0 PCIE_LNK_CSR "PCIe Link Control Register" 0x0E4 AR_SBNPCTRL "Secondary Bus Non-prefetchable Address Remap Control Register" 0x0E8 AR_SBNPBASE "Secondary Bus Non-prefetchable Upper Base Address Remap Register" 0x0EC AR_SBPPRECTRL "Secondary Bus Prefetchable Address Remap Control Register" 0x0F0 AR_SBPREBASEUPPER "Secondary Bus Prefetchable Upper Base Address Remap Register" 0x0F4 AR_PBNPBASEUPPER "Primary Bus Non-prefetchable Upper Base Address Remap Register" 0x0F8 AR_PBNPLIMITUPPER "Primary Bus Non-prefetchable Upper Limit Remap Register" 0x0FC Reserved 0x100 PCIE_AERR_CAP "PCIe Advanced Error Reporting Capability Register" 0x104 PCIE_UERR_STAT "PCIe Uncorrectable Error Status Register" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 122 14. Register Descriptions > Register Map Table 37: Register Map (Continued) Offset Name See 0x108 PCIE_UERR_MASK "PCIe Uncorrectable Error Mask Register" 0x10C PCIE_UERR_SEV "PCIe Uncorrectable Error Severity Register" 0x110 PCIE_COR_ERR "PCIe Correctable Error Status Register" 0x114 PCIE_COR_MASK "PCIe Correctable Error Mask Register" 0x118 PCIE_AERR_CAP_CTRL "PCIe Advanced Error Capabilities and Control Register" 0x11C PCIE_HL1 "PCIe Header Log 1 Register" 0x120 PCIE_HL2 "PCIe Header Log 2 Register" 0x124 PCIE_HL3 "PCIe Header Log 3 Register" 0x128 PCIE_HL4 "PCIe Header Log 4 Register" 0x12C PCIE_SERR_STAT "PCIe Secondary Uncorrectable Error Status Register" 0x130 PCIE_SERR_MASK "PCIe Secondary Uncorrectable Error Mask Register" 0x134 PCIE_SERR_SEV "PCIe Secondary Uncorrectable Error Severity Register" 0x138 PCIE_ECAP_CTRL "PCIe Secondary Error Capabilities and Control Register" 0x13C PCIE_SEC_HL1 "PCIe Secondary Header Log 1 Register" 0x140 PCIE_SEC_HL2 "PCIe Secondary Header Log 2 Register" 0x144 PCIE_SEC_HL3 "PCIe Secondary Header Log 3 Register" 0x148 PCIE_SEC_HL4 "PCIe Secondary Header Log 4 Register" 0x14C-204 Reserved 0x208 REPLAY_LATENCY "Replay Latency Register" 0x20C ACKNAK_UPD_LAT "ACK/NACK Update Latency Register" 0x210 N_FTS "N_FTS Register" PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.1 123 PCI Identification Register This register contains device and vendor identifiers. Register name: PCI_ID Register offset: 0x000 Reset value: 0x8113_10E3 Bits 7 6 5 4 3 31:24 DID 23:16 DID 15:08 VID 07:00 VID Bits Name 31:16 DID 2 Description Device ID 1 0 Type Reset value RWL 0x8113 RWL 0x10E3 This field indicates the silicon device identification number. 15:0 VID Vendor ID This field indicates the silicon vendor identification number. By default, the PEB383 device reports a value of 0x10E3 indicating the vendor as IDT (formerly Tundra). Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 124 14. Register Descriptions > Register Map 14.3.2 PCI Control and Status Register This register defines configurable parameters for how devices interact with the PCI bus, and indicates status information for PCI bus events. Register name: PCI_CSR Register offset: 0x004 Reset value: 0x_0010_0000 Bits 7 6 5 4 3 31:24 D_PE S_SERR R_MA R_TA S_TA 23:16 TFBBC Reserved DEV66 CAP_L INT_STAT 15:08 07:00 Reserved WAIT Bits Name 31 D_PE PERESP VGAPS MWI_EN 2 1 DEVSEL 0 MDP_D Reserved INT_DIS MFBBC SERR_EN BM MS IOS SC Description Detected Parity Error Type Reset value R/W1C 0 R/W1C 0 R/W1C 0 This bit is set by the bridge whenever it receives a poisoned TLP or a TLP with bad ECRC (Read Completion or Write Request) on the PCIe Interface, regardless of the state the Parity Error Response bit in the Command register. 0 = Data poisoning and bad ECRC not detected by the bridge on its PCIe Interface 1 = Data poisoning or bad ECRC detected by the bridge on its PCIe Interface 30 S_SERR Signaled System Error This bit is set when the bridge sends an ERR_FATAL or ERR_NONFATAL message to the Root Complex and the SERR# Enable bit is set in the Command register. 0 = Neither ERR_FATAL nor ERR_NONFATAL transmitted on the PCIe Interface 1 = ERR_FATAL or ERR_NONFATAL transmitted on the PCIe Interface 29 R_MA Received Master-Abort This bit is set when the bridge receives a Completion with Unsupported Request Completion Status on its PCIe Interface. 0 = Unsupported Request Completion Status not received on the PCIe Interface 1 = Unsupported Request Completion Status received on the PCIe Interface PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 125 (Continued) Bits Name 28 R_TA Description Type Reset value R/W1C 0 R/W1C 0 R 00 R/W1C 0 R 0 Status Reserved 1. It always reads 0. R 0 66-MHz Capable R 0 R 1 R 0 R 0x0 Received Target-Abort This bit is set when the bridge receives a Completion with Completer Abort Completion Status on its PCIe Interface. 0 = Completer Abort Completion Status not received on the PCIe Interface 1 = Completer Abort Completion Status received on the PCIe Interface 27 S_TA Signaled Target-Abort This bit is set when the bridge generates a Completion with Completer Abort Completion Status in response to a request received on its PCIe Interface. 0 = Completer Abort Completion not transmitted on the PCIe Interface 1 = Completer Abort Completion transmitted on the PCIe Interface 26:25 DEVSEL DEVSEL# Timing This field is not applicable for PCIe. It always reads 0. 24 MDP_D Master Data Parity Error 0 = No uncorrectable data error detected on the PCIe Interface 1 = Uncorrectable data error detected on the PCIe Interface This field is set by the PEB383 if its Parity Error Response Enable bit is set and either of the following conditions occurs: * The PEB383 receives a Completion marked poisoned on the PCIe Interface. * The PEB383 poisons a write request on the PCIe Interface Note: If the Parity Error Response Enable bit is cleared, this bit is never set. 23 TFBBC Fast Back-to-Back Capable This field is not applicable for PCIe. It always reads 0. 22 Reserved 21 DEV66 This field is not applicable for PCIe. It always reads 0. 20 CAP_L Capabilities List 1 = Capabilities list is supported 19 INT_STAT Interrupt Status The PEB383 does not generate internal interrupts. 18:11 Reserved Reserved Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 126 14. Register Descriptions > Register Map (Continued) Bits Name 10 INT_DIS Description Interrupt Disable Type Reset value R 0 R 0 R/W 0 R 0 R/W 0 R 0 R/W 0 R 0 R/W 0 The PEB383 does not generate internal interrupts. 09 MFBBC Fast Back-to-Back Enable This field does not apply for PCIe bridges. It always reads 0. 08 SERR_EN SERR# Enable This bit enables reporting of non-fatal and fatal errors to the Root Complex. In addition, this bit enables transmission by the PCIe Interface of ERR_NONFATAL and ERR_FATAL error messages on behalf of SERR# assertions detected on the PCI Interface. Note that errors are reported if enabled either through this bit or through the PCIe specific bits in the Device Control register. 0 = Disable the reporting of bridge non-fatal errors and fatal errors to the Root Complex. 1 = Enable the reporting of bridge non-fatal errors and fatal errors to the Root Complex. 07 WAIT IDSEL Stepping / Wait Cycle Control This field does not apply for PCIe bridges. It always reads 0. 06 PERESP Parity Error Response Enable This bit controls the PEB383's setting of the Master Data Parity Error bit in the Status register in response to a received poisoned TLP from PCIe. 0 = Disable the setting of the Master Data Parity Error bit. 1 = Enable the setting of the Master Data Parity Error bit. 05 VGAPS VGA Palette Snoop This field does not apply for PCIe bridges. It always reads 0. 04 MWI_EN Memory Write Invalidate Enable This bit controls the PEB383's ability to translate PCIe Memory Write Requests into PCI Memory Write and Invalidate transactions. 0 = Do not translate Memory Write requests into PCI Memory Write and Invalidate transactions. 1 = Promote Memory Write requests to PCI Memory Write and Invalidate transactions. 03 SC Special Cycles This field does not apply for PCIe bridges. It always reads 0. 02 BM Bus Master Enable This field allows the PEB383 to perform bus-mastered transactions on the PCIe link. The host or software driver must ensure this bit is set to 1 for correct NTMA operation. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 127 (Continued) Bits Name 01 MS Description Memory Space Enable Type Reset value R/W 0 R/W 0 This bit controls the PEB383's response as a target to memory accesses on the PCIe Interface that address a device that resides behind the bridge in both the non-prefetchable and prefetchable memory ranges, or targets a memory-mapped location within the bridge itself. 0 = Respond to all Memory Requests on the PCIe Interface as Unsupported Request Received. Forward all memory requests from the PCI Interface to the PCIe Interface. 1 = Enable forwarding of memory transactions to the PCI Interface and any internal function. 00 IOS I/O Space Enable This bit controls the PEB383's response as a target to I/O transactions on the PCIe Interface that address a device that resides behind the bridge. 0 = Respond to all I/O Requests on the PCIe Interface with an Unsupported Request Completion. 1 = Enable forwarding of I/O Requests to the PCI Interface. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 128 14.3.3 14. Register Descriptions > Register Map PCI Class Register This register indicates the PCI classification of the PEB383. Register name: PCI_CLASS Register offset: 0x008 Reset value: 0x0604_0001 Bits 7 6 5 4 3 31:24 BASE 23:16 SUB 15:08 PROG 07:00 RID Bits Name 31:24 BASE 2 Description Base Class 1 0 Type Reset value R 0x06 R 0x04 R 0x00 RWL 0x01 This field indicates the device is a bridge. 23:16 SUB Sub Class This field indicates the device is a PCI-to-PCI bridge. 15:08 PROG Program Interface This field reads 0 when the LEGACY bit is clear (see "PCI Miscellaneous Clock Straps Register"), and reads 0x1 when the legacy bit is set. When set to 0x1, it indicates to software that a subtractive decode bridge is present. For more information about Legacy mode, see "Legacy Mode". 07:00 RID Revision ID This field indicates the hardware silicon revision identifier. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.4 129 PCI Miscellaneous 0 Register This register controls miscellaneous PCI functions, such as the latency timer value and cacheline size. Register name: PCI_MISC0 Register offset: 0x00C Reset value: 0x0001_0000 Bits 7 6 5 31:24 BISTC SBIST 4 3 Reserved H_TYPE 15:08 Reserved 07:00 CLINE Name 31 BISTC 1 0 CCODE 23:16 Bits 2 Description Type Reset value R 0 R 0 Reserved R 0 Completion Code; R 0 R 0x01 R 0 R/W 0x0 BIST Capable; 0 = PEB383 is not BIST capable 30 SBIST Start BIST; 0 = PEB383 is not BIST capable 29:28 Reserved 27:24 CCODE 0 = PEB383 is not BIST capable 23:16 H_TYPE Header Type This field indicates the PEB383 is a single-function bridge. 15:08 Reserved 07:00 CLINE Reserved (Latency timer in PCI Interface) Cacheline Sizea 04 = 4 x 32-bit word (16 bytes) 08 = 8 x 32-bit word (32 bytes) 10 = 16 x 32-bit word (64 bytes) 20 = 32 x 32-bit word (128 bytes) This field specifies the system cacheline size in units of 32-bit words. It is used by the PCI master to determine the PCI read transaction - that is, memory read, memory read line, or memory read multiple - it should generate on the PCI bus. CLINE is also used by the PCI target to decide how much data to read on the destination bus. Note: This field is set to 0 if CLINE is programmed to a value not specified above. a. Software programs the system cacheline size in DWORD counts. The value programmed is used by the PEB383 for prefetching data from memory for Memory Read Line and Memory Line Multiple transactions on the primary bus interface. Software should set only one bit at anytime. If multiple bits are set, the register defaults to 0. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 130 14.3.5 14. Register Descriptions > Register Map PCI Bus Number Register Register name: PCI_BUSNUM Register offset: 0x018 Reset value: Undefined Bits 7 6 31:24 5 4 3 2 S_LTIMER SUB_BUS_NUM 15:08 S_BUS_NUM 07:00 P_BUS_NUM Name 31:27 S_LTIMER 0 S_LTIMER_8 23:16 Bits 1 Description Secondary Latency Timer Type Reset value R/W Undefined R 000 R/W 0x00 R/W 0x00 R/W 0x00 This value is used by the PEB383 to perform burst transfers on the PCI Interface. The lower 3 bits are hardwired to 0 so that the timer is limited to 8-cycle granularity. This field defines the minimum amount of time in PCI clock cycles that the PEB383 can retain ownership as a bus master on the PCI Interface. 00000 = PCI reset value 26:24 S_LTIMER_8 23:16 SUB_BUS_NUM Set to 000 to force 8-cycle increments for the Secondary Latency Timer. Subordinate Bus Number The system software programs this field with the PEB383's highest-numbered downstream secondary bus number. This value is used by the PEB383 to respond to Type 1 Configuration transactions on the primary bus interface. 15:08 S_BUS_NUM Secondary Bus Number The system software programs this field with the number of the bridge's immediate downstream secondary bus. This value is used by the PEB383 to convert Type 1 Configuration transactions received on its primary bus interface to Type 0 Configuration transactions. 07:00 P_BUS_NUM[7:0] Primary Bus Number The system software writes to this field with the primary bus number of the PEB383. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.6 131 PCI Secondary Status and I/O Limit and Base Register Register name: PCI_MISC1_P Register offset: 0x01C Reset value: 0x02A0_0101 Bits 7 6 5 4 3 31:24 D_PE S_SERR R_MA R_TA S_TA 23:16 TFBBC Reserved DEV66 2 1 DEVSEL IO_LA ADD_CAP1 07:00 IO_BA ADD_CAP2 Name 31 D_PE MDP_D Reserved 15:08 Bits 0 Description Data Parity Error Detected Type Reset value R/W1C 0 R/W1C 0 R/W1C 0 R/W1C 0 This bit reports the detection of an address or data parity error on the PEB383's PCI Interface. The PEB383 sets this bit when it detects one of the following: * Address parity error as a potential target * Data parity error as a target of a write transaction * Data parity error as a master of a read transaction 0 = Device did not detect a parity error. 1 = Device detected a parity error. 30 S_SERR Received System Error This bit reports the assertion of PCI_SERRn on the PCI Interface. 1 = PCI_SERRn was detected on the PCI Interface. 0 = PCI_SERRn was not detected. 29 R_MA Received Master Abort This bit reports the detection of a Master-Abort termination by the PEB383 when it is the master of a transaction on its PCI Interface. 0 = No Master-Abort detected. 1 = Master-Abort detected on the PCI Interface. 28 R_TA Received Target Abort This bit reports the detection of a Target-Abort termination by the PEB383 when it is the master of a transaction on its PCI Interface. 0 = No Target-Abort detected. 1 = Target-Abort detected on the PCI Interface. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 132 14. Register Descriptions > Register Map (Continued) Bits Name 27 S_TA Description Type Reset value R/W1C 0 R 01 R/W1C 0 R 1 Reserved R 0 66-MHz Capable PCI Bus R 1 R 00000 R/W 0x0 R 0x1 R/W 0x0 Signaled Target Abort The PEB383 sets this bit to report the signaling of Target-Abort as target of a transaction on the PCI Interface. 0 = No Target-Abort signaled. 1 = Target-Abort signaled by the PEB383 on its PCI Interface. 26:25 DEVSEL Device Select Timing The PEB383 uses medium-speed decoding on its PCI Interface. 24 MDP_D Master Data Parity Error This bit reports the detection of an uncorrectable data error by the PEB383. 0 = No uncorrectable data error detected on the PCI Interface. 1 = Uncorrectable data error detected on the PCI Interface. 23 TFBBC Fast Back-to-Back Capability 0 = Not supported 1 = Supported This bit is hardwired to 1 when the secondary bus interface operates in PCI mode, indicating that the bridge can decode fast back-to-back transactions when the transactions are from the same master but to different targets. 22 Reserved 21 DEV66 This bit is hardwired to 1, indicating that the secondary bus interface can operate at a 66-MHz clock rate. 20:16 Reserved Reserved 15:12 IO_LA[3:0] I/O Limit Address The PEB383 uses this field for I/O address decoding. These bits define the upper bound of the address range used by the bridge to forward an I/O transaction from one interface to the other. These 4 bits correspond to address bits <15:12>. The address bits <11:0> are assumed equal to 12'hFFF. 11:08 ADD_CAP1 Addressing Capability The PEB383 supports 32-bit I/O addressing. 07:04 IO_BA[3:0] I/O Base Address The PEB383 uses this field for I/O address decoding. These bits define the lower bound of address range used by the bridge to forward an I/O transaction from one interface to the other. These 4 bits correspond to address bits <15:12>. The address bits <11:0> are assumed equal to 12'h0. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 133 (Continued) Bits Name 03:00 ADD_CAP2 Description Addressing Capability Type Reset value R 0x1 The PEB383 supports 32-bit I/O addressing. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 134 14.3.7 14. Register Descriptions > Register Map PCI Memory Base and Limit Register Register name: PCI_MIO_BL Register offset: 0x020 Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 LA 23:16 LA 15:08 Reserved BA 07:00 BA Bits Name 31:20 LA Reserved Description Memory Limit Address Type Reset value R/W 0 R 0 R/W 0 R 0 This field is used in conjunction with the Memory Base Address for forwarding memory-mapped I/O transactions. These bits define the upper bound for the memory address range. The upper 12 bits correspond to address bits <31:20> of the address range. Bits <19:0> of the address range are 0xFFFFF. 19:16 Reserved 15:04 BA Reserved Memory Base Address This field defines the lower bound of the address range for forwarding memory-mapped I/O transactions. These bits correspond to address bits <31:20> of the address range. The lower 20 address bits (19:0) are 20'h0. 03:00 Reserved PEB383 User Manual July 25, 2011 Reserved Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.8 135 PCI PFM Base and Limit Register Register name: PCI_PFM_BL Register offset: 0x024 Reset value: 0x0001_0001 Bits 7 6 5 31:24 4 3 2 1 0 LA 23:16 LA 15:08 ADD_LA_64 BA 07:00 BA Bits Name 31:20 LA ADD_BA_64 Description Type Reset value Prefetchable Memory Limit Address R/W 0 R 0x1 R/W 0 R 0x1 This field is used in conjunction with Memory Base Address for forwarding memory-mapped I/O transactions. These bits define the upper bound for the memory address range. The upper 12 bits correspond to address bits <31:20> of the address range. Bits <19:0> of the address range are 0xFFFFF. 19:16 ADD_LA_64 Addressing Capability -- Memory Base Address The PEB383 supports 64-bit addressing. 15:04 BA Prefetchable Memory Base Address This field defines the lower bound of the prefetchable memory address range. These bits correspond to address bits <31:20> of the Prefetchable Address range. The lower 20 address bits (19:0) are 20'h0. 03:00 ADD_BA_64 Addressing Capability -- Memory Range Limit Address The PEB383 supports 64-bit addressing. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 136 14.3.9 14. Register Descriptions > Register Map PCI PFM Base Upper 32 Address Register Register name: PCI_PFM_B_UPPER Register offset: 0x028 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 BA 23:16 BA 15:08 BA 07:00 BA Bits Name 31:00 BA 2 Description Prefetchable Memory Base Upper 32-bit Address 1 0 Type Reset value R/W 0x0 This field is used in conjunction with BA in the "PCI PFM Base and Limit Register" to specify the lower bound of the 64-bit prefetchable address range. The 32 bits relate to address bits <63:32> of the Prefetchable Base Address bits. 14.3.10 PCI PFM Limit Upper 32 Address Register Register name: PCI_PFM_L_UPPER Register offset: 0x02C Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 LA 23:16 LA 15:08 LA 07:00 LA Bits Name 31:00 LA 2 Description Prefetchable Memory Limit Upper 32-bit Address 1 0 Type Reset value R/W 0x0 This field is used in conjunction with LA in the "PCI PFM Base and Limit Register" to specify the upper bound of the 64-bit prefetchable address range. The 32 bits relate to address bits <63:32> of the Prefetchable Limit Address. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.11 137 PCI I/O Address Upper 16 Register Register name: PCI_IO_UPPER Register offset: 0x030 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 IO_LA 23:16 IO_LA 15:08 IO_BA 07:00 IO_BA Bits Name 31:16 IO_LA 2 Description I/O Limit Address Upper 16-bits 1 0 Type Reset value R/W 0x0000 R/W 0x0000 This field is used in conjunction with IO_LA in the "PCI Secondary Status and I/O Limit and Base Register" to define the upper bound 32-bit address range used for decoding I/O transactions from the PCIe Interface to the PCI Interface. These bits relate to address bits <31:16> of I/O Limit Address. 15:00 IO_BA I/O Base Address Upper 16-bits This field is used in conjunction with IO_BA in the "PCI Secondary Status and I/O Limit and Base Register" to define the lower bound 32-bit address range used for decoding I/O transaction from the PCIe Interface to the PCI Interface. These bits relate to address bits <31:16> of I/O Base Address. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 138 14.3.12 14. Register Descriptions > Register Map PCI Capability Pointer Register Register name: PCI_CAP Register offset: 0x034 Reset value: 0x0000_00A0 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 CAP_PTR Bits Name 31:08 Reserved 07:00 CAP_PTR 2 Description Reserved Capabilities Pointer 1 0 Type Reset value R 0x0 RWL 0x0A0 By default the next capability pointer is 0xA0 "PCI Power Management Capability Register". If it is desired to link in "SSID Capability Register" then this value should be changed to 0x60. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.13 139 PCI Bridge Control and Interrupt Register Register name: PCI_MISC2 Register offset: 0x03C Reset value: 0x0000_00FF Bits 7 6 31:24 23:16 5 4 Reserved S_FPTP_ EN S_RESET MA_ERR VGA_ 16BIT_EN 3 2 1 0 DISCARD _SERR DISCARD_ STAT DISCARD2 DISCARD1 VGA_EN ISA_EN SERR_EN S_ PERESP 15:08 INT_PIN 07:00 INT_LINE Bits Name 31:28 Reserved 27 DISCARD_SERR Description Reserved Discard Timer SERR# Enable Type Reset value R 0x0 R/W 0 R/W1C 0 This bit only applies in PCI mode. It enables the PEB383 to generate either an ERR_NONFATAL (by default) or ERR_FATAL transaction on the PCIe Interface when the Secondary Discard Timer expires and a Delayed Transaction is discarded from a queue in the bridge. The severity is selectable only if Advanced Error Reporting is supported. 0 = Do not generate ERR_NONFATAL or ERR_FATAL on the PCIe Interface as a result of the expiration of the Secondary Discard Timer. Note that an error message can still be sent if Advanced Error Reporting is supported and the Delayed Transaction Discard Timer Expired Mask bit is clear. 1 = Generate ERR_NONFATAL or ERR_FATAL on the PCIe Interface if the Secondary Discard Timer expires and a Delayed Transaction is discarded from a queue in the bridge. 26 DISCARD_STAT Discard Timer Status It is set to 1 when the Secondary Discard Timer expires and a Delayed Completion is discarded from a queue in the bridge. 0 = No discard timer error 1 = Discard timer error Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 140 14. Register Descriptions > Register Map (Continued) Bits Name 25 DISCARD2 Description Secondary Discard Timer Type Reset value R/W 0 R 0 R 0 R/W 0 This bit determines the number of PCI clocks that the bridge waits for a master on the PCI Interface to repeat a Delayed Transaction request. The counter starts once the Completion (PCIe Completion associated with the Delayed Transaction Request) has reached the head of the downstream queue of the bridge (that is, all ordering requirements have been satisfied and the bridge is ready to complete the Delayed Transaction with the originating master on the secondary bus). If the originating master does not repeat the transaction before the counter expires, the bridge deletes the Delayed Transaction from its queue and sets the Discard Timer Status bit. 0 = Secondary Discard Timer counts 215 PCI clock cycles 1 = Secondary Discard Timer counts 210 PCI clock cycles 24 DISCARD1 Primary Discard Timer This bit does not apply to PCIe. It always reads 0. 23 S_FPTP_EN Fast Back-to-Back Enable The PEB383 cannot generate fast back-to-back transactions as a master on the PCI Interface. 22 S_RESET Secondary Bus Reset This bit forces the assertion of PCI_RST# on the PCI Interface. The secondary PCI_RST# is asserted by the bridge whenever this bit is set. The bridge's secondary bus interface and any buffers between the two interfaces (primary and secondary) must be initialized back to their default state whenever this bit is set. The primary bus interface and all configuration space registers must not be affected by the setting of this bit. Because PCI_RST# is asserted for as long as this bit is set, software must observe proper PCI reset timing requirements. 0 = Do not force the assertion of the PCI Interface PCI_RST#. 1 = Force the assertion of the PCI Interface PCI_RST#. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 141 (Continued) Bits Name 21 MA_ERR Description Master-Abort Mode Type Reset value R/W 0 R/W 0 This bit controls the behavior of a bridge when it receives a Master-Abort termination (for example, an Unsupported Request on PCIe) on either interface. 0 = Do not report Master-Aborts. When a UR response is received from PCIe for non-posted transactions, and when the secondary side is operating in PCI mode, return 0xFFFF_FFFF on reads and complete I/O writes normally. When a Master-Abort is received on the PCI Interface for posted transactions initiated from the PCIe Interface, no action is taken (that is, all data is discarded). 1 = Report UR Completions from PCIe by signaling Target-Abort on the PCI Interface when the PCI Interface is operating in PCI mode. For posted transactions initiated from the PCIe Interface and Master-Aborted on the PCI Interface, the bridge must return an ERR_NONFATAL (by default) or ERR_FATAL transaction (provided the SERR# Enable bit is set in the Command register). The severity is selectable only if Advanced Error Reporting is supported. 20 VGA_16BIT_EN VGA 16-Bit Enable This bit enables the bridge to provide 16-bit decoding of VGA I/O address precluding the decoding of alias addresses every 1 KB. This bit has meaning only if VGA Enable bit is set. 1 = Executes 16-bit address decodes on VGA I/O accesses 0 = Executes 10-bit address decodes on VGA I/O accesses Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 142 14. Register Descriptions > Register Map (Continued) Bits Name 19 VGA_EN Description VGA Enable Type Reset value R/W 0 This bit modifies the response of the bridge to VGA-compatible addresses. If this bit is set, the bridge forwards the following accesses on the PCIe Interface to the PCI Interface (and, conversely, block the forwarding of these addresses from the secondary interface to the PCIe Interface): * Memory accesses in the range 0x000A_0000 to 000B_FFFF * I/O addresses in the first 64 Kbytes of the I/O address space (Address[31:16] for PCIe are 0x0000) and where Address[9:0] is in the range of 0x3B0 to 0x3BB or 0x3C0 to 0x3DF (inclusive of ISA address aliases Address[15:10] may possess any value and is not used in the decoding) If this bit is set, the forwarding of VGA addresses is independent of the following: * The value of the ISA Enable bit * The I/O address range and memory address ranges defined by the I/O Base and Limit registers, the Memory Base and Limit registers, and the Prefetchable Memory Base and Limit registers of the bridge The forwarding of VGA addresses is qualified by the I/O Enable and Memory Enable bits in the "PCI Control and Status Register". 0 = Do not forward VGA compatible memory and I/O addresses from PCIe to the PCI (addresses defined above) unless they are enabled for forwarding by the defined I/O and memory address ranges. 1 = Forward VGA compatible memory and I/O addresses (addresses defined above) from PCIe to PCI (if the I/O Enable and Memory Enable bits are set) independent of the I/O and memory address ranges, and independent of the ISA Enable bit. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 143 (Continued) Bits Name 18 ISA_EN Description ISA Enable Type Reset value R/W 0 R/W 0 This bit modifies the response by the PEB383 to ISA I/O addresses. This applies only to I/O addresses that are enabled by the I/O Base and Limit registers and are in the first 64 KB of PCI I/O address space (0000 0000h to 0000 FFFFh). If this bit is set, the bridge blocks any forwarding from primary to secondary of I/O transactions addressing the last 768 bytes in each 1-KB block. In the opposite direction (secondary to primary), I/O transactions are forwarded if they address the last 768 bytes in each 1-KB block. 0 = Forward downstream all I/O addresses in the address range defined by the I/O Base and Limit registers. 1 = Forward upstream ISA I/O addresses in the address range defined by the I/O Base and Limit registers that are in the first 64 KB of PCI I/O address space (top 768 bytes of each 1-KB block). 17 SERR_EN SERR# Enable This bit controls the forwarding of PCI SERR# assertions to the PCIe Interface. The PEB383 transmits an ERR_FATAL or ERR_NONFATAL cycle on the PCIe Interface when PCI_SERRn is asserted on the PCI Interface. This bit is set when Advanced Error Reporting is supported and the SERR# Assertion Detected Mask bit is clear in the "PCIe Secondary Uncorrectable Error Mask Register". The SERR# Enable bit is set in the "PCI Control and Status Register" or the PCIe-specific bits are set in the "PCIe Device Control and Status Register" of the PCIe Capability Structure. 0 = Disable the forwarding of SERR# from the PCI Interface to ERR_FATAL and ERR_NONFATAL (SERR# can still be forwarded if the SERR Advanced Error mask bit is cleared). 1 = Enable the forwarding of secondary SERR# to ERR_FATAL or ERR_NONFATAL. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 144 14. Register Descriptions > Register Map (Continued) Bits Name 16 S_PERESP Description Parity Error Response Enable Type Reset value R/W 0 R 0x00 R 0xFF This bit controls the PEB383's response to uncorrectable address, attribute, and data errors on the PCI Interface. If this bit is set, the bridge must take its normal action when one of these errors is detected. If this bit is cleared, the bridge must ignore any uncorrectable address, attribute, and data errors that it detects and continue normal operation. Note: A bridge must generate parity (or ECC, if applicable) even if parity error reporting is disabled. Also, a bridge must always forward data with poisoning from PCI to PCIe on an uncorrectable PCI data error, regardless of the setting of this bit. 0 = Ignore uncorrectable address, attribute, and data errors on the PCI Interface. 1 = Enable uncorrectable address, attribute, and data error detection and reporting on the PCI Interface. 15:08 INT_PIN [7:0] Interrupt Pin The PEB383 does not generate interrupts. Therefore, this register is hardwired to 0x00. 07:00 INT_LINE [7:0] Interrupt Line The PEB383 does not generate an interrupt. Therefore, the register is read only. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.14 145 Secondary Retry Count Register Register name: SEC_RETRY_CNT Register offset: 0x040 Reset value: 0x0000_AA00 Bits 7 6 5 4 31:24 2 1 0 Reserved 23:16 15:8 3 Reserved DTL3 7:0 CGD ARB DTL2 Reserved DTL1 Reserved Bits Name 31:25 Reserved 24 CGD PARK DTL0 SEC_RT_CNT Description Reserved Clock gating disable Type Reset value R 0 R/W 0 R 0 HwInitWO 0 R 0 HwInitWO 0 R/W 0b10 R/W 0b10 1: clock gating disabled 0: clock gating enabled When in L1 state internal clocks are gated off by default. 23:21 Reserved 20 ARB Reserved External arbiter control 0b0: disable external arbiter 0b1: enable external arbiter 19:17 Reserved 16 PARK Reserved PARK bus parking policy 0b0: park on last served device 0b1: park on the bridge 15:14 DTL0 Delayed Transaction Limit for PCI Device 3: 0b01; max one delayed transaction for device 3 0b10; max two delayed transaction for device 3 0b11; max three delayed transaction for device 3 0b00; max four delayed transaction for device 3 13:12 DTL0 Delayed Transaction Limit for PCI Device 2: 0b01; max one delayed transaction for device 2 0b10; max two delayed transaction for device 2 0b11; max three delayed transaction for device 2 0b00; max four delayed transaction for device 2 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 146 14. Register Descriptions > Register Map (Continued) Bits Name 11:10 DTL0 Description Delayed Transaction Limit for PCI Device 1: Type Reset value R/W 0b10 R/W 0b10 R 0 R/W 0000 0b01; max one delayed transaction for device 1 0b10; max two delayed transaction for device 1 0b11; max three delayed transaction for device 1 0b00; max four delayed transaction for device 1 9:8 DTL0 Delayed Transaction Limit for PCI Device 0: 0b01; max one delayed transaction for device 0 0b10; max two delayed transaction for device 0 0b11; max three delayed transaction for device 0 0b00; max four delayed transaction for device 0 7:4 Reserved 3:0 SEC_RT_CNT Reserved This field defines the number of retries that the PEB383 will receive on the secondary bus for a requested transaction, before its internal retry counter expires. When the counter expires, the bridge discards the request. 0000 = Counting disabled (No expiration) 0001 = 256 retries before expiration 0010 = 64K retries before expiration 0100 = 16M retries before expiration 1000 = 2G retries before expiration PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.15 147 PCI Miscellaneous Control and Status Register Register name: PCI_MISC_CSR Register offset: 0x044 Reset value: 0x7D10_1900 Bits 7 6 5 4 3 2 1 0 31:24 Reserved EN_ARB EN_ARB3 EN_ARB2 EN_ARB1 EN_ARB0 Reserved P_ERR 23:16 STC_EN ARB_PRI ARB_PRI3 ARB_PRI2 ARB_PRI1 ARB_PRI0 15:08 Reserved Reserved CPL_INIT_COUNT 07:00 CFG_RT Reserved Bits Name 31 Reserved 30 EN_ARB Description Type Reset value R 0 R/W 1 R/W 1 R/W 1 R/W 1 R/W 1 Reserved R 0 Parity Error Behavior R 1 Reserved Enable Internal Arbiter This bit enables arbitration for PEB383 requests. 0 = PEB383 disables internal requests. 1 = PEB383 enables internal requests. 0 29 EN_ARB3 Enable Arbiter 3 0 = PEB383 disables PCI_REQ3n for arbitration. 1 = The bridge enables PCI_REQ3n for arbitration. 28 EN_ARB2 Enable Arbiter 2 0 = PEB383 disables PCI_REQ2# for arbitration. 1 = PEB383 enables PCI_REQ2# for arbitration. 27 EN_ARB1 Enable Arbiter 1 0 = PEB383 disables PCI_REQ1# for arbitration. 1 = PEB383 enables PCI_REQ1# for arbitration. 26 EN_ARB0 Enable Arbiter 0 0 = PEB383 disables PCI_REQ0# for arbitration. 1 = PEB383 enables PCI_REQ0# for arbitration. 25 Reserved 24 P_ERR This bit controls the behavior of the PEB383 when it detects a data parity error during a non-posted write transaction. 0 = PCI_PERRn is asserted and the corrupted data is passed. 1 = PCI_PERRn is asserted and the transaction is asserted on the originating bus, appropriate status bits are set, data is discarded, and the request is not enqueued. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 148 14. Register Descriptions > Register Map (Continued) Bits Name 23 STC_EN Description Short-term Caching Enable Type Reset value R/W 0 R 00 R/W 1 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R/W 0011 0 = Disable short-term caching 1 = Enable short-term caching 22:21 Reserved Reserved 20 ARB_PRI Internal Arbiter Priority This bit sets priority for PEB383 requests. 0 = Internal requests from the PEB383 are assigned low priority 1 = Internal requests from the PEB383 are assigned high priority 19 ARB_PRI3 Arbiter Priority 3 0 = PEB383 assigns low priority to PCI_REQ3#. 1 = PEB383 assigns high priority to PCI_REQ3#. 18 ARB_PRI2 Arbiter Priority 2 0 = PEB383 assigns low priority to PCI_REQ2#. 1 = PEB383 assigns high priority to PCI_REQ2#. 17 ARB_PRI1 Arbiter Priority 1 0 = PEB383 assigns low priority to PCI_REQ1#. 1 = PEB383 assigns high priority to PCI_REQ1#. 16 ARB_PRI0 Arbiter Priority 0 0 = PEB383 assigns low priority to PCI_REQ0#. 1 = PEB383 assigns high priority to PCI_REQ0#. 15 Reserved 14:11 CPL_INIT_COUNT Reserved This is applicable for upstream Non-Posted requests in PCI mode. It indicates the number of Dwords of response data to be accumulated before starting the data transfer. 0000 = 8 Dwords 0001 = 16 Dwords 0010 = 24 Dwords 0011 = 32 Dwords 0100 = 40 Dwords 0101 = 48 Dwords 0110 = 56 Dwords 0111 = 64 Dwords 1000 = 72 Dwords 1001 = 80 Dwords 1010 = 88 Dwords PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 149 (Continued) Bits Name 10:08 CFG_RT Description Configuration Retry Timer Type Reset value R/W 001 R 0x00 The PEB383 returns the Completion with CRS completion status for the received Type 1 configuration requests if this timer is expired before receiving the Completion from the targeted secondary device. 000 = 25 us 001 = 40 us 010 = 50 us 011 = 100 us 100 = 200 us 101 = 500 us 110 = 1 ms 111 = 10 ms 07:00 Reserved Reserved Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 150 14. Register Descriptions > Register Map 14.3.16 PCI Miscellaneous Clock Straps Register Register name: PCI_MISC_CLK_STRAPS Register offset: 0x048 Reset value: 0x0000_0100 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 07:00 2 1 Reserved LEGACY Bits Name 31:9 Reserved 8 CSR_SEL_400 Reserved PCGE 0 CSR_SEL_ 400 OP_MODE CS_MODE Description Reserved This bit programs the PLL clock: Type Reset value R 0 R/W 1 R/W 0 R 0 R/W 0 R/W 0 1 = PLL Clock is 400MHz. This generates 50/50% nominal PCI_CLKO. 0 = PLL Clock is 200MHz. This generates 33/66% nominal PCI_CLKO. Note: For normal operation, leave this bit in its default state. 7 LEGACY Legacy Mode When set to 1, the PEB383 operates in legacy mode (for more information, see "Legacy Mode"). 6:5 Reserved 4 PCGE Reserved PCI clock gate enable 0b0: PCI_CLK[3:0] clock gating disabled 0b1: PCI_CLK[3:0] clock gating enabled when in D3_hot, and in 33MHZ mode. In addition the bits "BPCCE" and "B2B3S" in the "PCI Power Management Control and Status Register" is updated to reflect this Note: Setting this bit to a 1 has no effect if clock rate is higher than 33MHz. 3 OP_MODE Operating Mode 0 = PEB383 provides the clock on PCI_CLKO with the speed defined by the M66_EN signal (33/66 MHz) 1 = PEB383 provides the clock on PCI_CLKO with the speed defined by the CS_MODE bits. (25/33/50/60 MHz) PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 151 (Continued) Bits Name 2:0 CS_MODE Description Clock Speed Mode Type Reset value R/W 000 This field defines the clock speed when OP_MODE is set to 1 according to the following code points: 0bX00 = 25-MHz PCI mode 0bX01 = 33-MHz PCI mode 0bX10 = 50-MHz PCI mode 0bX11 = 66-MHz PCI mode Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 152 14.3.17 14. Register Descriptions > Register Map Upstream Posted Write Threshold Register Register name: UPST_PWR_THRES Register offset: 0x04C Reset value: 0x0000_0307 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:8 2 Reserved 7:0 Name 31:10 Reserved 9:8 MAX_BUF_ALOC 0 MAX_BUF_ALOC Reserved Bits 1 UPST_PWR_THRES Description Reserved. Maximum Buffer Allocation Type Reset value R 0 R/W 11 R 0 R/W 00111 This field determines the maximum completion buffer allocation that a single, upstream non-posted read request will create.The amount of completion buffer allocated is the MIN of these bits and the read request. 11 = 1024 bytes 10 = 512 bytes 01 = 256 bytes 00 = 256 bytes 7:5 Reserved 4:0 UPST_PWR_THRES Reserved. This field defines the threshold for the upstream posted writes, and indicates the length of posted write data to be accumulated in the upstream posted buffer that triggers forwarding of a posted request onto the PCIe core. Note: Other events may also trigger forwarding. For more information, see "Upstream Posted Buffer". This field is defined as follows: 00000 = 16 bytes 00001 = 32 bytes 00010 = 48 bytes 00011 = 64 bytes 00100 = 80 bytes 00101 = 96 bytes 00110 = 112 bytes 00111 = 128 bytes PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.18 153 Completion Timeout Register Register name: CPL_TIMEOUT Register offset: 0x050 Reset value: 0x8009_8968 Bits 7 6 31:24 CPL_TO_ EN 5 4 3 CPL_TO_VALUE 15:08 CPL_TO_VALUE 07:00 CPL_TO_VALUE Name 31 CPL_TO_EN 1 0 CPL_TO_VALUE 23:16 Bits 2 Description Completion Timeout Enable Type Reset value R/W 1 R/W 0x009_8968 This bit enables/disables the Completion Timeout function. The PEB383 handles an upstream non-posted request as if completion is returned with UR if the completion is not returned before its Completion Timeout Timer is expired. 0 = Disable Completion Timeout Timer 1 = Enable Completion Timeout Timer 30:00 CPL_TO_VALUE Completion Timeout Value This 31-bit register defines the Completion Timeout Value as follows: 0x0000_0000 = 0 ns 0x0000_0001 = 16 ns 0x0000_0002 = 32 ns 0x0000_0003 = 48 ns --------0x0009_8968 = 10 ms (default value) 0x7FFF_FFFF = 34 s Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 154 14. Register Descriptions > Register Map 14.3.19 Clock Out Enable Function and Debug Register Register name: CLKOUT_ENB_FUNC_DBG Register offset: 0x054 Reset value: 0x0000_1F00 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 2 1 CLKOUT_ENB Reserved Bits Name 31:13 Reserved 12:08 CLKOUT_ENB 0 FUNC_DBG Description Reserved. This field enables and disables the five clocks (PCI_CLK_OUT[4:0]) supplied to the PCI secondary devices. Type Reset value R 0 R/W 11111 R 0 CLKOUT_ENB[0] 0 = Disable PCI_CLK_OUT[0] 1 = Enable PCI_CLK_OUT[0] CLKOUT_ENB[1] 0 = Disable PCI_CLK_OUT[1] 1 = Enable PCI_CLK_OUT[1]CLKOUT_ENB[2] 0 = Disable PCI_CLK_OUT[2] 1 = Enable PCI_CLK_OUT[2] CLKOUT_ENB[3] 0 = Disable PCI_CLK_OUT[3] 1 = Enable PCI_CLK_OUT[3] CLKOUT_ENB[4] 0 = Disable PCI_CLK_OUT[4] 1 = Enable PCI_CLK_OUT[4] 07:02 Reserved Reserved 01 UNLOCK Setting this bit to 0b1 allows register bits with an RWL attribute to be written from TLPs, i.e. configuration or memory writes. Register bits with RWL attribute can always be written from EEPROM or JTAG regardless of the setting of this bit. R/W 0 00 FUNC_DBG This bit is for functional testing. Setting to 0b1 disables scrambling. R/W 0 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Register Map 14.3.20 155 SERRDIS_OPQEN_DTC Register Register name: SERRDIS_OPQEN_DTC Register offset: 0x058 Reset value: 0x0000_0100 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 2 1 0 ST_DIST_ EN Reserved SEC_DIST _EN Reserved Bits Name 31:11 Reserved 10 ST_DIST_EN Description Reserved Short Term Discard Timer Enable Type Reset value R 0 R/W 0 R 0 R/W 1 R 0 0 = Secondary discard timer value sets to either 0x03FF (1K PCI clock cycles) or 0x7FFF (32 K PCI clock cycles) 1 = Secondary discard timer value sets to 0x003F (64 PCI clock cycles) 9 Reserved 8 SEC_DIST_EN Reserved Secondary Discard Timer Enable 0 = Disable Secondary Discard Timer 1 = Enable Secondary Discard Timer 7:0 Reserved Reserved Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 156 14. Register Descriptions > Upstream Non-transparent Address Remapping Registers 14.4 Upstream Non-transparent Address Remapping Registers The PEB383 supports address remapping, which is one of the requirements of non-transparent bridging. All transactions that fall in the non-transparent address range are mapped to different address locations according to following device-specific registers. 14.4.1 NTMA Control Register Register name: NTMA_CTRL Register offset: 0x068 Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 NTMA_LBA 23:16 NTMA_LBA 15:08 Reserved Reserved 07:00 Reserved Bits Name 31:20 NTMA_LBA 19:04 Reserved 03 NTMA_RMP NTMA_ RMP Description NTMA primary lower base address. Reserved 0 = Disable NTMA address remapping. Reserved Type Reset value R/W 0x0 R 0x0 R/W 0x0 R 0x0 1 = Enable NTMA address remapping. 02:00 Reserved PEB383 User Manual July 25, 2011 Reserved Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Upstream Non-transparent Address Remapping Registers 14.4.2 157 NTMA Primary Upper Base Register Register name: NTMA_PRI_BASEUPPER Register offset: 0x06C Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 NTMA_UBA 23:16 NTMA_UBA 15:08 NTMA_UBA 07:00 NTMA_UBA Bits Name 31:00 NTMA_UBA 14.4.3 2 1 0 Description Type Reset value NTMA Primary upper base address. R/W 0x0 NTMA Secondary Lower Base Register Register name: NTMA_SEC_LBASE Register offset: 0x070 Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 NTMA_LBA 23:16 NTMA_LBA Reserved 15:08 Reserved 07:00 Reserved Bits Name 31:20 NTMA_LBA 19:00 Reserved Description NTMA Secondary lower base address. Reserved Integrated Device Technology, Inc. Confidential - NDA Required Type Reset value R/W 0x0 R 0x0 PEB383 User Manual July 25, 2011 158 14.4.4 14. Register Descriptions > Upstream Non-transparent Address Remapping Registers NTMA Secondary Upper Base Register Register name: NTMA_SEC_BASEUPPER Register offset: 0x074 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 NTMA_UBA 23:16 NTMA_UBA 15:08 NTMA_UBA 07:00 NTMA_UBA Bits Name 31:00 NTMA_UBA 14.4.5 2 Description NTMA Secondary upper base address. 1 0 Type Reset value R/W 0x0 NTMA Secondary Lower Limit Register Register name: NTMA_SEC_LOWER_LIMIT Register offset: 0x078 Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 NTMA_LLA 23:16 NTMA_LLA Reserved 15:08 Reserved 07:00 Reserved Bits Name 31:20 NTMA_LLA 19:00 Reserved PEB383 User Manual July 25, 2011 Description NTMA Secondary lower limit address. Reserved Type Reset value R/W 0x0 R 0x0 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 14.4.6 159 NTMA Secondary Upper Limit Register Register name: NTMA_SEC_UPPER_LIMIT Register offset: 0x07C Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 NTMA_ULA 23:16 NTMA_ULA 15:08 NTMA_ULA 07:00 NTMA_ULA Bits Name 31:00 NTMA_ULA 14.5 Description NTMA Secondary Upper limit address. 2 1 0 Type Reset value R/W 0x0 PCI Capability Registers The PEB383 device supports PCI and PCIe extended capabilities options. The Capabilities Pointer field in the "PCI Capability Pointer Register" (0x034) points to the first PCI capabilities option, while the first PCIe extended capability option is always located at 0x100 (see "PCIe Advanced Error Reporting Capability Register"). When the PEB383 operates in "Legacy Mode" the following registers are not supported and are treated as reserved: 14.5.1 * "PCIe Capability Registers" * "Advanced Error Reporting Capability Registers" SSID/SSVID Capability The optional "SSID ID Register" -- Subsystem ID (SSID) and Subsystem Vendor ID (SSVID) ID -- uniquely identifies the add-in card or subsystem where the PCI device resides. It provides a mechanism for add-in card vendors to distinguish their add-in cards from one another even though the add-in cards may have the same PCI bridge on them (and, therefore, the same Vendor ID and Device ID). Values in this register must be loaded and valid prior to system software accessing the PCI configuration space. Note that by default, the SSID capability is not linked in via "PCI Capability Pointer Register". This capability must be linked in first, before the SSID ID Register can be written. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 160 14.5.2 14. Register Descriptions > PCI Capability Registers SSID Capability Register Register name: SSID_CAP Register offset: 0x060 Reset value: 0x0000_A00D Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 CAP_PTR 07:00 CAP_ID Bits Name 31:16 Reserved 15:08 CAP_PTR 2 Description 1 0 Type Reset value Reserved R 0x0 Capabilities Pointer R 0xA0 R 0x0D This register contains the head pointer for the capability list in PCI configuration space. 07:00 CAP_ID PEB383 User Manual July 25, 2011 Capability ID Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 14.5.3 161 SSID ID Register The values in this register can be written by EEPROM. Register name: SSID_ID Register offset: 0x064 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 SSID 23:16 SSID 15:08 SSVID 07:00 SSVID Bits Name 31:16 SSID 2 Description Sub System ID 1 0 Type Reset value RWL 0 RWL 0 This value identifies the add-in card or subsystem, and is assigned by the vendor. 15:0 SSVID Sub System vendor ID This value identifies the manufacturer of the add-in card or subsystem. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 162 14. Register Descriptions > PCI Capability Registers 14.5.4 PCI Power Management Capability Register This register defines bytes 0 to 3 of the power management capability option. Register name: PCI_PMC Register offset: 0x0A0 Reset value: 0x7803_C001 Bits 7 6 31:24 23:16 5 4 3 PME_SUP AUX_CUR DSI Reserved NXT_PTR 07:00 CAP_ID Name 31:27 PME_SUP 1 0 D2_SP D1_SP AUX_CUR PME_CK 15:08 Bits 2 PM_VER Description Type Reset value RWL 01111 R 0 R 0 R 000 R 0 Reserved. It always reads 0. R 0 PME Clock R 0 PME Support This field indicates the power management states from which the PEB383 device can indicate PME#. The value reported by this field is based on Serial EEPROM programming that indicates how auxiliary power is routed to the PEB383 device in the system. Given the right power supplies, the PEB383 can assert the PME# signals in D3COLD. In the absence of Serial EEPROM information, the PEB383 will report PME support for power levels down to D3HOT. 26 D2_SP D2 Support This field always returns 0 since the PEB383 does not support the D2 power management state. 25 D1_SP D1 Support This field always returns 0 since the PEB383 does not support the D1 power management state. 24:22 AUX_CUR Aux Current This field returns a value 0 indicating the device is self powered. 21 DSI Device Specific Initialization Hardwired to 0. No special initialization is required. 20 Reserved 19 PME_CK This field is not applicable to devices with a PCIe Interface. It always reads 0. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 163 (Continued) Bits Name 18:16 PM_VER Description Version Type Reset value R 011 R 0xC0 R 0x01 This field indicates a version number of 011 indicating it supports the PCI Bus Power Management Interface Specification (Revision 1.2). 15:8 NXT_PTR Next Pointer This field points to the next capability option: "PCIe Capabilities Register" (0x0C0). Note: This read-only value will be changed to 0x00 when the LEGACY bit is set to 1 in the "PCI Miscellaneous Clock Straps Register". 7:0 CAP_ID Capability ID This field contains the value 0x01 indicating a power management capability option. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 164 14. Register Descriptions > PCI Capability Registers 14.5.5 PCI Power Management Control and Status Register This register defines the control and status registers of the power management capability option. Register name: PCI_PMCS Register offset: 0x0A4 Reset value: 0x0000_0008 Bits 7 6 5 4 31:24 3 2 1 0 DATA 23:16 BPCCE 15:08 PME_ST 07:00 B2B3S Reserved DATA_SC DATA_SEL Reserved Bits Name 31:24 DATA NO_SOFT_ RST PME_EN Reserved Description Power Data PWR_ST Type Reset value R 0x00 R 0x0 R 0x0 R 0x0 The PEB383 does not support the Power Data field. 23 BPCCE BPCC_En (Bus Power/Clock Control Enable) - A "1" indicates that the bus power/clock control mechanism as defined in Section 4.7.1 is enabled. A "0" indicates that the bus power/clock control policies defined in Section 4.7.1 have been disabled. When the Bus Power/Clock Control mechanism is disabled, the bridge's PMCSR PowerState field cannot be used by the system software to control the power or clock of the bridge's secondary bus. This bit will be set if "PCGE" is set in "PCI Miscellaneous Clock Straps Register", and the PCI_CLK is 33MHz or less. 22 B2B3S B2_B3# (B2/B3 support for D3hot) - The state of this bit determines the action that is to occur as a direct result of programming the function to D3hot. A "1" indicates that when the bridge function is programmed to D3hot, its secondary bus's PCI clock will be stopped (B2). A "0" indicates that when the bridge function is programmed to D3hot, its secondary bus will have its power removed (B3). This bit is only meaningful if bit 7 (BPCC_En) is a "1". This bit will be set if "PCGE" is set in "PCI Miscellaneous Clock Straps Register", and the PCI_CLK is 33MHz or less. 21:16 Reserved PEB383 User Manual July 25, 2011 Reserved. It always reads 0. Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 165 (Continued) Bits Name 15 PME_ST Description Type Reset value R 0 R 00 R 0x0 R/W 0 Reserved 1. It always reads 0. R 0x0 Power No Soft Reset R 1 R 0 R/W 0 Power PME Status This field indicates whether this device can generate PME#. This field's value is independent of whether the Power PME Enable field is set to 1. 0 = No PME# is being asserted by this PCI function. 1 = A PME# status is reported by this PCI function. If PME_EN is also set to 1, this PCI function is also asserting the PME# signal. Writing 1 to this field clears the field. Note: The PEB383 does not support this feature; this bit always returns a 0. 14:13 DATA_SC Power Data Scale This field always returns 0 since the PEB383 device does not support the DATA field. 12:9 DATA_SEL Power Data Select This field always returns 0 since the PEB383 device does not support the DATA field. 8 PME_EN Power PME Enable This field enables PME# assertion. The initial value of this field depends on whether the device woke from power-off or D3COLD. * From power-off, this field starts disabled. * From D3COLD, this field contains the enable condition going into the D3COLD state. 0 = Disable PME# generation. 1 = Enable PME# generation. 7:4 Reserved 3 NO_SOFT_RST This field indicates whether the device needs a soft reset after transitioning from D3HOT to D0. This field always returns 1 indicating a soft reset is not required. 2 Reserved 1:0 PWR_ST Power Reserved 0. It always reads 0. Power State This field determines the current power state of the PCI function, and sets a new state. If the new state is not supported, the change is ignored. 00 = D0 01 = D1 10 = D2 11 = D3HOT Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 166 14. Register Descriptions > PCI Capability Registers 14.5.6 EEPROM Control Register Register name: EE_CTRL Register offset: 0x0AC Reset value: Undefined Bits 31:24 7 6 5 Reserved 4 3 CMD ADD_WIDTH 23:16 ADD 15:08 ADD 07:00 DATA Bits Name 31:30 Reserved 29:28 CMD 2 Description 1 0 BUSY CMD_VLD Type Reset value Reserved R 0x0 Command R/W 0x0 R/W Undefined R 0x0 This bit validates the command and side-band signals to the serial EEPROM. R/W 0x0 Address R/W 0x0000 R/W 0x00 01 = Read 10 = Write 27:26 ADD_WIDTH Address width This field indicates the address width of the serial EEPROM, and whether or not an EEPROM device is present. 00 = No EEPROM 01 = 9-bit address 10 = 16-bit address Note: A blank EEPROM is indicated with 0b00. If this occurs, these bits must be written with the appropriate values before the EEPROM can be accessed. 25 BUSY This bit indicates the serial EEPROM is busy with Read/Write operation. Software must poll this bit before initiating a write/read to the external EEPROM through a configuration write to the "EEPROM Control Register". For information on software polling, see "System Diagram". 24 CMD_VLD 23:08 ADD This is the EEPROM address to be read from or written into. 07:00 DATA DATA This is the data to be written into the EEPROM. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 14.5.7 167 Secondary Bus Device Mask Register This register provides a method to support private devices on the PCI bus. The process of converting Type 1 configuration transactions to Type 0 configuration transactions is modified by the contents of this register. A configuration transaction that targets a device masked by this register is rerouted to device 15. Setting this register to all zeros disables device masking. Register name: SBUS_DEVMSK Register offset: 0x0B0 Reset value: 0x0000_0000 Bits 31:24 23:16 7 6 5 Reserved DEVMSK_7 4 3 DEVMSK_ 13 DEVMSK_6 DEVMSK_5 Reserved DEVMSK_4 15:08 Reserved 07:00 Reserved Bits Name 31:30 Reserved 29 DEVMSK_13 2 Reserved Description Reserved Device Mask 13 1 0 DEVMSK_9 Reserved DEVMSK_1 Reserved Type Reset Value R 0 R/W 0 R 0 R/W 0 R 0 R/W 0 0 = Rerouting disabled for device 13. 1 = Block assertion of PCI_AD (Pin 29) for configuration transactions to device 13, assert pin PCI_AD (Pin 31) instead. 28:26 Reserved 25 DEVMSK_9 Reserved. Masking for devices 12, 11, and 10 is not implemented. Operation of the PEB383 is unaffected by the value of these bits. Device Mask 9 0 = Rerouting disabled for device 9. 1 = Block assertion of PCI_AD (Pin 25) for configuration transactions to device 9, assert pin PCI_AD (Pin 31) instead. 24 Reserved 23 DEVMSK_7 Reserved. Masking for device 8 is not implemented. Operation of the PEB383 is unaffected by the value of this bit. Device Mask 7 0 = Rerouting disabled for device 7. 1 = Block assertion of PCI_AD (Pin 23) for configuration transactions to device 7, assert pin PCI_AD (Pin 31) instead. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 168 14. Register Descriptions > PCI Capability Registers (Continued) Bits Name 22 DEVMSK_6 Description Device Mask 6 Type Reset Value R/W 0 R/W 0 R/W 0 R 0 R/W 0 R 0 0 = Rerouting disabled for device 6. 1 = Block assertion of PCI_AD (Pin 22) for configuration transactions to device 6, assert pin PCI_AD (Pin 31) instead. 21 DEVMSK_5 Device Mask 5 0 = Rerouting disabled for device 5. 1 = Block assertion of PCI_AD (Pin 21) for configuration transactions to device 5, assert pin PCI_AD (Pin 31) instead. 20 DEVMSK_4 Device Mask 4 0 = Rerouting disabled for device 4. 1 = Block assertion of PCI_AD (Pin 20) for configuration transactions to device 4, assert pin PCI_AD (Pin 31) instead. 19:18 Reserved 17 DEVMSK_1 Reserved. Masking for devices 3 and 2 is not implemented. Operation of the PEB383 is unaffected by the value of these bits. Device Mask 1 0 = Rerouting disabled for device 1. 1 = Block assertion of PCI_AD (Pin 17) for configuration transactions to device 1, assert pin PCI_AD (Pin 31) instead. 16:0 Reserved PEB383 User Manual July 25, 2011 Reserved. Operation of the PEB383 is unaffected by the value of these bits. Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 14.5.8 169 Short-term Caching Period Register Register name: STERM_CACHING_PERIOD Register offset: 0x0B4 Reset value: 0x0000_0040 Bits 7 6 5 4 3 31:24 ST_CACHE 23:16 ST_CACHE 15:08 ST_CACHE 07:00 ST_CACHE Bits Name 31:00 ST_CACHE 2 Description Short Term caching period This field indicates the number of PCI clock cycles allowed before short-term caching is discarded. Integrated Device Technology, Inc. Confidential - NDA Required 1 0 Type Reset value R/W 0x0000_ 0040 PEB383 User Manual July 25, 2011 170 14. Register Descriptions > PCI Capability Registers 14.5.9 Retry Timer Status Register Register name: TIMER_STATUS Register offset: 0x0B8 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 Reserved Bits Name 31:03 Reserved 2 SEC_DIS_STAT 2 1 0 SEC_DIS_ STAT Reserved SEC_R_ STAT Description Type Reset value Reserved R 0x0 Secondary Discard Timer status R 0 Reserved R 0 Secondary Retry timer status R 0 For more information on this timer, see DISCARD2 in "PCI Bridge Control and Interrupt Register". 0 = Secondary discard timer has not expired. 1 = Secondary discard timer has expired. 1 Reserved 0 SEC_R_STAT For more information on this timer, see "Secondary Retry Count Register". 0 = Secondary retry timer has not expired 1 = Secondary retry timer has expired PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCI Capability Registers 14.5.10 171 Prefetch Control Register Register name: PREF_CTRL Register offset: 0x0BC Reset value: 0x0300_0041 Bits 7 6 5 31:24 3 Reserved 23:16 2 1 0 P_MR P_MRL P_MRM MRL_66 15:08 07:00 4 MRL_33 MRL_33 MRM_66 MRM_66 Bits Name 31:27 Reserved 26 P_MR MRM_33 Description Reserved 0 = The PEB383 fetches a Dword of data in case of 32-bit PCI data bus mode. Type Reset value R 0x00 R/W 0 R/W 1 R/W 1 R/W 0x00 R/W 0x00 1 = The PEB383 prefetches as per the value specified in MRL_66/MRL_33 fields on behalf of the PCI master for memory read command. 25 P_MRL 0 = The PEB383 prefetches one cacheline of data. 1 = The PEB383 prefetches as per the value specified in MRL_66/MRL_33 fields on behalf of the PCI master for memory read line command. 24 P_MRM 0 = The PEB383 prefetches two cachelines of data. 1 = The PEB383 prefetches as per the value specified in MRM_66/MRM_33 fields on behalf of PCI master for memory read multiple command. 23:18 MRL_66 This bit indicates the threshold parameter for Memory read line and memory read commands in 66-MHz PCI mode. Unit is 64-byte chunk. 6'h00 = 64 bytes 6'h01 = 128 bytes ... 6'h3F = 4096 bytes 17:12 MRL_33 This bit indicates the threshold parameter for Memory read line and memory read commands in 33-MHz PCI mode. Unit is 64-byte chunk. 6'h00 = 64 bytes 6'h01 = 128 bytes ... 6'h3F = 4096 bytes Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 172 14. Register Descriptions > PCI Capability Registers (Continued) Bits Name 11:6 MRM_66 Description This bit indicates the threshold parameter for Memory read multiple command in 66-MHz PCI mode. Unit is 64-byte chunk. Type Reset value R/W 0x01 R/W 0x01 6'h00 = 64 bytes 6'h01 = 128 bytes ... 6'h3F = 4096 bytes 5:0 MRM_33 This bit indicates the threshold parameter for Memory read multiple command in 33-MHz PCI mode. Unit is 64-byte chunk. 6'h00 = 64 bytes 6'h01 = 128 bytes ... 6'h3F = 4096 bytes PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 14.6 173 PCIe Capability Registers In the PEB383, the PCIe capability is located in PCI 2.3 configuration space at 0x0C0 and contains 20 bytes. When the PEB383 operates in "Legacy Mode" the following registers are not supported and are treated as reserved: 14.6.1 * "PCIe Capability Registers" * "Advanced Error Reporting Capability Registers" PCIe Capabilities Register The PCIe capabilities register defines bytes 0 to 3 of the PCIe capability option. Register name: PCIE_CAP Register offset: 0x0C0 Reset value: 0x0071_0010 Bits 31:24 7 6 5 4 3 Reserved 23:16 2 INT_MN DP_TYPE NXT_PTR 07:00 CAP_ID Name 31:30 Reserved 29:25 INT_MN 0 SLOT_IMP CAP_VER 15:08 Bits 1 Description Type Reset value PCIe Reserved. It always reads 0. R 00 PCIe Interrupt Message Number R 00000 R 0 R 0111 R 0001 R 0x00 The PEB383 device does not have slot status or root port status. It always reads 0. 24 SLOT_IMP PCIe Slot Implemented This field is not applicable for a bridge device. It always reads 0. 23:20 DP_TYPE PCIe Device Port Type This field indicates the device is a PCIe bridge device. 19:16 CAP_VER PCIe Capability Version This field returns a version number of 1 indicating it supports PCIe 1.1 capabilities. 15:08 NXT_PTR Next Pointer This field points to the next capability option. In the PEB383, this will contain a value of 0x00 indicating there are no more PCI compatible capabilities options. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 174 14. Register Descriptions > PCIe Capability Registers (Continued) Bits Name 07:00 CAP_ID Description Capability ID Type Reset value R 0x10 This field contains the value 0x10 indicating a PCIe capability option. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 14.6.2 175 PCIe Device Capabilities Register This register defines bytes 4 to 7 of the PCIe capability option. Register name: PCIE_DEV_CAP Register offset: 0x0C4 Reset value: 0x0000_8000 Bits 7 6 31:24 5 07:00 3 Reserved 23:16 15:08 4 2 1 PL_SCL PL_VAL PL_VAL ROL_BAS_ ERR_REP Bits Name 31:28 Reserved 27:26 PL_SCL Reserved Reserved L0S_LAT 0 L1_LAT EXT_TAG PH_FUNC Description L0S_LAT MAX_SIZE Type Reset value PCIE Reserved. It always reads 0. R 0000 PCIe Captured Slot Power Limit Scale R 00 R 0x00 PCIe Reserved. It always reads 0. R 000 Role-based Error Reporting R 1 This field specifies the scale used for the Slot Power Limit Value. 00 = 1.0x 01 = 0.1x 10 = 0.01x 11 = 0.001x This value is set by the Set_Slot_Power_Limit Message. The default value is 00. 25:18 PL_VAL PCIe Captured Slot Power Limit Value In combination with the Slot Power Limit Scale value, this field specifies the upper limit on power supplied by the slot. Power limit (in Watts) calculated by multiplying the value in this field by the value in the Slot Power Limit Scale field. This value is set by the Set_Slot_Power_Limit Message. The default value is 0x00. 17:16 Reserved 15 ROL_BAS_ERR_ REP This bit, when set, indicates that the device uses the functionality defined in the Error Reporting ECN for the PCIe Base Specification, (Revision 1.0a), and later incorporated into the PCI Express Base Specification (Revision 1.1). This bit must be set by all devices conforming to the ECN, PCIe 1.1 Specification, or subsequent PCIe Base Specification revisions. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 176 14. Register Descriptions > PCIe Capability Registers (Continued) Bits Name Description Type Reset value 14:12 Reserved The Value read from these bits is 0b000. Previous version of the PCI specification had defined theses bits, they are now defined as read only, and return 0b000. R 000 R 000 R 000 R 0 R 00 R 000 System software is permitted to write any value to these bits. 11:9 L1_LAT PCIe Endpoint L1 Acceptable Latency This field indicates the acceptable latency for transition from L1 to L0 state. This field is set to 0b000 since the PEB383 is not an endpoint. 8:6 L0S_LAT PCIe Endpoint L0s Acceptable Latency This field indicates the acceptable latency for transition from L0s to L0 state. This field is set to 0b000 since the PEB383 is not an endpoint. 5 EXT_TAG PCIe Extended Tag Field Supported This field contains the value 0 indicating 5-bit tag fields are supported. 4:3 PH_FUNC PCIe Phantom Functions Supported This field is 0 indicating no phantom functions are used. 2:0 MAX_SIZE PCIe Maximum Payload Size Supported 000 = 128 bytes PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 14.6.3 177 PCIe Device Control and Status Register This register defines bytes 8 to 11 of the PCIe capability option. Register name: PCIE_DEV_CSR Register offset: 0x0C8 Reset value: 0x0000_2000 Bits 7 6 5 4 31:24 23:16 15:08 07:00 3 2 1 0 UNS_REQ_ DTD FTL_ERR_ DTD NFTL_ ERR_DTD COR_ERR _DTD EN_SNP_ NREQ AUX_PWR _PM_EN PHN_EN EXT_TAG_ EN UNS_REQ_ EN FTL_ERR_ EN NFTL_ ERR_EN COR_ERR _EN Reserved Reserved TRAN_ PND CFG_RETR Y_EN AUX_PWR _DTD MAX_RD_SIZE MAX_PAY_SIZE Bits Name 31:22 Reserved 21 TRAN_PND EN_RLX_ ORD Description Type Reset value PCIe Reserved. It always reads 0. R 0x000 PCIe Transaction Pending R 0 R 0 R/W1C 0 R/W1C 0 This field indicates the PEB383 issued Non-Posted Requests that have not been completed. 0 = No pending completion of Non-Posted Requests. 1 = Pending completion of Non-Posted Requests. 20 AUX_PWR_DTD PCIe Aux Power Detected This field indicates whether the PEB383 detected AUX power. The PEB383, however, does not require the Auxiliary Power. 0 = No Aux power detected. 1 = Aux power detected. 19 UNS_REQ_DTD PCIe Unsupported Request Detected This field indicates whether an unsupported request was detected. 0 = No error detected. 1 = Error detected. Writing 1 clears this error. 18 FTL_ERR_DTD PCIe Fatal Error Detected This field indicates whether a fatal error was detected. 0 = No error detected. 1 = Error detected. Writing 1 clears this error. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 178 14. Register Descriptions > PCIe Capability Registers (Continued) Bits Name 17 NFTL_ERR_DTD Description PCIe Non-Fatal Error Detected Type Reset value R/W1C 0 R/W1C 0 R/W 0 R/W 010 R 0 R/W 0 R 0 R 0 This field indicates whether a non-fatal error was detected. 0 = No error detected. 1 = Error detected. Writing 1 clears this error. 16 COR_ERR_DTD PCIe Correctable Error Detected This field indicates whether a correctable error was detected. 0 = No error detected. 1 = Error detected. Writing 1 clears this error. 15 CFG_RETRY_EN Bridge Configuration Retry Enable 0 = Disable the PEB383 to return Configuration Request Retry Status (CRS) in response to Configuration Requests to the target devices below the bridge. 1 = Enable the PEB383 to return Configuration Request Retry Status (CRS) in response to Configuration Requests to the target devices below the bridge. 14:12 MAX_RD_SIZE PCIe Max Read Request Size This field sets the maximum read request size for the PEB383 as a requestor. 000 = 128 bytes 001 = 256 bytes 010 = 512 bytes 011 = 1024 bytes 100 = 2048 bytes 101 = 4096 bytes 110-111 = Reserved. 11 EN_SNP_NREQ PCIe Enable Snoop Not Required The PEB383 does not set the No Snoop attribute. This bit is hardwired to 0. 10 AUX_PWR_PM_ EN PCIe Aux Power PM Enable When this bit is set the PEB383 can draw AUX power independent of PME AUX power. 0 = Do not allow use of AUX power other than PME AUX. 1 = Allow use of AUX power other than PME AUX. 9 PHN_EN PCIe Phantom Functions Enable The PEB383 does not use phantom functions. This bit always returns 0. 8 EXT_TAG_EN PCIe Extended Tag Field Enable The PEB383 does not support extended tag fields. This bit always returns 0. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 179 (Continued) Bits Name 7:5 MAX_PAY_SIZE Description PCIe Maximum Payload Size Type Reset value R/W 000 R 0 R/W 0 R/W 0 R/W 0 R/W 0 This field indicates the maximum payload size that can be used for data transmission by the PEB383. This must be a subset of the size reported by MAX_SIZE in "PCIe Device Capabilities Register". 000-111 = 128 bytes 4 EN_RLX_ORD PCIe Enable Relaxed Ordering This field controls whether relaxed ordering for transactions is enabled. 0 = Relaxed ordering is disabled. 1 = Relaxed ordering is enabled. 3 UNS_REQ_EN PCIe Unsupported Request Reporting Enable This field controls reporting of unsupported requests. 0 = No error reporting. 1 = Error reporting enabled. 2 FTL_ERR_EN PCIe Fatal Error Reporting Enable This bit, in conjunction with other bits, controls sending ERR_FATAL messages (for more information, see Figure 22). 0 = No error reporting. 1 = Error reporting enabled. 1 NFTL_ERR_EN PCIe Non-Fatal Error Reporting Enable This bit, in conjunction with other bits, controls sending ERR_NONFATAL messages (for more information, see Figure 22). 0 = No error reporting. 1 = Error reporting enabled. 0 COR_ERR_EN PCIe Correctable Error Reporting Enable This bit, in conjunction with other bits, controls sending ERR_COR messages (for more information, see Figure 22). 0 = No error reporting. 1 = Error reporting enabled. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 180 14. Register Descriptions > PCIe Capability Registers 14.6.4 PCIe Link Capabilities Register Register name: PCIE_LNK_CAP Register offset: 0x0CC Reset value: 0x0001_3C11 Bits 7 6 5 31:24 3 2 SRP_DWN _ERR_REP _CAP CLK_PWR_ MGT 1 0 PORT_NUM 23:16 15:08 4 Reserved L1_EXIT 07:00 DLL_LNK_ ACT_REP_ CAP L0S_EXIT ASPM MAX_WIDTH MAX_WIDTH Bits Name 31:24 PORT_NUM L1_EXIT MAX_SPEED Description Type Reset value R 0x00 PCIe Reserved. This field always reads 0. R 0x00 Data Link Layer Link Active Reporting Capable R 0 R 0 PCIe Port Number The PEB383 always reports a port number of 0 for this field. 23:21 Reserved 20 DLL_LNK_ACT_ REP_CAP For a downstream port, this bit must be set to 1 if the component can report the DL_Active state of the Data Link Control and Management State Machine. For a hot-plug capable downstream port, this bit must be set to 1. For upstream ports and components that do not support this capability, this bit must be hardwired to 0. Note: The PEB383 does not support DLL_LNK_ACT_REP_CAP. This field always reads 0. 19 SRP_DWN_ERR_ REP_CAP Surprise Down Error Reporting Capable For a downstream port, this bit must be set to 1 if the component can detect and report a Surprise Down error condition. For upstream ports and components that do not support this capability, this bit must be hardwired to 0. Note: The PEB383 does not support SRP_DWN_ERR_REP_CAP. This field always reads 0. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 181 (Continued) Bits Name 18 CLK_PWR_MGT Description Clock Power Management Type Reset value R 0 RWL 010 RWL 011 R 11 R 0x01 R 0x1 0 = The component does not have this capability, and the reference clock(s) must not be removed in these link states. 1 = The component tolerates the removal of any reference clock(s) via the "clock request" (CLKREQ#) mechanism when the link is in the L1 and L2/3 Ready link states. This capability is applicable only in form factors that support "clock request" (CLKREQ#) capability. For a multifunction device, each function indicates its capability independently. Power Management configuration software must only permit reference clock removal if all functions of the multifunction device indicates a 1 in this bit. Note: The PEB383 does not support CLK_PWR_MGT. This field always reads 0. 17:15 L1_EXIT PCIe L1 Exit Latency L1 exit latency is between 2 and 4 us. 14:12 L0S_EXIT PCIe L0s Exit Latency The PEB383 L0s exit latency will be as 256-512ns which will be reported as 0b011. This value can be overwritten by the serial EEPROM. 000 = Less than 64 ns 001 = 64 ns to less than 128 ns 010 = 128 ns to less than 256 ns 011 = 256 ns to less than 512 ns 100 = 512 ns to less than 1 us 101= 1 us to less than 2us 110 = 2-4 us 111 = More than 4 us 11:10 ASPM PCIe ASPM Support The PEB383 supports the L0s and L1 ASPM state. This field always returns 11. 09:04 MAX_WIDTH PCIe Maximum Link Width This field indicates the maximum number of PCIe lanes that can be used for communicating with the PEB383. 0x01 = 1 PCIe lane 03:00 MAX_SPEED PCIe Maximum Link Speed This field is always 1 indicating a 2.5-Gbps link. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 182 14. Register Descriptions > PCIe Capability Registers 14.6.5 PCIe Link Control Register This register defines bytes 16 to 17 of the PCIe capability option. Register name: PCIE_LNK_CSR Register offset: 0x0D0 Reset value: 0x0011_0000 Bits 31:24 7 6 Reserved 23:16 5 4 DLL_LNK_ ACT SLT_CLK_ CONFIG 2 1 Reserved 0 NEG_LNK_WIDTH NEG_LNK_WIDTH LNK_SPEED 15:08 07:00 3 Reserved E_SYNC Bits Name 31:30 Reserved 29 28 COM_CLK RETRAIN LNK_DIS RCB Reserved Description ASPM_CTL Type Reset value Reserved R 00 DLL_LNK_ACT Data Link Layer Active. This bit indicates the status of the Data Link Control and Management State Machine. This bit is hardwired to 0. R 0 SLT_CLK_CONFIG Slot Clock Configuration. This bit indicates the PEB383 uses the same physical reference clock that the platform provides on the connector. R 0 Reserved R 0 Negotiated Link Width. This field indicates the negotiated width of the PCIe Link. R 0x01 R 0x1 R 0x00 R/W 0 This bit can be loaded from the serial EEPROM as part of the PCB configuration information. 27:26 Reserved 25:20 NEG_LNK_WIDTH 000001 = x1 lane 19:16 LNK_SPEED Link Speed. This field indicates the negotiated Link Speed of the PCIe Link. 0001 = 2.5-Gbps PCIe Link 15:8 Reserved Reserved 7 E_SYNC PCIe Extended Synchronization This field is normally only used when attempting to capture the PCIe link on an analyzer since it allows the synchronization cycle to be extended allowing the analyzer to synchronize to the link. 0 = Normal operation. 1 = Enable extended synchronization PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > PCIe Capability Registers 183 (Continued) Bits Name 6 COM_CLK Description PCIe Common Clock Configuration Type Reset value R/W 0 R 0 R 0 R/W 0 R 0 R/W 00 This field selects between a distributed common reference clock or an asynchronous reference clock. After setting both ends of the link to the same value, the link must be retrained from the bridge side of the link. Components use this common clock configuration information to report the correct L0s and L1 Exit Latencies. 0 = Asynchronous reference clock 1 = Distributed common reference clock 5 RETRAIN PCIe Retrain Link This field is reserved for a bridge device. It always reads 0. 4 LNK_DIS PCIe Link Disable This field is reserved for a bridge device. It always reads 0. 3 RCB PCIe Read Completion Boundary This field is set by system software to indicate the read completion boundary value of the upstream root port. 0 = 64 bytes 1 = 128 bytes 2 Reserved 1:0 ASPM_CTL PCIe Reserved. It always reads 0. PCIe ASPM Control This field enables different levels of ASPM. 00: Disabled 01 :L0s Entry enabled 10: L1 entry enabled 11: L0s and L1 entry enabled Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 184 14. Register Descriptions > Downstream Non-transparent Address Remapping Registers 14.7 Downstream Non-transparent Address Remapping Registers 14.7.1 Secondary Bus Non-prefetchable Address Remap Control Register Register name: AR_SBNPCTRL Register offset: 0x0E4 Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 SEC_NP_LBASE 23:16 SEC_NP_LBASE 15:08 Reserved Reserved 07:00 Reserved IO_SIZE NP_REMA PP_EN Reserved Bits Name 31:20 SEC_NP_LBASE 19:13 Reserved Reserved. 12:8 IO_SIZE This field describes how many upper bits of a downstream I/O address are discarded. 7:4 Reserved Reserved. 3 NP_REMAPP_EN 2:0 Reserved PEB383 User Manual July 25, 2011 Description Secondary non-prefetchable lower base. 1 = Enable non-prefetchable address remapping Reserved. Type Reset value R/W 0x000 R 0x00 R/W 0x00 R 0x0 R/W 0x0 R 0x0 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Downstream Non-transparent Address Remapping Registers 14.7.2 185 Secondary Bus Non-prefetchable Upper Base Address Remap Register Register name: AR_SBNPBASE Register offset: 0x0E8 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 SEC_NP_UBA 23:16 SEC_NP_UBA 15:08 SEC_NP_UBA 07:00 SEC_NP_UBA Bits Name 31:00 SEC_NP_UBA 14.7.3 2 Description Secondary bus non-prefetchable upper base. 1 0 Type Reset value R/W 0x000 Secondary Bus Prefetchable Address Remap Control Register Register name: AR_SBPPRECTRL Register offset: 0x0EC Reset value: 0x0000_0000 Bits 7 6 5 31:24 4 3 2 1 0 SEC_PRE_LBA 23:16 SEC_PRE_LBA 15:08 Reserved Reserved 07:00 Reserved Bits Name 31:20 SEC_PRE_LBA 19:4 Reserved 3 PRE_REMAP_EN PRE_REM AP_EN Description Secondary bus prefetchable lowerbase. Reserved. 0 = Disable prefetchable address remapping Reserved Type Reset value R/W 0x000 R 0x0000 R/W 0x0 R 0x0 1 = Enable prefetchable address remapping 2:0 Reserved Reserved. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 186 14.7.4 14. Register Descriptions > Downstream Non-transparent Address Remapping Registers Secondary Bus Prefetchable Upper Base Address Remap Register Register name: AR_SBPREBASEUPPER Register offset: 0x0F0 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 SEC_PRE_UBA 23:16 SEC_PRE_UBA 15:08 SEC_PRE_UBA 07:00 SEC_PRE_UBA Bits Name 31:00 SEC_PRE_UBA 14.7.5 2 Description Secondary bus non-prefetchable upper base. 1 0 Type Reset value R/W 0x000 Primary Bus Non-prefetchable Upper Base Address Remap Register Register name: AR_PBNPBASEUPPER Register offset: 0x0F4 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 PRI_NP_UBA 23:16 PRI_NP_UBA 15:08 PRI_NP_UBA 07:00 PRI_NP_UBA Bits Name 31:00 PRI_NP_UBA PEB383 User Manual July 25, 2011 Description Primary bus non-prefetchable upper base. 2 1 0 Type Reset value R/W 0x0000_000 0 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Downstream Non-transparent Address Remapping Registers 14.7.6 187 Primary Bus Non-prefetchable Upper Limit Remap Register Register name: AR_PBNPLIMITUPPER Register offset: 0x0F8 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 PRI_NP_ULA 23:16 PRI_NP_ULA 15:08 PRI_NP_ULA 07:00 PRI_NP_ULA Bits Name 31:00 PRI_NP_ULA Description Primary bus non-prefetchable upper Limit Integrated Device Technology, Inc. Confidential - NDA Required 2 1 0 Type Reset value R/W 0x0000_000 0 PEB383 User Manual July 25, 2011 188 14.8 14. Register Descriptions > Advanced Error Reporting Capability Registers Advanced Error Reporting Capability Registers When the PEB383 operates in "Legacy Mode" the following registers are not supported and are treated as reserved: 14.8.1 * "PCIe Capability Registers" * "Advanced Error Reporting Capability Registers" PCIe Advanced Error Reporting Capability Register Register name: PCIE_ADV_ERR_CAP Register offset: 0x100 Reset value: 0x0001_0001 Bits 7 6 5 31:24 4 3 2 1 0 NXT_CAP_OFF 23:16 NXT_CAP_OFF CAP_VER 15:08 EXT_CAP_ID 07:00 EXT_CAP_ID Bits Name 31:20 NXT_CAP_OFF Description Next Capability Offset Type Reset value R 0x000 R 0x1 R 0x0001 This field contains the offset to the next PCIe capability structure or 0x000 if no other items exist in the linked list of capabilities. For Extended Capabilities implemented in device configuration space, this offset is relative to the beginning of PCI compatible configuration space and thus must always be either 0x000 (for terminating list of capabilities) or greater than 0x0FF. 19:16 CAP_VER Capability Version This field is a PCI-SIG defined version number that indicates the version of the capability structure present. 15:0 EXT_CAP_ID PCIe Extended Capability ID This field is a PCI-SIG defined ID number that indicates the function and format of the extended capability. The Extended Capability ID for the Advanced Error Reporting Capability is 0x0001. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.2 189 PCIe Uncorrectable Error Status Register Register name: PCIE_UNC_ERR_STAT Register offset: 0x104 Reset value: 0x0000_0000 Bits 7 6 5 4 31:24 2 1 0 ECRC MAL_TLP RXO UXC Reserved 23:16 15:08 3 Reserved CA CTO 07:00 UR FCPE Reserved Bits Name 31:21 Reserved 20 UR 19 ECRC 18 MAL_TLP 17 PTLP DLPE Description Reserved Reserved Undefined Type Reset value R 0x000 Unsupported Request Error Status R/W1CS 0 ECRC Error Status R/W1CS 0 Malformed TLP Status R/W1CS 0 RXO Receiver Overflow Status R/W1CS 0 16 UXC Unexpected Completion Status R/W1CS 0 15 CA Completer Abort Status R/W1CS 0 14 CTO Completion Timeout Status R/W1CS 0 13 FCPE Flow Control Protocol Error Status R/W1CS 0 12 PTLP Poisoned TLP Status R/W1CS 0 11:5 Reserved R 0x00 4 DLPE R/W1CS 0 3:1 Reserved Reserved R 000 0 Undefined Undefined R 0 Reserved Reserved Data Link Protocol Error Status Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 190 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.3 PCIe Uncorrectable Error Mask Register Register name: PCIE_UERR_MASK Register offset: 0x108 Reset value: 0x0000_0000 Bits 7 6 5 4 31:24 2 1 0 ECRC MAL_TLP RXO UXC Reserved 23:16 15:08 3 Reserved CA CTO 07:00 UR FCPE Reserved Bits Name 31:21 Reserved 20 UR 19 ECRC 18 MAL_TLP 17 PTLP DLPE Reserved Undefined Type Reset value R 0x000 Unsupported Request Error Mask R/WS 0 ECRC Error Mask R/WS 0 Malformed TLP Mask R/WS 0 RXO Receiver Overflow Mask R/WS 0 16 UXC Unexpected Completion Mask R/WS 0 15 CA Completer Abort Mask R/WS 0 14 CTO Completion Timeout Mask R/WS 0 13 FCPE Flow Control Protocol Error Mask R/WS 0 12 PTLP Poisoned TLP Mask R/WS 0 11:5 Reserved R 0x00 4 DLPE R/WS 0 3:1 Reserved Reserved R 000 0 Undefined Undefined R 0 PEB383 User Manual July 25, 2011 Description Reserved Reserved Reserved Data Link Protocol Error Mask Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.4 191 PCIe Uncorrectable Error Severity Register Register name: PCIE_UNC_ERR_SEV Register offset: 0x10C Reset value: 0x0006_2030 Bits 7 6 5 4 31:24 07:00 2 1 0 ECRC MAL_TLP RXO UXC Reserved 23:16 15:08 3 Reserved CA CTO Reserved Bits Name 31:21 Reserved 20 UR 19 ECRC 18 MAL_TLP 17 16 UR FCPE PTLP SDES DLPE Reserved Reserved Description Unused Type Reset value R 0x000 Unsupported Request Error Severity R/WS 0 ECRC Error Severity R/WS 0 Malformed TLP Severity R/WS 1 RXO Receiver Overflow Severity R/WS 1 UXC Unexpected Completion Severity R/WS 0 Completer Abort Severity R/WS 0 Reserved Note: In the PCI Express Base Specification (Revision 1.1), Unexpected Completions are only reported as correctable errors: this bit should not be set to 1. 15 CA 14 CTO Completion Timeout Severity R/WS 0 13 FCPE Flow Control Protocol Error Severity R/WS 1 12 PTLP Poisoned TLP Severity R/WS 0 11:6 Reserved R 0x00 5 SDES Surprise Down Error Severity R/WS 1 4 DLPE Data Link Protocol Error Severity R/WS 1 3:1 Reserved Reserved R 000 0 Unused Reserved R 0 Reserved Note: Bit 0 is Training Error Status for PCIe 1.0a, but is not defined for the PCI Express Base Specification (Revision 1.1). Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 192 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.5 PCIe Correctable Error Status Register Register name: PCIE_COR_ERR Register offset: 0x110 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 07:00 Reserved B_DLLP Bits Name 31:14 Reserved 13 ANFE 12 RT_TO 11:9 Reserved 8 RN_RO 7 B_DLLP ANFE RT_TO B_TLP 2 1 Reserved 0 RN_RO Reserved RXE Description Type Reset value R 0x00000 Advisory Non-Fatal Error Status R/W1CS 0 Replay Timer Timeout Status R/W1CS 0 R 000 REPLAY_NUM Rollover Status R/W1CS 0 Bad DLLP Status R/W1CS 0 R/W1CS 0 R 0x0 R/W1CS 0 Reserved Reserved This bit is set to indicate the following conditions: * Calculated CRC was not equal to received CRC. 6 B_TLP Bad TLP Status This bit is set to indicate the following conditions: * Physical layer indicated errors with the TLP * TLP ended with EDB, but calculated CRC was not the logical NOT of the received CRC * Calculated CRC was not equal to the received CRC 5:1 Reserved 0 RXE PEB383 User Manual July 25, 2011 Reserved Receiver Error Status Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.6 193 PCIe Correctable Error Mask Register Register name: PCIE_COR_MASK Register offset: 0x114 Reset value: 0x0000_2000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 07:00 Reserved B_DLLP Bits Name 31:14 Reserved 13 ANFE 12 RT_TO 11:9 Reserved 8 RN_RO 7 B_DLLP 6 B_TLP 5:1 Reserved 0 RXE ANFE RT_TO B_TLP 2 1 Reserved RN_RO Reserved Description 0 RXE Type Reset value R 0x00000 Advisory Non-Fatal Error Mask R/WS 1 Replay Timer Timeout Mask R/WS 0 R 000 REPLAY_NUM Rollover Mask R/WS 0 Bad DLLP Mask R/WS 0 Bad TLP Mask R/WS 0 R 0x0 R/WS 0 Reserved Reserved Reserved Receiver Error Mask Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 194 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.7 PCIe Advanced Error Capabilities and Control Register Register name: PCIE_ADV_ERR_CAP_CTRL Register offset: 0x118 Reset value: 0x0000_00A0 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 07:00 2 1 Reserved EC_CAP Bits Name 31:9 Reserved 8 EC_EN EG_EN EG_CAP 0 EC_EN ERR_PTR Description Reserved ECRC Check Enable Type Reset value R 0x0000_00 R/WS 0 R 1 R/WS 0 R 1 RS 0 0 = Disable 1 = Enable 7 EC_CAP ECRC Check Capable This bit indicates the PEB383 can check ECRC. 6 EG_EN ECRC Generation Enable 0 = Disable 1 = Enable 5 EG_CAP ECRC Generation Capable This bit indicates the PEB383 can generate ECRC. 4:0 ERR_PTR First Error Pointer This pointer is a read-only field that identifies the bit position of the first error reported in the "PCIe Uncorrectable Error Status Register". PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.8 195 PCIe Header Log 1 Register Register name: PCIE_HL1 Register offset: 0x11C Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 HEADER[127:120] 23:16 HEADER[119:112] 15:08 HEADER[111:104] 07:00 HEADER[103:96] Bits Name 31:00 HEADER[127:96] 14.8.9 2 Description Header of TLP associated with error. 1 0 Type Reset value RS 0 PCIe Header Log 2 Register Register name: PCIE_HL2 Register offset: 0x120 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 HEADER[95:88] 23:16 HEADER[87:80] 15:08 HEADER[79:72] 07:00 HEADER[71:64] Bits Name 31:00 HEADER[95:64] Description Header of TLP associated with error. Integrated Device Technology, Inc. Confidential - NDA Required 2 1 0 Type Reset value RS 0 PEB383 User Manual July 25, 2011 196 14.8.10 14. Register Descriptions > Advanced Error Reporting Capability Registers PCIe Header Log 3 Register Register name: PCIE_HL3 Register offset: 0x124 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 HEADER[63:56] 23:16 HEADER[55:48] 15:08 HEADER[47:40] 07:00 HEADER[39:32] Bits Name 31:00 HEADER[63:32] 14.8.11 2 Description Header of TLP associated with error. 1 0 Type Reset value RS 0 PCIe Header Log 4 Register Register name: PCIE_HL4 Register offset: 0x128 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 HEADER[31:24] 23:16 HEADER[23:16] 15:08 HEADER[15:08] 07:00 HEADER[07:00] Bits Name 31:00 HEADER[31:00] PEB383 User Manual July 25, 2011 Description Header of TLP associated with error. 2 1 0 Type Reset value RS 0 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.12 197 PCIe Secondary Uncorrectable Error Status Register Register name: PCIE_SEC_UERR_STAT Register offset: 0x12C Reset value: 0x0000_0000 Bits 7 6 5 4 31:24 Reserved 23:16 Reserved 15:08 07:00 Reserved UDERR Bits Name 31:14 Reserved 13 IB_ERR USCM 3 2 1 0 IB_ERR SERR_AD PERR_AD DTDTE UADD_ ERR UATT_ERR USCE Reserved R_MA R_TA MA_SC TA_SC Description Type Reset value Reserved R 0x0000_0 Internal Bridge Error Status (No Header Log). R 0 The PEB383 never sets this bit. 12 SERR_AD SERR# Assertion Detected (No Header Log) R/W1CS 0 11 PERR_AD PERR# Assertion Detected R/W1CS 0 10 DTDTE Delayed Transaction Discard Timer Expired Status (No Header Log) R/W1CS 0 9 UADD_ERR Uncorrectable Address Error Status R/W1CS 0 8 UATT_ERR Uncorrectable Attribute Error Status R/W1CS 0 7 UDERR Uncorrectable Data Error Status R/W1CS 0 6 USCM Uncorrectable Split Completion Message Data Error Statusa R/W1CS 0 5 USCE Unexpected Split Completion Error Statusa R/W1CS 0 4 Reserved R 0 3 R_MA Received Master-Abort Status R/W1CS 0 2 R_TA Received Target-Abort Status R/W1CS 0 1 MA_SC Master-Abort on Split Completion Statusa R/W1CS 0 0 TA_SC Target-Abort on Split Completion Statusa R/W1CS 0 Reserved a. The PEB383 never sets this bit since it does not support PCI-X. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 198 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.13 PCIe Secondary Uncorrectable Error Mask Register Register name: PCIE_SEC_UERR_MASK Register offset: 0x130 Reset value: 0x0000_17A8 Bits 7 6 5 4 31:24 Reserved 23:16 Reserved 15:08 07:00 Reserved UDERR Bits Name 31:14 Reserved 13 IB_ERR 12 USCM 3 2 1 0 IB_ERR SERR_AD PERR_AD DTDTE UADD_ ERR UATT_ERR USCE Reserved R_MA R_TA MA_SC TA_SC Description Type Reset value R 0x0000_0 Internal Bridge Error Mask (No Header Log) R/WS 0 SERR_AD SERR# Assertion Detected Mask (No Header Log) R/WS 1 11 PERR_AD PERR# Assertion Detected Mask R/WS 0 10 DTDTE Delayed Transaction Discard Timer Expired Mask (No Header Log) R/WS 1 9 UADD_ERR Uncorrectable Address Error Mask R/WS 1 8 UATT_ERR Uncorrectable Attribute Error Mask R/WS 1 7 UDERR Uncorrectable Data Error Mask R/WS 1 6 USCM Uncorrectable Split Completion Message Data Error Maska R/WS 0 5 USCE Unexpected Split Completion Error Maska R/WS 1 4 Reserved R 0 3 R_MA Received Master-Abort Mask R/WS 1 2 R_TA Received Target-Abort Mask R/WS 0 1 MA_SC Master-Abort on Split Completion Maska R/WS 0 0 TA_SC Target-Abort on Split Completion Maska R/WS 0 Reserved Reserved a. This bit has no effect on the PEB383 since it does not support PCI-X. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.14 199 PCIe Secondary Uncorrectable Error Severity Register Register name: PCIE_SEC_UERR_SEV Register offset: 0x134 Reset value: 0x0000_1340 Bits 7 6 5 4 31:24 Reserved 23:16 Reserved 15:08 07:00 Reserved UDERR Bits Name 31:14 Reserved 13 IB_ERR 12 USCM 3 2 1 0 IB_ERR SERR_AD PERR_AD DTDTE UADD_ ERR UATT_ERR USCE Reserved R_MA R_TA MA_SC TA_SC Description Type Reset value R 0x0000_0 Internal Bridge Error Severity (No Header Log) R/WS 0 SERR_AD SERR# Assertion Detected Severity (No Header Log) R/WS 1 11 PERR_AD PERR# Assertion Detected Severity R/WS 0 10 DTDTE Delayed Transaction Discard Timer Expired Severity (No Header Log) R/WS 0 9 UADD_ERR Uncorrectable Address Error Severity R/WS 1 8 UATT_ERR Uncorrectable Attribute Error Severity R/WS 1 7 UDERR Uncorrectable Data Error Severity R/WS 0 6 USCM Uncorrectable Split Completion Message Data Error Severitya R/WS 1 5 USCE Unexpected Split Completion Error Severitya R/WS 0 4 Reserved R 0 3 R_MA Received Master-Abort Severity R/WS 0 2 R_TA Received Target-Abort Severity R/WS 0 1 MA_SC Master-Abort on Split Completion Severity R/WS 0 0 TA_SC Target-Abort on Split Completion Severity R/WS 0 Reserved Reserved a. This bit has no effect on the PEB383 since it does not support PCI-X. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 200 14.8.15 14. Register Descriptions > Advanced Error Reporting Capability Registers PCIe Secondary Error Capabilities and Control Register Register name: PCIE_ERR_CAP_CTRL Register offset: 0x138 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 Reserved Bits Name 31:05 Reserved 04:00 SUFEP 14.8.16 2 1 0 SUFEP Description Reserved Secondary Uncorrectable First Error Pointer. Type Reset value R 0 RS 0x00 PCIe Secondary Header Log 1 Register Register name: PCIE_SEC_HL1 Register offset: 0x13C Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 TRAN_ATT[31:24] 23:16 TRAN_ATT[23:16] 15:08 TRAN_ATT[15:08] 07:00 TRAN_ATT[07:00] Bits Name 31:00 TRAN_ATT[31:00] Description Transaction Attribute 2 1 0 Type Reset value RS 0x0 This field is [31:0] of the 36-bit value transferred on C/BE[3:0]# and AD[31:0] during the attribute phase. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.17 201 PCIe Secondary Header Log 2 Register Register name: PCIE_SEC_HL2 Register offset: 0x140 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 2 1 15:08 Reserved TRAN_CU 07:00 TRAN_CL TRAN_ATT[35:32] Bits Name Description 31:12 Reserved Reserved 11:08 TRAN_CU Transaction Command Upper 0 Type Reset value R 0 RS 0x0 RS 0x0 RS 0x0 This value is transferred on C/BE[3:0]# during the second address phase of a DAC transaction. 07:04 TRAN_CL Transaction Command Lower This value is transferred on C/BE[3:0]# during the first address phase. 3:0 TRAN_ATT[35:32] Transaction Attribute This field is [35:32] of the 36-bit value transferred on C/BE[3:0]# and AD[31:0] during the attribute phase. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 202 14.8.18 14. Register Descriptions > Advanced Error Reporting Capability Registers PCIe Secondary Header Log 3 Register Register name: PCIE_SEC_HL3 Register offset: 0x144 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 TRAN_ADD[31:24] 23:16 TRAN_ADD[23:16] 15:08 TRAN_ADD[15:08] 07:00 TRAN_ADD[07:00] Bits Name 31:00 TRAN_ADD[31:00] 2 Description Transaction Address 1 0 Type Reset value RS 0x0 This is the first 32 bits of the 64-bit value transferred on AD[31:0] during the first and second address phases. The first address phase is logged in this field, and the second address is logged in "PCIe Secondary Header Log 4 Register". 14.8.19 PCIe Secondary Header Log 4 Register Register name: PCIE_SEC_HL4 Register offset: 0x148 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 TRAN_ADD[63:56] 23:16 TRAN_ADD[55:48] 15:08 TRAN_ADD[47:40] 07:00 TRAN_ADD[39:32] Bits Name 31:00 TRAN_ADD[63:32] 2 Description Transaction Address 1 0 Type Reset value RS 0x0 This is the second 32 bits of the 64-bit value transferred on AD[31:0] during the first and second address phases. The first address phase is logged in "PCIe Secondary Header Log 3 Register", and the second address phase is logged in this field. In the case of a 32-bit address, this field is set to 0. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.20 203 Replay Latency Register Register name: REPLAY_LATENCY Register offset: 0x208 Reset value: 0x0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 REPLAY_L AT_EN 2 1 0 REPLAY_LATENCY 07:00 REPLAY_LATENCY Bits Name 31:16 Reserved 15 REPLAY_LAT_EN 14:00 REPLAY_LATENCY Description Type Reset value R 0 Replay Latency Enable R/W 0 Replay Latency timer value is overwritten by this value if REPLAY_LAT_EN is set to b1. R/W 0x0000 Reserved Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 204 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.21 ACK/NACK Update Latency Register Register name: ACKNAK_UPD_LAT Register offset: 0x20C Reset value: 0x0009_0009 Bits 7 6 31:24 UPDATE_ LAT_EN 5 3 Reserved 23:16 15:08 4 2 1 0 UPDATE_LATENCY UPDATE_LATENCY ACKNAK_ LAT_EN Reserved 07:00 ACKNAK_LATENCY ACKNAK_LATENCY Bits Name 31 UPDATE_LAT_EN 30:28 Reserved 27:16 UPDATE_LATENCY 15 ACKNAK_LAT_EN 14:13 Reserved 12:00 ACKNAK_LATENCY PEB383 User Manual July 25, 2011 Description Type Reset value R/W 0x0 R 0 Update Latency timer value is overwritten with this value if UPDATE_LAT_EN is set to b1. R/W 0x009 Ack/Nak Latency Enable R/W 0x0 R 0 R/W 0x0009 Update Latency Enable Reserved. Reserved. Ack/Nak Latency timer value is overwritten with this value if ACKNAK_LAT_EN is set to b1. Integrated Device Technology, Inc. Confidential - NDA Required 14. Register Descriptions > Advanced Error Reporting Capability Registers 14.8.22 205 N_FTS Register Register name: N_FTS Register offset: 0x210 Reset value: 0x0000_0020 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 07:00 N_FTS Bits Name 31:08 Reserved 07:00 N_FTS Description Reserved This register indicates the N_FTS count value to be advertised to the other end component. 2 1 0 Type Reset value R 0x0 R/W 0x20 Note: This value should fall in the L0s exit latency value range reported by the PEB383. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 206 PEB383 User Manual July 25, 2011 14. Register Descriptions > Advanced Error Reporting Capability Registers Integrated Device Technology, Inc. Confidential - NDA Required 207 14.9 PCIe and SerDes Control and Status Registers The following table outlines the PCIe SerDes and PCS layer registers. These registers are mainly for status reporting and testing. Caution should be taken when modifying any of these registers during normal operation. Any unused offset space should be treated as reserved. The SerDes Control and Status Registers must not be accessed if the SerDes is in reset nor when the reference clock is stopped. 14.9.1 Base Offset Address Calculation The PCIE SerDes control register addressees are calculated according to the following formula. Address = Base + Offset Base = 0x800 Table 38: SerDes Per-lane and Clock Control and Status Register Map Offset Register Name See "PCIe Per-Lane Transmit and Receive Registers" 0x000 PCIE_TXRX_STAT_0 "PCIe Transmit and Receive Status Register" 0x004 PCIE_OUT_STAT_0 "PCIe Output Status and Transmit Override Register" 0x008 PCIE_RX_OVRD_0 "PCIe Receive and Output Override Register" 0x00C PCIE_DBG_CTL "PCIe Debug and Pattern Generator Control Register" 0x02C PCIE_PM_CTL "PCIe Pattern Matcher Control and Error Register" 0x030 PCIE_SS_EC_CTL "PCIe SS Phase and Error Counter Control Register" 0x034 PCIE_SCTL_FI "PCIe Scope Control and Frequency Integrator Register" "PCIe Clock Module Control and Status Registers" 0x420 PCIE_CTL_STAT "PCIe Control and Level Status Register" 0x428 PCIE_CTL_OVRD "PCIe Control and Level Override Register" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 208 > PCIe and SerDes Control and Status Registers 14.9.2 PCIe Per-Lane Transmit and Receive Registers 14.9.3 PCIe Transmit and Receive Status Register This register reflects the default state of the SerDes transmit and receive control inputs at power-up. Its reset value depends on various inputs. When its accompanying override registers are used, however (see "PCIe Output Status and Transmit Override Register" and "PCIe Receive and Output Override Register"), the relevant status bits are no longer valid. Register name: PCIE_TXRX_STAT Register offset: 0x000 Reset value: Undefined Bits 31:24 7 6 5 Reserved 23:16 3 2 LOS_CTL RX_EQ_VAL 15:08 07:00 4 Reserved 1 0 Reserved RX_ALIGN _EN Reserved HALF_ RATE Reserved TX_BOOST TX_BOOST Reserved Type Reset Value Reserved R 01 LOS_CTL LOS filtering mode control R Undefined 27:24 Reserved Reserved R Undefined 23:21 RX_EQ_VAL Receive Equalization control R 0b010 20 Reserved Reserved R 0 18:17 Reserved Reserved R Undefined 16 HALF_RATE Digital half-rate data control R Undefined 15:10 Reserved Reserved R 100000 9:6 TX_BOOST Transmit Boost control R 0b1011 R Undefined Bits Name 31:30 Reserved 29:28 Description Programmed boost value (ratio of drive level of transition bit to non-transition bit) is: boost = -20*log(1-(tx_boost[3:0]+0.5)/32)dB, except that setting TX_BOOST to 0 produces 0dB of boost. This produces results up to 5.75dB in steps of ~0.37dB. 5:0 Reserved PEB383 User Manual July 25, 2011 Reserved Integrated Device Technology, Inc. Confidential - NDA Required > PCIe and SerDes Control and Status Registers 14.9.4 209 PCIe Output Status and Transmit Override Register This register indicates the status of output signals. Its reset value depends on various inputs. The register also provides a method for overriding the value of TX_BOOST in the "PCIe Transmit and Receive Status Register". Register name: PCIE_OUT_STAT Register offset: 0x004 Reset value: Undefined Bits 7 31:24 OVRD 23:16 6 5 4 3 2 1 Reserved TX_BOOST 0 TX_BOOST ReservedP 15:08 ReservedP 07:00 ReservedP Bits Name 31 OVRD 30:26 Reserved 25:22 TX_BOOST LOS Reserved Type Reset Value Enable override of relevant bits 16:30 in this register. R/W 0 Reserved R/W 00000 Transmit Boost control R/W 0x0 R/W Undefined Loss of signal output R Undefined Reserved R Undefined Description Programmed boost value (ratio of drive level of transition bit to non-transition bit) is: boost = -20*log(1-(tx_boost[3:0]+0.5)/32)dB, except that setting TX_BOOST to 0 produces 0dB of boost. This produces results up to 5.75dB in steps of ~0.37dB. 21:3 ReservedP 2 LOS 1:0 Reserved Preserve state on writes. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 210 > PCIe and SerDes Control and Status Registers 14.9.5 PCIe Receive and Output Override Register This register provides a method for overriding the values of LOS_CTL, RX_EQ_VAL, and RX_ALIGN_EN in the "PCIe Transmit and Receive Status Register". Register name: PCIE_RX_OVRD Register offset: 0x008 Reset value: Undefined Bits 7 6 5 4 3 31:24 ReservedP 23:16 ReservedP 15:08 ReservedP 07:00 OVRD_2 LOS_CTL RX_EQ_VAL Bits Name 31:15 ReservedP 14 OVRD_2 13:12 LOS_CTL ReservedP 2 1 0 ReservedP RX_ALIGN _EN ReservedP HALF_ RATE Type Reset Value R Undefined Enable override of relevant bits 0:13 in this register. R/W 0 LOS filtering mode control R/W 01 Preserve state on writes. R/W Undefined Receive Equalization control R/W 000 Preserve state on writes. R/W 1 Enable Word Alignment R/W 1 Preserve state on writes. R/W 11 Digital half-rate data control R/W 0 Description Preserve state on writes. 00 = Disabled 01-10 = Reserved 11 = Heavy filtering. The LOS signal is synchronous to the output of the prescaler. Heavy filtering means 128 +/- 5 cycles of no signal for LOS to be asserted. 11:8 ReservedP 7:5 RX_EQ_VAL Internal linear equalizer boost is approximately = (rx_eq_val+1)*0.5dB Example: 3'b100 = 2.5dB boost 4 ReservedP 3 RX_ALIGN_EN 0 = Alignment (framer) disabled 1 = Alignment enabled 2:1 ReservedP 0 HALF_RATE PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required > PCIe and SerDes Control and Status Registers 14.9.6 211 PCIe Debug and Pattern Generator Control Register This register controls the pattern generator in the SerDes. Register name: PCIE_DBG_CTL Register offset: 0x00C Reset value: 0x0000_0000 Bits 31:24 7 6 5 4 3 Reserved 23:16 TRIGGER_ ERR 15:08 Reserved 07:00 Reserved Name 31:30 Reserved 29:20 PATO 1 0 PATO PATO Bits 2 Description Reserved Pattern for modes 3-5 MODE Type Reset Value R 0 R/W 0x00 R/W 0 R/W 000 R 0 Program the desired pattern in these 10 bits when using modes 3-5. Note: This field returns to its reset value on reset. 19 TRIGGER_ERR Insert a single error into a LSB Note: This field returns to its reset value on reset. 18:16 MODE Pattern to generate: 0 = Disabled 1 = lfsr15 (x15+x14+1) 2 = lfsr7 (x7+x6+1) 3 = Fixed word (PAT0) 4 = DC balanced word (PAT0, ~PAT0) 5 = Fixed pattern: (000, PAT0, 3ff, ~PAT0) 6-7 = Reserved 15:0 Reserved Reserved Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 212 > PCIe and SerDes Control and Status Registers 14.9.7 PCIe Pattern Matcher Control and Error Register This register controls the pattern matcher in the SerDes. Register name: PCIE_PM_CTL Register offset: 0x02C Reset value: Undefined Bits 7 6 31:24 OV14 5 4 3 COUNT 15:08 Reserved Reserved Bits Name 31 OV14 1 0 COUNT 23:16 07:00 2 SYNC MODE Description Overflow 14 Type Reset Value R/W Undefined R/W Undefined R 0 R/W 0 R/W 000 0 = Inactive 1 = Multiply COUNT by 128 If OV14 is 1 and COUNT=2^15-1, signals overflow of counter. Note: This bit may require two reads to get a stable value.a 30:16 COUNT Current error count If OV14 field is active, then multiply count by 15:4 Reserved 3 SYNC 128.a Reserved Synchronize pattern matcher LFSR with incoming data must be turned on then off to enable checking. Note: This bit returns to its reset value on reset 2:0 MODE Pattern to match: 0 = Disabled 1 = lfsr15 2 = lfsr7 3 = d[n] = d[n-10] 4 = d[n] = !d[n-10] 5-7 = Reserved a. Read operation on this register is pipelined. Two reads may be needed to get "current" value. The value is volatile; that is, the value may change at any time.The second read resets the counter. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required > PCIe and SerDes Control and Status Registers 14.9.8 213 PCIe SS Phase and Error Counter Control Register This register holds the current MPLL phase selector value and information for the associated error counter in the SerDes. Register name: PCIE_SS_EC_CTL Register offset: 0x030 Reset value: Undefined Bits 7 6 31:24 5 3 Reserved 23:16 15:08 4 2 1 0 SS_PVAL SS_PVAL OV14 DTHR COUNT 07:00 COUNT Type Reset Value R 0 Phase value from zero referencea R/W 0x000 DTHR Bits below the useful resolutiona R/W 0 OV14 0verflow 14 R/W Undefined R/W Undefined Bits Name Description 31:28 Reserved Reserved 27:17 SS_PVAL 16 15 0 = Inactive 1 = Multiply COUNT by 128. If OV14=1 and COUNT=2^15-1, signals overflow of counter.a 14:0 COUNT Current error count If OV14 field is active, then multiply count by 128.a a. Read operation on this register is pipelined. Two reads may be needed to get "current" value. The value is volatile; that is, the value may change at any time.The second read resets the counter. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 214 > PCIe and SerDes Control and Status Registers 14.9.9 PCIe Scope Control and Frequency Integrator Register Register name: PCIE_SCTL_FI Register offset: 0x034 Reset value: 0000_0000 Bits 7 6 5 4 3 31:24 Reserved 23:16 Reserved 15:08 Reserved 2 1 FVAL 07:00 FVAL Bits Name 31:14 Reserved 13:1 FVAL 0 DTHR_F Type Reset Value Reserved R/W 0 Frequency is 1.526*VAL ppm from the reference. Value is a signed integer format (2's complement). R/W 0 R/W 0 Description Note: This field may require two "reads" to get a stable value. 0 DTHR_F Bits below the useful resolution. Note: This bit may require two "reads" to get a stable value. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required > PCIe and SerDes Control and Status Registers 215 14.9.10 PCIe Clock Module Control and Status Registers 14.9.11 PCIe Control and Level Status Register This register indicates the status of various control inputs. Its reset value depends on inputs. When its accompanying override register is used, however (see "PCIe Control and Level Override Register"), the relevant status bits are no longer valid. Register name: PCIE_CTL_STAT Register offset: 0x420 Reset value: Undefined Bits 7 6 31:24 Reserved 23:16 5 4 3 Reserved 07:00 Reserved 31 Reserved 30:26 TX_LVL 0 LOS_LVL ACJT_LVL 15:08 Name 1 TX_LVL LOS_LVL Bits 2 Type Reset Value Reserved R 1 Fine Resolution setting of Tx signal level. R 0x10 Description Equation: Pk-Pk output level (without attenuation) = 1230 x (48 + tx_lvl/2)/63.5 mV Vdiff-pp Note: TX_LVL should be set to >= 0x1010 (which results in an output of 1Vp-p). For more information on available settings, see Table 39. 25:21 LOS_LVL Loss of Signal Detector level. R 0x12 20:16 ACJT_LVL AC JTAG Comparator level. R 0x00 15:0 Reserved Reserved R 1 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 216 > PCIe and SerDes Control and Status Registers 14.9.12 PCIe Control and Level Override Register The register provides a method for overriding the value of TX_LVL, LOS_LVL, and ACJT_LVL in the "PCIe Control and Level Status Register". Register name: PCIE_CTL_OVRD Register offset: 0x428 Reset value: Undefined Bits 7 6 31:24 OVRD 5 4 3 2 1 TX_LVL 23:16 LOS_LVL Reserved 07:00 Reserved Name 31 OVRD 30:26 TX_LVL LOS_LVL ACJT_LVL 15:08 Bits 0 Type Reset Value Override all level controls. R/W 0 Fine Resolution setting of Tx signal level. R/W 0x10 Description Equation: Pk-Pk output level (without attenuation) = 1230 x (48 + tx_lvl/2)/63.5 mV Vdiff-pp Note: TX_LVL should be set to >= 0x1010 (which results in an output of 1Vp-p). For more information on available settings, see Table 39. 25:21 LOS_LVL Loss of Signal Detector level R/W 0x10 20:16 ACJT_LVL AC JTAG Receiver Comparator level R/W 0x10 R/W Undefined This sets the hysteresis level for AC JTAG. For information on setting the correct voltage levels, see IEEE 1149.6. 15:0 ReservedP Preserve state on writes. Table 39: TX_LVL Values PEB383 User Manual July 25, 2011 TX_LVL Value TX_LVL[0:4] Vdiff-pp (mV) 0 0x00 5'b00000 929.8 1 0x01 5'b00001 939.4 2 0x02 5'b00010 949.1 3 0x03 5'b00011 958.8 4 0x04 5'b00100 968.5 5 0x05 5'b00101 978.2 Integrated Device Technology, Inc. Confidential - NDA Required > PCIe and SerDes Control and Status Registers 217 Table 39: TX_LVL Values (Continued) TX_LVL Value TX_LVL[0:4] Vdiff-pp (mV) 6 0x06 5'b00110 987.9 7 0x07 5'b00111 997.6 8 0x08 5'b01000 1007.2 9 0x09 5'b01001 1016.9 10 0xA 5'b01010 1026.6 11 0xB 5'b01011 1036.3 12 0xC 5'b01100 1046.0 13 0xD 5'b01101 1055.7 14 0xE 5'b01110 1065.4 15 0xF 5'b01111 1075.0 16 0x10 5'b10000 1084.7 17 0x11 5'b10001 1094.4 18 0x12 5'b10010 1104.1 19 0x13 5'b10011 1113.8 20 0x14 5'b10100 1123.5 21 0x15 5'b10101 1133.1 22 0x16 5'b10110 1142.8 23 0x17 5'b10111 1152.5 24 0x18 5'b11000 1162.2 25 0x19 5'b11001 1171.9 26 0x1A 5'b11010 1181.6 27 0x1B 5'b11011 1191.3 28 0x1C 5'b11100 1200.9 29 0x1D 5'b11101 1210.6 30 0x1E 5'b11110 1220.3 31 0x1F 5'b11111 1230.0 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 218 PEB383 User Manual July 25, 2011 > PCIe and SerDes Control and Status Registers Integrated Device Technology, Inc. Confidential - NDA Required 219 15. Electrical Characteristics Topics discussed include the following: 15.1 * "Absolute Maximum Ratings" * "Recommended Operating Conditions" * "Power Characteristics" * "Power Supply Sequencing" * "DC Operating Characteristics" * "AC Timing Specifications" * "AC Timing Waveforms" Absolute Maximum Ratings Table 40: Absolute Maximum Ratings - PCI Symbol Parameter Minimum Maximum Units TSTG Storage temperature -55 125 o TC Case temperature under bias -40 120 oC C Voltage with respect with ground VDD 1.05V DC core logic supply voltage -0.5 2.0 V VDD_PCIE 1.05V DC PCIe digital supply voltage -0.3 1.7 V VDDA_PLL 1.05V DC PLL analog supply voltage -0.5 2.0 V VDD_PCI 3.3V DC I/O supply voltage -0.5 4.1 V VDDA_PCIE 3.3V DC PCIe analog supply voltage -0.5 4.6 V VIO_PCI PCI Interface I/O voltage -0.5 6.6 V VIL Minimum signal input voltage -0.5 - V VIH Maximum signal input voltage - VDDa + 0.5 V a. The VDD reference is dependent on the input pad supply rail. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 220 15. Electrical Characteristics > Recommended Operating Conditions 15.2 Recommended Operating Conditions Table 42: Recommended Operating Conditions Symbol Parameter Minimum Maximum Units Notes VDD_PCI 3.3V DC I/O supply voltage 3.0 3.6 V - VDDA_PCIE 3.3V DC PCIe supply voltage 3.0 3.6 V - VDD 1.05V DC core supply voltage 0.945 1.155 V - VDD_PCIE 1.05V DC PCIe digital supply voltage 0.945 1.155 V - VDDA_PLL 1.05V DC PLL supply voltage 0.945 1.155 V - VIO_PCI PCI Interface I/O voltage VDD_PCI 5.25 V - Vripple1 Power Supply Ripple for Voltage Supplies: VDD and VDD_PCI - 100 mVpp - Vripple2 Power Supply Ripple for Voltage Supplies: VDD_PCIE, VDDA_PCIE, VDDA_PLL - 50 mVpp - TA Ambient temperature 0 85 TJUNC Junction temperature -40 125 o C oC a , b - a. No heat sink, no air flow. b. Higher ambient temperatures are permissible provided TJUNC is not violated. For heat sink and air flow requirements for higher temperature operation, see "Thermal Characteristics". 15.3 Power Characteristics Table 43: PEB383 Power Dissipation Typical Power (W) Max Power (W) Fully Active Links 0.398 0.458 L0 50% Link Activity 0.312 0.359 D0 L0 0% Link Activity 0.225 0.259 D0 L0s PCIe Link in Active Standby 0.185 0.213 D3hot L1 Power Saving Mode 0.132 0.151 Device State ASPM Link State D0 L0 D0 PEB383 User Manual July 25, 2011 Bridge Activity Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > Power Supply Sequencing 221 Table 43: PEB383 Power Dissipation (Continued) Device State ASPM Link State D3hot L1 D3cold N/A Typical Power (W) Max Power (W) Power Saving Mode. All PCI Clocks Gated 0.128 0.148 Power Removed 0.060 0.069 Bridge Activity Table 44: PEB383 Power Dissipation per Supply Device State ASPM Link State D0 L0 D0 L0 15.4 Typical Power (W) 1.0V_A 3.3V_A 1.0V 3.3V (W) (W) (W) (W) Fully Active Links 0.398 0.022 0.065 0.036 0.275 0% Link Activity 0.225 0.022 0.065 0.031 0.108 Bridge Activity Power Supply Sequencing The PEB383 does not have any power sequencing constraints. 15.5 DC Operating Characteristics Table 45: DC Operating Characteristics Symbol Parameter Condition Minimum Maximum Units Notes VOL_PCI PCI Output Low Voltage IOL = 1500uA - 0.1VDD_PCI V - VOH_PCI PCI Output High Voltage IOH = -500uA 0.9VDD_PCI - V - VOH_33 3.3 CMOS Output High Voltage IOH = -6mA VDD_PCI - 0.5 - V - VOL_33 3.3 CMOS Output Low Voltage IOL = 6mA - 0.4 V - VIH_33 3.3 CMOS Input High Voltage - 2 VDD_PCI + 0.5 V - Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 222 15. Electrical Characteristics > AC Timing Specifications Table 45: DC Operating Characteristics (Continued) Symbol Parameter Condition Minimum Maximum Units Notes VIL_33 3.3 CMOS Input Low Voltage - -0.5 0.8 V - CIN_PCI Input Pin Capacitance - - 8.8 pF - CCLK_PCI Clock Pin Capacitance - - 7.5 pF - PCI_CLK LIN_PCI Input Pin Inductance - - 8.3 nH - LCLK_PCI Clock Pin Inductance - - 4.9 nH - PCI_CLK 15.6 AC Timing Specifications This section discusses AC timing specifications for the PEB383. 15.6.1 PCI Interface AC Signal Timing Table 46: PCI Clock (PCI_CLK) Specification Symbol Parameter Min Max Units Notes TF_PCI PCI Clock Frequency 25 66 MHz a TC_PCI PCI Clock Cycle Time 15 40 ns ab TCH_PCI PCI Clock High Time 6 - ns - TCL_PCI PCI Clock Low Time 6 - ns - TSR_PCI PCI Clock Slew Rate 1 6 V/ns c TSKEW PCI Output Clock Skew - 0.5 ns - Spread Spectrum Requirements fMOD_PCI PCI_CLK Clock modulation frequency 30 33 kHz - fSPREAD_PCI PCI_CLK Clock frequency spread -1 0 % - a. The clock frequency may not change beyond the spread-spectrum limits except while device reset is asserted. b. The minimum clock period must not be violated for any single clock cycle. c. This slew rate must be met across the minimum peak-to-peak portion of the clock waveform. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Specifications 15.6.2 223 PCIe Differential Transmitter Output Specification The following table lists the specification of parameters for the differential output of the PCIe lanes. Table 47: PCIe Differential Transmitter Output Specification Symbol UI VTX-DIFFp-p VTX-DE-RATIO Parameter Min. Nom. Max. Units Unit Interval 399.88 400 400.12 ps Differential Peak to Peak Output Voltage programmed to tx_lvl=5b'01001 and tx_boost = 0 0.800 - 1.2 V De-emphasized Differential Output Voltage (Ratio) Comments Each UI is 400ps +/-300ppm. UI does not account for SSC dictated variations. See Note 1. VTX-DIFFp-p = 2*|VTX-D+ - VTX-D-| See Note 1. -3.0 -3.5 -4.0 dB This is the ratio of the VTX-DIFFp-p of the second and following bits after a transition divided by the VTX-DIFFp-p of the first bit after a transition. See Note 2 TTX-EYE Minimum TX Eye Width 0.75 - - UI The maximum Transmitter jitter can be derived as TTX-MAX-JITTER = 1 TTX-EYE = 0.25 UI. This parameter is measured with the equivalent of a zero jitter reference clock. See Notes 2 and 3. TTX-EYE-MEDIANto-MAX-JITTER TTX-RISE, TTX-FALL VTX-CM-ACp Maximum time between the jitter median and maximum deviation from the median D+/D- TX Output Rise/Fall Time RMS AC Peak Common Mode Output Voltage - - 0.125 UI Jitter is defined as the measurement variation of the crossing points (VTX-DIFF = 0V) in relation to recovered TX UI. To be measured after the clock recovery function in Section 4.3.3.2 of the PCI Express Base Specification Rev 1.1. See Notes 2 and 3. 0.125 - - UI See Notes 2 and 5. - - 20 mV VTX-CM-ACp = RMS(|VTX-D+ + VTX-D-|/2 - VTX-CM-DC) VTX-CM-DC = DC(AVG) of |VTX-D+ + VTX-D-|/2 See Note 2 VTX-CM-DC-ACTIVEIDLE-DELTA Absolute Delta of DC Common Mode Voltage During L0 and Electrical Idle 0 - 100 mV |VTX-CM-DC [during L0] -VTX-CM-DC <= 100mV [during electrical idle]| VTX-CM-DC = DC(AVG) of |VTX-D+ + VTX-D-|/2 [L0] VTX-CM-idle-DC = DC(AVG) of |VTX-D+ + VTX-D-|/2 [Electrical Idle] See Note 2 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 224 15. Electrical Characteristics > AC Timing Specifications Table 47: PCIe Differential Transmitter Output Specification (Continued) Symbol VTX_CM-LINE -DELTA Parameter Absolute Delta of DC Common Mode Voltage between D+ and D- Min. Nom. Max. Units 0 - 25 mV Comments |VTX-CM-DC-D+ -VTX-CM-DC-D+| <= 25mV VTX-CM-DC-D+ = DC(AVG) of |VTX-D+| VTX-CM-DC-D- = DC(AVG) of |VTX-D-| See Note 2 0 VTX-RCV-DETECT The amount of voltage change allowed during Receiver Detection - - 600 mV VTX-DC-CM The TX DC Common Mode Voltage 0 - 3.6 V ITX-SHORT TX Short Circuit Current Limit - - 90 mA The total current the Transmitter can provide when shorted to its ground 50 - - UI Minimum time a Transmitter must be in Electrical Idle. Used by the Receiver to start looking for an Electrical Idle Exit after successfully receiving an Electrical Idle ordered set. Maximum time to transition to a valid Electrical Idle after sending an Electrical Idle ordered set - - 20 UI After sending an Electrical Idle ordered set, the Transmitter must meet all Electrical Idle specifications within this time. This is considered a de-bounce time for the transmitter to meet Electrical Idle after transitioning from L0. Maximum time to transition to valid TX specifications after leaving an Electrical Idle condition - - 20 UI Maximum time to meet all TX specifications when transitioning from Electrical Idle to sending differential data. This is considered a de-bounce time for the TX to meet all TX specifications after leaving Electrical Idle. Differential Return Loss 10 - - dB Measured over 50 MHz to 1.25 GHz. Common Mode Return Loss 6 DC Differential TX Impedance 80 TTX-IDLE-MIN TTX-IDLE-SET-to -IDLE TTX-IDLE-to-DIFF -DATA RLTX-DIFF RLTX-CM ZTX-DIFF-DC Minimum time spent in Electrical Idle PEB383 User Manual July 25, 2011 - 20 VTX-IDLE-DIFFp = |VTX-IDLE-D+ VTX-IDLE-D-| <= 20mV Electrical Idle Differential Peak Output Voltage VTX-IDLE-DIFFp mV See Note 2. The total amount of voltage change that a transmitter can apply to sense whether a low impedance Receiver is present. See Section 4.3.1.8 of the PCI Express Base Specification (Revision 1.1). The maximum DC Common Mode voltage under any conditions. See Section 4.3.1.8 of the PCI Express Base Specification (Revision 1.1). See Note 4. - - Measured over 50 MHz to 1.25 GHz. dB See Note 4. - 120 Ohms TX DC Differential Mode low impedance. See Note 6. Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Specifications 225 Table 47: PCIe Differential Transmitter Output Specification (Continued) Symbol LTX-SKEW CTX Tcrosslink Parameter Min. Nom. Max. Units -2.8 - 500 + 2 UI ps Static skew between any two Transmitter Lanes within a single Link AC Coupling Capacitor 75 - 200 nF All Transmitters must be AC coupled. The AC coupling is required either within the media or within the transmitting component itself. Crosslink Random Timeout 0 - 1 ms This random timeout helps resolve conflicts in crosslink configuration by eventually resulting in only one Downstream and one Upstream Port. See Section 4.2.6.3 of the PCI Express Base Specification (Revision 1.1). Lane-to-Lane Output Skew Comments Note that all Figure and Section references are to the PCI Express Base Specification (Revision 1.1). 1. No test load is necessarily associated with this value. 2. Specified at the measurement point into a timing and voltage compliance test load as shown in Figure 4-25 and measured using the clock recovery function in Section 4.3.3.2. (also see the transmitter compliance eye diagram in Figure 4-24). 3. A TTX-EYE = 0.75 UI provides for a total sum of deterministic and random jitter of TTX-JITTER-MAX = 0.25 UI for the Transmitter using clock recovery function specified in Section 4.3.3.2. The TTX-EYE-MEDIAN-to-MAX-JITTER specification ensures a jitter distribution in which the median and the maximum deviation from the median is less than half the total TX jitter budget using the clock recovery function specified in section 4.3.3.2. It should be noted that the median is not the same as the mean. The jitter median describes the point in time where the number of jitter points on either side is approximately equal as opposed the averaged time value. This parameter is to be met at the target bit error rate. The TTX_EYE_MEDIAN-to-MAX-JITTER is to be met using the compliance pattern at a sample size of 1,000,000 UI. 4. The Transmitter input impedance shall result in a differential return loss greater than or equal to 10 dB with a differential test input signal no less than 200mV (peak value, 400 mV differential peak to peak) swing around ground applied to D+ and Dlines and a common mode return loss greater than or equal to 6 dB over a frequency range of 50 MHz to 1.25 GHz. This input impedance requirement applies to all valid input levels. the reference impedance for return loss measurements is 50 Ohms to ground for both D+ and D- line (that is, as measured by a vector Network Analyzer with 50 Ohm probes - see Figure 4-25). Note that the series capacitors CTX is optional for the return loss measurement. 5. Measured between 20-80% at the Transmitter package pins into a test load as shown in Figure 4-25 for both VTX-D+ and VTX-D-. 6. ZTX-DIFF-DC is the small signal resistance of the transmitter measured at a DC operating point that is equivalent to that established by connecting a 100-Ohm resistor from D+ and D- while the TX is driving a static logic one or logic zero. Equivalently, this parameter can be derived by measuring the RMS voltage of the TX while transmitting a test pattern into two different differential terminations that are near 100 Ohms. Small signal resistance is measured by forcing a small change in differential voltage and dividing this by the corresponding change in current. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 226 15. Electrical Characteristics > AC Timing Specifications Figure 40: Transmitter Eye Voltage and Timing Diagram1 1. This diagram is an excerpt from PCI Express Base Specification (Revision 1.1), Revision 1.1, "Transmitter Compliance Eye Diagrams," page 225. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Specifications 15.6.3 227 PCIe Differential Receiver Input Specifications The following table lists the specification of parameters for the differential output of the PCIe lanes. Table 48: PCIe Differential Receiver Input Specifications Symbol UI Parameter Unit Interval Min. Nom. Max. Units Comments 399.88 400 400.12 ps Each UI is 400ps +/-300ppm. Ui does not account for SSC dictated variations. See Note 7. VRX-DIFFp-p TRX-EYE Differential Peak to Peak Input Voltage Minimum RX Eye Width 0.175 - 1.200 V VRX-DIFFp-p = 2*|VRX-D+ - VRX-D-| See Note 8. 0.4 - - UI The maximum interconnect media and Transmitter jitter that can be tolerated by the Receiver can be derived as TRX-MAX-JITTER = 1 - TRX-EYE = 0.6 UI. See Notes 8, 9, and 10. TRX-EYE-MEDIANto-MAX-JITTER Maximum time between the jitter median and maximum deviation from the median - - 0.3 UI Jitter is defined as the measurement variation of the crossing points (VRX-DIFF = 0V) in relation to recovered TX UI. To be measured after the clock recovery function in Section 4.3.3.2 of the PCI Express Base Specification (Revision 1.1). See Notes 8and 9. VRX-CM-ACp RMS AC Peak Common Mode Input Voltage - - 150 mV VRX-CM-AC = |VRX-D+ + VRX-D-|/2 VRX-CM-DC VRX-CM-DC = DC(AVG) of |VRX-D+ + VRX-D-|/2 See Note 8. RLRX-DIFF Differential Return Loss 10 Common Mode Return Loss 6 ZRX-DIFF-DC DC Differential Input Impedance 80 - 120 Ohms RX DC Differential Mode impedance. See Note 12. ZRX-DC DC Input Impedance 40 50 60 Ohms Required RX D+ as well as D- DC impedance (50 Ohm +/- 20% tolerance). RLRX-CM - - dB Measured over 50 MHz to 1.25 GHz. See Note 11. - - dB Measured over 50 MHz to 1.25 GHz. See Note 11. See Notes 8 and 12. ZRX-HIGH-IMP-DC Powered Down DC Input Impedance 200K - - Ohms Required RX D+ as well as D- DC impedance when the Receiver terminations do not have power. See Note 13. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 228 15. Electrical Characteristics > AC Timing Specifications Table 48: PCIe Differential Receiver Input Specifications (Continued) Symbol VRX-IDLE-DET-DIFFp Parameter Electrical Idle Detect Threshold Min. Nom. Max. Units 65 - 175 mV Comments VRX-IDLE-DET-DIFFp = 2*|VRX-D+ VRX-D-| Measured at the package pins of the Receiver. Unexpected Electrical Idle Enter Detect Threshold Integration Time - - 10 ms NTERTIME An unexpected Electrical Idle (VRX-DIFFp-p < VRX-IDLE-DET-DIFFp-p) must be longer than TRX-IDLE-DET-ENTERTIME to signal an unexpected idle condition. LRX-SKEW Total Skew - - 20 ns Skew across all lanes on a link. This includes variation in the length of a SKP ordered set (for example, COM and one to five SKP Symbols) at the RX as well as any delay differences arising from the interconnect itself. TRX-IDLE-DET-DIFF-E 7. No test load is necessarily associated with this value. 8. Specified at the measurement point and measured using the clock recovery function specified in Section 4.3.3.2. The test load in Figure 4-25 should be used as the RX device when taking measurements (also refer to the Receiver compliance eye diagram shown in Figure 4-26). If the clocks to the RX and TX are not derived from the same reference clock, the TX UI recovered using the clock recovery function specified in Section 4.3.3.2 must be used as a reference for the eye diagram. 9. The TRX-EYE-MEDIAN-to-MAX-JITTER specification ensures a jitter distribution in which the median and the maximum deviation from the median is less than half of the total 0.64. It should be noted that the median is not the same as the mean. The jitter median describes the point in time where the number of jitter points on either side is approximately equal as opposed the averaged time value. The RX UI recovered using the clock recovery function specified in Section 4.3.3.2 must be used as the reference for the eye diagram. This parameter is measured with the equivalent of a zero jitter reference clock. The TRX-EYE measurement is to be met at the target bit error rate. The TRX-EYE-MEDIAN-to-MAX-JITTER specification is to be met using the compliance pattern at a sample size of 1,000,000 UI. 10. For more information on the RX-EYE measurement, see the PCI Express Jitter and BER white paper. 11. The receiver input impedance shall result in a differential return loss greater than or equal to 10 dB with a differential test input signal of no less than 200 mV (peak value, 400mV differential peak to peak) swing around ground applied to D+ and D- lines and a common mode return loss greater than or equal to 6 dB (no bias required) over a frequency range of 50 MHz to 1.25 GHz. This input impedance requirement applies to all valid input levels. The reference impedance for the return loss measurements is 50 Ohms to ground for both D+ and D- lines (that is, as measured by a Vector Network Analyzer with 50-Ohm probes - see Figure 4-25). Note that the series capacitors CTX is optional for the return loss measurement. 12. Impedance during all LTSSM states. When transitioning from a Fundamental Reset to Detect (the initial state of the LTSSM) there is a 5ms transition time before the Receiver termination values must be met on all un-configured lanes of a port. 13. The RX DC Common Mode Impedance that exists when no power is present or Fundamental Reset is asserted. This helps ensure that the Receiver Detect circuit does not falsely assume a Receiver is powered on when it is not. This term must be measured at 200mV above the RX ground. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Specifications 229 Figure 41: Minimum Receiver Eye Timing and Voltage Compliance Specification1 1. This diagram is an excerpt from PCI Express Base Specification, Revision 1.1, "Differential Receiver (RX) Input Specifications," page 230. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 230 15. Electrical Characteristics > AC Timing Specifications 15.6.4 Reference Clock The following table lists the PEB383's electrical characteristics for the differential SerDes reference clock input (PCIE_REFCLK_n/p). Table 49: Reference Clock (PCIE_REFCLK_n/p) Electrical Characteristics Symbol Parameter Min. Typ. Max. Unit Notes VDIFF Differential Input Voltage 350 710 850 mV - VCM Differential Input Common Mode Range [(PCIE_REFCLK_p +PCIE_REFCLK_n)/2] 175 - 2000 mV Fin Input Clock Frequency - 100 - MHz FPCIE_REFCLK_P/N Reference Clock Frequency Tolerance -300 - +300 ppm Fin_DC Reference Clock Duty Cycle 40 50 60 % JCLK-REF Total Phase Jitter (rms) - - 3 psrms Zin Input Impedance - - - - - ppm with respect to 100 MHz, based on the PCIe Specification. See a. PCIe_REFCLK_p/n is a high-impedance input. a. Total Permissible Phase Jitter on the Reference Clock is 3 ps rms. This value is specified with assumption that the measurement is performed with a 20 GSamples/s scope with more than 1 million samples. The zero-crossing times of each rising edges are recorded and an average Reference Clock is calculated. This average period may be subtracted from each sequential, instantaneous period to find the difference between each reference clock rising edge and the ideal placement to produce the Phase Jitter Sequence. The PSD of the phase jitter is calculated and integrated after being weighted with the transfer function shown in Figure 42. The square root of the resulting integral is the rms Total Phase Jitter. Figure 42: Weighing Function for RMS Phase Jitter Calculation Magnitude 0 dB 20 dB/Decade 40 dB/Decade 1.5 MHz PEB383 User Manual July 25, 2011 10 MHz Frequency Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Specifications 15.6.5 231 Boundary Scan Test Signal Timing The following table lists the test signal timings for the PEB383. Table 50: Boundary Scan Test Signal Timings Symbol Parameter Min Max Units Notes TBSF JT_TCK Frequency 0 10 MHz - TBSCH JT_TCK High Time 50 - ns Measured at 1.5V, a TBSCL JT_TCK Low Time 50 - ns Measured at 1.5V, a TBSCR JT_TCK Rise Time - 25 ns 0.8V to 2.0V, a TBSCF JT_TCK Fall Time - 25 ns 2.0V to 0.8V, a TSIS1 Input Setup to JT_TCK 10 - ns b TBSIH1 Input Hold from JT_TCK 10 - ns b TBSOV1 JT_TDO Output Valid Delay from falling edge of JT_TCK. - 15 ns c TOF1 JT_TDO Output Float Delay from falling edge of JT_TCK - 15 ns c, e , d a. Not tested. b. See Figure 43. c. Outputs precharged to VDD33. d. See Figure 44. e. A float condition occurs when the output current becomes less than ILO. Float delay is not tested (see Figure 44). 15.6.6 Reset Timing The following table lists the reset signal timings for the PEB383. Table 51: Reset Timing Symbol Parameter Min Max Units TPOR Power supplies in recommended operating range to de-assertion of device reset 100 - ms 1 - ms TACTIVE Reset active time Integrated Device Technology, Inc. Confidential - NDA Required Notes The PCIe specification requires reset (PCIE_PERSTn) to remain asserted for 100 ms after power supplies are valid. - PEB383 User Manual July 25, 2011 232 15. Electrical Characteristics > AC Timing Waveforms Table 51: Reset Timing (Continued) Symbol Min Max Units Notes 100 - us - - PCI_CLK clock stable to de-assertion of device reset - Power-up strapping hold from de-assertion of device reset 0 - ns - Assertion of reset to outputs tri-state - 10 ns - THIZ 15.7 Parameter AC Timing Waveforms This section contains AC timing waveforms for the PEB383. Figure 43: Input Timing Measurement Waveforms Vth CLK Vtest Vtl TIH TIS Vth INPUT Vtest Valid Vtest Vmax Vtl PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 15. Electrical Characteristics > AC Timing Waveforms 233 Figure 44: Output Timing Measurement Waveforms Vth CLK Vtest Vtl TOV Vtfall OUTPUT DELAY FALL TOV OUTPUT DELAY RISE Vtrise TOF OUTPUT FLOAT Figure 45: PCI TOV (max) Rising Edge AC Test Load Test Point Output 25 10pF Figure 46: PCI TOV (max) Falling Edge AC Test Load VCC33 Test Point 25 Output 10pF Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 234 15. Electrical Characteristics > AC Timing Waveforms Figure 47: PCI TOV (min) AC Test Load VCC33 Test Point 1K Output 1K PEB383 User Manual July 25, 2011 10pF Integrated Device Technology, Inc. Confidential - NDA Required 235 16. Packaging Topics discussed include the following: * "Pinouts and Mechanical Diagrams" * "Thermal Characteristics" * "Moisture Sensitivity" Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 97 98 99 100 101 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 VDD_PCIE VDDA_PCIE PCIE_TXD_n PCIE_TXD_p VSS_PCIE PCIE_RXD_p PCIE_RXD_n VSS_PCIE PCIE_REXT VSS_PCIE PCIE_REFCLK_n PCIE_REFCLK_p VDDA_PCIE VDD_PCIE VSSA_PLL VDDA_PLL PCIE_PERSTn PWRUP_PLL_BYPASS TEST_ON TEST_BCE SR_CSn VDD_PCI SR_CLK SR_DOUT SR_DIN PCI_CLKO[0] VSS PCI_CLKO[1] VDD PCI_CLKO[2] VSS_IO PCI_CLKO[3] 125 QFP Package Pinout 126 16.1.1 127 Pinouts and Mechanical Diagrams 128 16.1 102 16. Packaging > Pinouts and Mechanical Diagrams 103 236 VSS_IO PCI_AD[0] 3 PCI_AD[2] 4 PCI_AD[1] 5 PCI_AD[3] 6 PCI AD[4] 7 VDD_PCI 8 VDD 9 VSS 10 PCI AD[5] 11 PCI_AD[6] 12 PCI_AD[7] 13 PCI_CBEn[0] 14 PCI AD[8] 15 VSS IO 16 PCI_AD[9] 17 PCI_AD[10] 18 PCI_AD[11] 19 PCI AD[12] 20 PCI_AD[13] 21 VIO_PCI 22 VSS 23 VDD_PCI 24 PCI_AD[14] 25 PCI_AD[15] 26 PCI_CBEn[1] 27 PCI PAR 28 VDD 29 VSS 30 PCI_PERRn 31 PCI_SERRn 32 PCI LOCKn PCI INTDn PCI_CLKO[4] PCI_INTCn PCI_INTBn VDD_PCI PCI INTAn PCI_PMEn JTAG_TDI VSS VDD JTAG_TDO JTAG_TMS JTAG_TRSTn JTAG TCK PCI RSTn PCI_CLK PCI_GNTn[3] VSS_IO VDD_PCI PCI_GNTn[2] PCI_GNTn[1] PCI_GNTn[0] PCI REQn[3] VSS VIO_PCI VSS_IO PCI REQn[1] PCI REQn[2] PCI_AD[31] PCI_REQn[0] VDD_PCI PCI AD[30] 1 2 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 PEB383 User Manual July 25, 2011 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 VDD_PCI PCI_STOPn PCI_TRDYn PCI_DEVSELn PCI_IRDYn PCI_FRAMEn VSS_IO VDD VSS PCI_CBEn[2] PCI_M66EN PCI_AD[16] PCI_AD[17] PCI_AD[18] VDD_PCI VDD VIO_PCI PCI_AD[19] PCI_AD[20] PCI_AD[21] PCI_AD[22] PCI_AD[23] VSS_IO PCI_CBEn[3] PCI_AD[24] PCI_AD[25] PCI_AD[26] PCI_AD[27] VDD VSS PCI_AD[28] PCI_AD[29] TOP VIEW 96 95 94 93 92 Integrated Device Technology, Inc. Confidential - NDA Required 16. Packaging > Pinouts and Mechanical Diagrams 16.1.2 237 QFP Package Drawing Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 238 16.1.2.1 16. Packaging > Pinouts and Mechanical Diagrams QFP Package Drawing -- Page 2 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 16. Packaging > Pinouts and Mechanical Diagrams 16.1.3 239 QFN Package Pinout Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 240 16.1.4 16. Packaging > Pinouts and Mechanical Diagrams QFN Package Drawing PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 16. Packaging > Pinouts and Mechanical Diagrams 16.1.4.1 241 QFN Package Drawing -- Page 2 Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 242 16.2 16. Packaging > Thermal Characteristics Thermal Characteristics Heat generated by the packaged silicon must be removed from the package to ensure the silicon is maintained within its functional and maximum design temperature limits. If heat buildup becomes excessive, the silicon temperature may exceed the temperature limits. A consequence of this is that the silicon may fail to meet the performance specifications and the reliability objectives may be affected. Failure mechanisms and failure rate of a device has an exponential dependence on the silicon operating temperatures. Therefore, the control of the package, and by extension the Junction temperature, is essential to ensure product reliability. The PEB383 is specified safe for operation when the Junction temperature is within the recommended limits as shown in Table 42. Table 52: Thermal Specifications -- 66MHz Power estimates are based on simulations -- 0.894 W @ 66MHz Package Parameter Air Flow Unit 0 m/s 1 m/s 2 m/s JA 43.9 36.9 33.7 C/W Tj Max @ TAMB=85C 124 118 115 C Tj Max @ TAMB=70C 109 103 100 C JC 14 -- -- C/W JA 23.4 18.5 17 C/W Tj Max @ TAMB=85C 106 102 100 C Tj Max @ TAMB=70C 91 87 85 C JC 11.5 C/W JB 0.42 C/W QFP -- EM128 QFN -- NQ132 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 16. Packaging > Thermal Characteristics 243 Table 53: Thermal Specifications -- 33MHz Power estimates are based on simulations -- 0.511 W @ 33MHz Package Parameter Air Flow Unit 0 m/s 1 m/s 2 m/s JA 43.9 36.9 33.7 C/W Tj Max @ TAMB=85C 107 104 102 C Tj Max @ TAMB=70C 92 89 87 C JC 14 -- -- C/W JA 23.4 18.5 17 C/W Tj Max @ TAMB=85C 97 94 94 C Tj Max @ TAMB=70C 82 79 79 C JC 11.5 C/W JB 0.42 C/W QFP -- EM128 QFN -- NQ132 Table 52 and Table 53 show the simulated thermal characteristics (Theta JA, Theta JB, and Theta JC) of the PEB383 package at 66MHz and 33MHz respectively. The thermal resistance JA characteristics of a package depends of multiple variables other than just the package. In a typical application, designers must take into account various system-level and environmental characteristics, such as: * Package mounting (vertical/horizontal) * System airflow conditions (laminar/turbulent) * Heat sink design and thermal characteristics * Heat sink attachment method * PWB size, layer count, and conductor thickness * Influence of the heat dissipating components assembled on the PWB (neighboring effects) The results in Table 53 and Table 52 are based on a JEDEC Thermal Test Board configuration (JESD51-9), and does not factor in the system-level characteristics described above. As such, these values are for reference only. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 244 16. Packaging > Moisture Sensitivity Example of Thermal Data Usage Based on above JA data and specified conditions, the Junction temperature of the PEB383 with a 0 m/s airflow can be determined using the following formula: TJ = JA * P + TAMB Where: 16.3 * TJ is the Junction temperature * P is the Power consumption * TAMB is the Ambient temperature Moisture Sensitivity The moisture sensitivity level (MSL) for the PEB383 is 3. PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required 245 17. Ordering Information NN A AAA Product Family Operating Voltage Protocol A Product Detail AA AAA Device Pkg Revision A Legend A = Alpha Character N = Numeric Character N Temp Tape & Range Reel 8 Tape & Reel Blank Commercial Temperature (0C to +70C Ambient) NQ NQG EM EMG 132 132-ball QFN 132 132-ball QFN, Green 128 128-ball TQFP 128 128-ball TQFP, Green ZA ZB ZA revision ZB revision 383 Product Number PEB PCIe Bridge H 1.0V +/- 0.1V Core Voltage 89 Serial Switching Product Valid Combinations 89HPEB383ZANQ 89HPEB383ZANQ8 132-ballQFN package, Commercial Temp. 89HPEB383ZBNQ 89HPEB383ZBNQ8 132-ballQFN package, Commercial Temp. 89HPEB383ZANQG 89HPEB383ZANQG8 132-ball Green QFN package, Commercial Temp. 89HPEB383ZBNQG 89HPEB383ZBNQG8 132-ball Green QFN package, Commercial Temp. 89HPEB383ZAEM 89HPEB383ZAEM8 128-ball TQFP package,Commercial Temp. 89HPEB383ZBEM 89HPEB383ZBEM8 128-ball TQFP package,Commercial Temp. 89HPEB383ZAEMG 89HPEB383ZAEMG8 128-ball Green TQFP package, Commercial Temp. 89HPEB383ZBEMG 89HPEB383ZBEMG8 128-ball Green TQFP package, Commercial Temp. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 246 PEB383 User Manual July 25, 2011 17. Ordering Information > Integrated Device Technology, Inc. Confidential - NDA Required i Glossary Address decode window The address range defined by a device's base address registers when operating in non-transparent addressing mode. If a transaction address on the bus falls within a device's address decode window, the device claims the transaction. Base and limit register A configuration register that stores memory or I/O address decode information in a device. If the address of a transaction falls within the window defined by a device's base and limit registers, the device claims the transaction. Base and Limit registers are used only by transparent bridges. Compact PCI cPCI. It is an adaptation of the PCI Local Bus Specification (Revision 2.2) for Industrial and/or embedded applications that require a more robust mechanical form factor than desktop PCI. Completer (PCIe) The device that is targeted by a requester during a PCIe transaction. A requester reads data from a completer, or writes data to a completer. A requester can be either a root complex or an endpoint device. Completer ID This value uniquely identifies the completer of a transaction request. It consists of a completer's bus number, device number, and function number. Configuration transaction A read or write access of a PCI device's configuration registers. Downstream port A PCIe port that points in the direction away from the root complex (for example, a root complex port). Egress port A PCIe port that transmits a packet to another PCIe device. Endpoint A type of PCIe device, or mode of operation, that function as requesters or completers of PCIe transactions (examples include Ethernet, USB, and graphic devices). If a PCIe port is not configured as a root complex or a switch then it is considered an endpoint. An endpoint can support up to eight functions. Fairness algorithm Arbitration logic that helps low and high priority devices gain fair access to a peripheral bus. This logic also helps prevent deadlocks among bus-mastering devices in a system. Flow control The method of communicating receive buffer status from a receiver to a transmitter to prevent receive buffer overflow and to allow transmitter compliance with ordering rules. Hierarchy A PCIe fabric of all devices and links associated with a root complex. The devices can be connected either directly or indirectly (through switches and bridges) to the root complex. Hot swap This refers to the process of inserting and extracting CompactPCI boards from an active system without adversely affecting system operation. Ingress port A PCIe port that receives a packet from another PCIe device. Link An interconnection between two PCIe devices. A link consists of either x1, x2, x4, x8, x16, or x32 pairs of signals between two devices. Each grouping of signals is referred to as a lane. Memory-mapped I/O MIO. Memory-mapped I/O is used for non-prefetchable PCI memory transactions. Integrated Device Technology, Inc. Confidential - NDA Required PEB383 User Manual July 25, 2011 ii Glossary Message A TLP used to communicate information outside of the memory, I/O, and configuration spaces. Message TLPs are always posted, and may or may not contain data. Non-transparent addressing This type of addressing is used by a PCI bridging device to isolate the primary address map from the secondary address map. It provides address translation for PCI devices located in separate address domains with multiple host processors. This mode of operation, which is sometimes called embedded bridging, allows for distinct PCI memory spaces to be connected through defined windows with address translation from one memory domain to another. PCI extended capabilities Optional features supported by the PCI Local Bus Specification. Some examples of extended capabilities include: Vital Product Data, Message Signaled Interrupts, and Slot Numbering. A device that supports extended capabilities uses a PCI capability list to access the features located in its PCI configuration space. Prefetchable memory The process of prefetching memory occurs when a line of information from memory is read before a bus master requests it. If a bus master later requests the memory line, the bus target can supply it immediately. This type of memory access minimizes the time required to retrieve target memory. Requester (PCIe) The device that originates a PCIe transaction. A requester can be either a root complex or an endpoint device. Requester ID (PCIe) This value uniquely identifies the requester of a transaction. It consists of a requester's bus number, device number, and function number. Root complex This is a type of PCIe device, or mode of operation, that connects a host processor and memory sub-system to a PCIe fabric. The root complex generates transaction requests on behalf of the host processor -- such as configuration, memory, and I/O -- to other devices in the PCIe hierarchy. It also handles interrupts and power management events. The root complex appears as P2P bridge(s) to the PCIe links, and can support one or more PCIe ports. Transparent addressing This type of PCI addressing is used by a bridging device to support configuration mapping but not perform address translation between two buses. When a device is configured in transparent mode, it provides standard PCI bus bridging support through its base and limit registers. These registers define address decode windows for multiple bridges so that transactions can be passed transparently in a system. This enables devices that are connected to multiple bridging devices to share a single, unified address space. Upstream port A PCIe port that points in the direction of the root complex (for example, an endpoint port). PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required iii Index A absolute maximum ratings 219 AC timing PCI Interface 222 AC timing specifications 222 AC timing waveforms 232 address decoding I/O memory 32 ISA 35 memory-mapped I/O 29 non-transparent 37 prefetchable memory 31 VGA 34 advanced error reporting capability registers 188 arbitration 59 ASPM 94 B buffer downstream non-posted 26 downstream posted 26 upstream non-posted 24 upstream posted 25 buffer management 50 bus arbiter 59 C clocking PCI 91 PCIe 90 cold reset 88 completer abort completion status errors 79 configuration retry 47 configuration transaction overview 43 Type 0 44 Type 1 44 Type 1 to special cycle 46 Type 1 to Type 0 45 Type 1 to Type 1 45 D D state transitions 98 D0 state 97 D3cold state 97 D3hot state 97 DC and operating characteristics 221 device power states 97 device register map 120 document conventions document status 2 Integrated Device Technology, Inc. Confidential - NDA Required numeric conventions 2 symbols 2 downstream data path 22 non-transparent registers 184 E ECRC error 70 EEPROM controller 101 EEPROM device 102 EEPROM image 104 error handling 65 PCI 75 PCIe 68 exclusive access 57 F flow control advertisements 49 credits 27 overview 26 H hot reset 89 I I/O addressing 32 IEEE 1149.1 Interface 111 interrupt handling 63 interrupt routing 64 interrupt sources 64 ISA addressing 35 J JTAG 109 read access 112 write access 111 JTAG test pins 113 JTAG_TCK signal 19 JTAG_TDI signal 19 JTAG_TDO signal 19 JTAG_TMS signal 19 JTAG_TRSTn signal 19 L L0 state 95 L1 state 95 L2/L3 ready 95 L3 state 95 LDn state 95 LOs state 95 M master-abort errors 73 PEB383 User Manual July 25, 2011 iv mechanical diagram 236 memory-mapped I/O addressing 29 message signaled interrupts (MSI) 63 message signaled interrupts (MSI-X) 63 message transactions 55 message-based interrupts enhanced message signaled interrupts 63 message signaled interrupts 63 N non-transparent addressing 37 non-transparent registers downstream 184 upstream 156 O ordering information 245 P PCI capability registers 159 PCI clocking 91 PCI errors 76 PCI Interface AC timing 222 PCI reset 89 PCI transactions 53 PCIe capability registers 173 PCIe clocking 90 PCIe configuration space 117 PCIe enhanced configuration 46 PCIe link states 96 PCIe reset 88 PCIe transactions 54 poisoned TLP 69 power characteristics 220 power management 93 power management event 98 power states 94 power supply sequencing 221 prefetchable memory addressing 31 prefetching algorithm 27 R Index T TAP controller 110 target-abort errors 74 TCK signal 19 TDI signal 19 TDO signal 19 thermal characteristics 242 timeout errors 79 timing waveforms 232 TMS signal 19 transaction forwarding PCI to PCIe 51 PCIe to PCI 50 transaction management downstream 24 upstream 23 transaction ordering 56 transactions supported PCI 53 PCIe 54 TRSTn signal 19 Type 0 configuration transaction 44 Type 1 configuration transaction 44 Type 1 to special cycle configuration transaction 46 Type 1 to Type 0 configuration transaction 45 Type 1 to Type 1 configuration transaction 45 typical applications 10 U uncorrectable address/attribute errors 72 uncorrectable data error 71 Undefined 116 unsupported request completion status errors 79 upstream data path 21 non-transparent registers 156 V VGA addressing 34 W warm reset 88 recommended operating conditions 220 register map 120 requestor ID 50 reset PCI 89 PCIe 88 round-robin arbitration 60 S SerDes TAP controller 113 short term caching 28 system errors 80 PEB383 User Manual July 25, 2011 Integrated Device Technology, Inc. Confidential - NDA Required