PCI Local Bus Specification
Total Page:16
File Type:pdf, Size:1020Kb
PCI Local Bus Specification Revision 2.3 March 29, 2002 Revision 2.3 REVISION REVISION HISTORY DATE 1.0 Original issue 6/22/92 2.0 Incorporated connector and add-in card specification 4/30/93 2.1 Incorporated clarifications and added 66 MHz chapter 6/1/95 2.2 Incorporated ECNs and improved readability 12/18/98 2.3 Incorporated ECNs, errata, and deleted 5 volt only keyed 3/29/02 add-in cards The PCI Special Interest Group disclaims all warranties and liability for the use of this document and the information contained herein and assumes no responsibility for any errors that may appear in this document, nor does the PCI Special Interest Group make a commitment to update the information contained herein. Contact the PCI Special Interest Group office to obtain the latest revision of the specification. Questions regarding the PCI specification or membership in the PCI Special Interest Group may be forwarded to: PCI Special Interest Group 5440 SW Westgate Drive Suite 217 Portland, Oregon 97221 Phone: 800-433-5177 (Inside the U.S.) 503-291-2569 (Outside the U.S.) Fax: 503-297-1090 e-mail [email protected] http://www.pcisig.com DISCLAIMER This PCI Local Bus Specification is provided "as is" with no warranties whatsoever, including any warranty of merchantability, noninfringement, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification, or sample. The PCI SIG disclaims all liability for infringement of proprietary rights, relating to use of information in this specification. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted herein. FireWire is a trademark of Apple Computer, Inc. Token Ring and VGA are trademarks and PS/2, IBM, Micro Channel, OS/2, and PC AT are registered trademarks of IBM Corporation. Windows, MS-DOS, and Microsoft are registered trademarks of Microsoft Corporation. Tristate is a registered trademark of National Semiconductor. NuBus is a trademark of Texas Instruments. Ethernet is a registered trademark of Xerox Corporation. All other product names are trademarks, registered trademarks, or service marks of their respective owners. Copyright © 1992, 1993, 1995, 1998, 2002 PCI Special Interest Group ii Revision 2.3 Contents Preface Specification Supersedes Earlier Documents .................................................................. xiii Incorporation of Engineering Change Notices (ECNs) ................................................... xiii Document Conventions.................................................................................................... xiv Chapter 1 Introduction 1.1. Specification Contents ................................................................................................1 1.2. Motivation...................................................................................................................1 1.3. PCI Local Bus Applications .......................................................................................2 1.4. PCI Local Bus Overview ............................................................................................3 1.5. PCI Local Bus Features and Benefits .........................................................................4 1.6. Administration ............................................................................................................6 Chapter 2 Signal Definition 2.1. Signal Type Definition................................................................................................8 2.2. Pin Functional Groups ................................................................................................8 2.2.1. System Pins...................................................................................................................... 8 2.2.2. Address and Data Pins ..................................................................................................... 9 2.2.3. Interface Control Pins .................................................................................................... 10 2.2.4. Arbitration Pins (Bus Masters Only) ............................................................................. 11 2.2.5. Error Reporting Pins ...................................................................................................... 12 2.2.6. Interrupt Pins (Optional) ................................................................................................ 13 2.2.7. Additional Signals.......................................................................................................... 15 2.2.8. 64-Bit Bus Extension Pins (Optional)............................................................................ 17 2.2.9. JTAG/Boundary Scan Pins (Optional)........................................................................... 18 2.2.10. System Management Bus Interface Pins (Optional) ................................................... 19 2.3. Sideband Signals.......................................................................................................19 2.4. Central Resource Functions ......................................................................................19 iii Revision 2.3 Chapter 3 Bus Operation 3.1. Bus Commands .........................................................................................................21 3.1.1. Command Definition...................................................................................................... 21 3.1.2. Command Usage Rules.................................................................................................. 23 3.2. PCI Protocol Fundamentals ......................................................................................26 3.2.1. Basic Transfer Control ................................................................................................... 26 3.2.2. Addressing ..................................................................................................................... 27 3.2.2.1. I/O Space Decoding ................................................................................................ 28 3.2.2.2. Memory Space Decoding........................................................................................ 28 3.2.2.3. Configuration Space Decoding ............................................................................... 30 3.2.3. Byte Lane and Byte Enable Usage................................................................................. 38 3.2.4. Bus Driving and Turnaround ......................................................................................... 39 3.2.5. Transaction Ordering and Posting.................................................................................. 40 3.2.5.1. Transaction Ordering and Posting for Simple Devices........................................... 41 3.2.5.2. Transaction Ordering and Posting for Bridges........................................................ 42 3.2.6. Combining, Merging, and Collapsing............................................................................ 44 3.3. Bus Transactions.......................................................................................................46 3.3.1. Read Transaction............................................................................................................ 47 3.3.2. Write Transaction........................................................................................................... 48 3.3.3. Transaction Termination ................................................................................................49 3.3.3.1. Master Initiated Termination .................................................................................. 49 3.3.3.2. Target Initiated Termination ................................................................................... 51 3.3.3.3. Delayed Transactions.............................................................................................. 61 3.4. Arbitration.................................................................................................................68 3.4.1. Arbitration Signaling Protocol ....................................................................................... 70 3.4.2. Fast Back-to-Back Transactions .................................................................................... 72 3.4.3. Arbitration Parking ........................................................................................................ 74 3.5. Latency......................................................................................................................75 3.5.1. Target Latency ............................................................................................................... 75 3.5.1.1. Target Initial Latency.............................................................................................. 75 3.5.1.2. Target Subsequent Latency..................................................................................... 77 3.5.2. Master Data Latency ...................................................................................................... 78 3.5.3. Memory Write Maximum Completion Time Limit ....................................................... 78 3.5.4. Arbitration Latency........................................................................................................ 79 3.5.4.1. Bandwidth and Latency Considerations.................................................................. 80 3.5.4.2. Determining Arbitration Latency...........................................................................