PI7C8150ND [PERICOM]

2-Port PCI-to-PCI Bridge; 双端口PCI至PCI桥接器
PI7C8150ND
型号: PI7C8150ND
厂家: PERICOM SEMICONDUCTOR CORPORATION    PERICOM SEMICONDUCTOR CORPORATION
描述:

2-Port PCI-to-PCI Bridge
双端口PCI至PCI桥接器

总线控制器 微控制器和处理器 外围集成电路 PC 时钟
文件: 总106页 (文件大小:897K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
PI7C8150  
2-Port PCI-to-PCI Bridge  
REVISION 1.02  
2380 Bering Drive, San Jose, CA 95131  
Telephone: 1-877-PERICOM, (1-877-737-4266)  
Fax: 408-435-1100  
Email: solutions@pericom.com  
Internet: http://www.pericom.com  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
LIFE SUPPORT POLICY  
Pericom Semiconductor Corporation’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 PSC.  
1) Life support devices or system 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 component 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. Pericom Semiconductor Corporation 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. Pericom Semiconductor does not assume any responsibility for use of any  
circuitry described other than the circuitry embodied in a Pericom Semiconductor 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 Pericom Semiconductor Corporation.  
All other trademarks are of their respective companies.  
ii  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
REVISION HISTORY  
Date  
07/16/02  
08/06/02  
Revision Number  
1.01  
1.02  
Description  
First Release of Data Sheet  
Removed “TBD” parameters for TDELAY in sections 17.4 and 17.5  
Added 256-ball PBGA package information, Ordering Information  
(18.1), and pin list.  
Corrected pin type for pins 127 and 128 to “undefined” in the pin list  
(section 2.3).  
Added pin descriptions for pins MS0 and MS1 (section 2.2.4).  
iii  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
TABLE OF CONTENTS  
1
2
INTRODUCTION ................................................................................................................................ 1  
SIGNAL DEFINITIONS ..................................................................................................................... 2  
2.1  
2.2  
SIGNAL TYPES................................................................................................................................. 2  
SIGNALS .......................................................................................................................................... 2  
PRIMARY BUS INTERFACE SIGNALS............................................................................ 2  
CLOCK SIGNALS................................................................................................................. 5  
MISCELLANEOUS SIGNALS............................................................................................. 5  
GENERAL PURPOSE I/O INTERFACE SIGNALS .......................................................... 6  
JTAG BOUNDARY SCAN SIGNALS .................................................................................. 6  
POWER AND GROUND....................................................................................................... 7  
PIN LIST – 208-PIN FQFP............................................................................................................ 7  
PIN LIST – 256-BALL PBGA....................................................................................................... 9  
2.2.1  
2.2.3  
2.2.4  
2.2.5  
2.2.6  
2.2.7  
2.3  
2.4  
3
PCI BUS OPERATION ..................................................................................................................... 10  
3.1  
TYPES OF TRANSACTIONS..................................................................................................... 10  
SINGLE ADDRESS PHASE ....................................................................................................... 11  
DEVICE SELECT (DEVSEL_L) GENERATION...................................................................... 11  
DATA PHASE ............................................................................................................................. 12  
WRITE TRANSACTIONS .......................................................................................................... 12  
MEMORY WRITE TRANSACTIONS................................................................................ 12  
MEMORY WRITE AND INVALIDATE............................................................................ 13  
DELAYED WRITE TRANSACTIONS............................................................................... 13  
WRITE TRANSACTION ADDRESS BOUNDARIES....................................................... 14  
BUFFERING MULTIPLE WRITE TRANSACTIONS..................................................... 15  
FAST BACK-TO-BACK TRANSACTIONS....................................................................... 15  
READ TRANSACTIONS............................................................................................................ 15  
PREFETCHABLE READ TRANSACTIONS.................................................................... 15  
NON-PREFETCHABLE READ TRANSACTIONS.......................................................... 16  
READ PREFETCH ADDRESS BOUNDARIES ............................................................... 16  
DELAYED READ REQUESTS .......................................................................................... 17  
DELAYED READ COMPLETION WITH TARGET ........................................................ 17  
DELAYED READ COMPLETION ON INITIATOR BUS................................................ 18  
FAST BACK-TO-BACK READ TRANSACTION ............................................................. 19  
CONFIGURATION TRANSACTIONS ...................................................................................... 19  
TYPE 0 ACCESS TO PI7C8150 ......................................................................................... 19  
TYPE 1 TO TYPE 0 CONVERSION .................................................................................. 20  
TYPE 1 TO TYPE 1 FORWARDING................................................................................. 21  
SPECIAL CYCLES.............................................................................................................. 22  
TRANSACTION TERMINATION ............................................................................................. 23  
MASTER TERMINATION INITIATED BY PI7C8150.................................................... 24  
MASTER ABORT RECEIVED BY PI7C8150................................................................... 24  
TARGET TERMINATION RECEIVED BY PI7C8150 .................................................... 25  
TARGET TERMINATION INITIATED BY PI7C8150 .................................................... 27  
3.2  
3.3  
3.4  
3.5  
3.5.1  
3.5.2  
3.5.3  
3.5.4  
3.5.5  
3.5.6  
3.6  
3.6.1  
3.6.2  
3.6.3  
3.6.4  
3.6.5  
3.6.6  
3.6.7  
3.7  
3.7.1  
3.7.2  
3.7.3  
3.7.4  
3.8  
3.8.1  
3.8.2  
3.8.3  
3.8.4  
4
ADDRESS DECODING..................................................................................................................... 29  
4.1  
4.2  
4.2.1  
4.2.2  
ADDRESS RANGES................................................................................................................... 29  
I/O ADDRESS DECODING........................................................................................................ 29  
I/O BASE AND LIMIT ADDRESS REGISTER................................................................ 30  
ISA MODE........................................................................................................................... 31  
iv  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
4.3  
4.3.1  
4.3.2  
MEMORY ADDRESS DECODING ........................................................................................... 31  
MEMORY-MAPPED I/O BASE AND LIMIT ADDRESS REGISTERS ......................... 32  
PREFETCHABLE MEMORY BASE AND LIMIT ADDRESS REGISTERS................. 33  
VGA SUPPORT........................................................................................................................... 34  
VGA MODE......................................................................................................................... 34  
VGA SNOOP MODE........................................................................................................... 34  
4.4  
4.4.1  
4.4.2  
5
6
TRANSACTION ORDERING.......................................................................................................... 35  
5.1  
TRANSACTIONS GOVERNED BY ORDERING RULES ....................................................... 35  
GENERAL ORDERING GUIDELINES ..................................................................................... 36  
ORDERING RULES.................................................................................................................... 36  
DATA SYNCHRONIZATION.................................................................................................... 37  
5.2  
5.3  
5.4  
ERROR HANDLING......................................................................................................................... 38  
6.1  
6.2  
ADDRESS PARITY ERRORS .................................................................................................... 38  
DATA PARITY ERRORS ........................................................................................................... 39  
CONFIGURATION WRITE TRANSACTIONS TO CONFIGURATION SPACE.......... 39  
READ TRANSACTIONS .................................................................................................... 39  
DELAYED WRITE TRANSACTIONS............................................................................... 40  
POSTED WRITE TRANSACTIONS.................................................................................. 43  
DATA PARITY ERROR REPORTING SUMMARY................................................................. 44  
SYSTEM ERROR (SERR#) REPORTING ................................................................................. 48  
6.2.1  
6.2.2  
6.2.3  
6.2.4  
6.3  
6.4  
7
8
EXCLUSIVE ACCESS...................................................................................................................... 49  
7.1  
7.2  
7.2.1  
7.2.2  
7.3  
CONCURRENT LOCKS............................................................................................................. 49  
ACQUIRING EXCLUSIVE ACCESS ACROSS PI7C8150....................................................... 49  
LOCKED TRANSACTIONS IN DOWNSTREAM DIRECTION ..................................... 49  
LOCKED TRANSACTION IN UPSTREAM DIRECTION .............................................. 51  
ENDING EXCLUSIVE ACCESS................................................................................................ 51  
PCI BUS ARBITRATION................................................................................................................. 51  
8.1  
8.2  
PRIMARY PCI BUS ARBITRATION........................................................................................ 52  
SECONDARY PCI BUS ARBITRATION.................................................................................. 52  
SECONDARY BUS ARBITRATION USING THE INTERNAL ARBITER.................... 52  
PREEMPTION.................................................................................................................... 54  
SECONDARY BUS ARBITRATION USING AN EXTERNAL ARBITER...................... 54  
BUS PARKING.................................................................................................................... 54  
8.2.1  
8.2.2  
8.2.3  
8.2.4  
9
CLOCKS ............................................................................................................................................. 55  
9.1  
9.2  
PRIMARY CLOCK INPUTS....................................................................................................... 55  
SECONDARY CLOCK OUTPUTS ............................................................................................ 55  
10  
GENERAL PURPOSE I/O INTERFACE.................................................................................... 55  
10.1 GPIO CONTROL REGISTERS................................................................................................... 55  
10.2 SECONDARY CLOCK CONTROL............................................................................................ 56  
10.3 LIVE INSERTION....................................................................................................................... 58  
11  
PCI POWER MANAGEMENT .................................................................................................... 58  
12  
RESET............................................................................................................................................. 59  
12.1 PRIMARY INTERFACE RESET................................................................................................ 59  
12.2 SECONDARY INTERFACE RESET.......................................................................................... 59  
12.3 CHIP RESET................................................................................................................................ 60  
v
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
13  
14  
SUPPORTED COMMANDS......................................................................................................... 60  
13.1 PRIMARY INTERFACE............................................................................................................. 60  
13.2 SECONDARY INTERFACE....................................................................................................... 61  
CONFIGURATION REGISTERS................................................................................................ 62  
14.1 CONFIGURATION REGISTER ................................................................................................. 62  
14.1.1 VENDOR ID REGISTER – OFFSET 00h......................................................................... 63  
14.1.2 DEVICE ID REGISTER – OFFSET 00h .......................................................................... 63  
14.1.3 COMMAND REGISTER – OFFSET 04h.......................................................................... 63  
14.1.4 STATUS REGISTER – OFFSET 04h................................................................................ 64  
14.1.5 REVISION ID REGISTER – OFFSET 08h ...................................................................... 65  
14.1.6 CLASS CODE REGISTER – OFFSET 08h....................................................................... 65  
14.1.7 CACHE LINE SIZE REGISTER – OFFSET 0Ch ............................................................ 65  
14.1.8 PRIMARY LATENCY TIMER REGISTER – OFFSET 0Ch ........................................... 66  
14.1.9 HEADER TYPE REGISTER – OFFSET 0Ch................................................................... 66  
14.1.10  
14.1.11  
14.1.12  
14.1.13  
14.1.14  
14.1.15  
14.1.16  
14.1.17  
14.1.18  
14.1.19  
14.1.20  
14.1.21  
PRIMARY BUS NUMBER REGISTSER – OFFSET 18h............................................ 66  
SECONDARY BUS NUMBER REGISTER – OFFSET 18h ........................................ 66  
SUBORDINATE BUS NUMBER REGISTER – OFFSET 18h.................................... 66  
SECONDARY LATENCY TIMER REGISTER – OFFSET 18h .................................. 66  
I/O BASE REGISTER – OFFSET 1Ch.......................................................................... 67  
I/O LIMIT REGISTER – OFFSET 1Ch ........................................................................ 67  
SECONDARY STATUS REGISTER – OFFSET 1Ch................................................... 67  
MEMORY BASE REGISTER – OFFSET 20h.............................................................. 68  
MEMORY LIMIT REGISTER – OFFSET 20h............................................................. 68  
PEFETCHABLE MEMORY BASE REGISTER – OFFSET 24h ................................ 68  
PREFETCHABLE MEMORY LIMIT REGISTER – OFFSET 24h ............................ 69  
PREFETCHABLE MEMORY BASE ADDRESS UPPER 32-BITS REGISTER –  
OFFSET 28h ....................................................................................................................................... 69  
14.1.22 PREFETCHABLE MEMORY LIMIT ADDRESS UPPER 32-BITS REGISTER –  
OFFSET 2Ch....................................................................................................................................... 69  
14.1.23  
14.1.24  
14.1.25  
14.1.26  
14.1.27  
14.1.28  
14.1.29  
14.1.30  
14.1.31  
14.1.32  
14.1.33  
4Ch  
I/O BASE ADDRESS UPPER 16-BITS REGISTER – OFFSET 30h.......................... 69  
I/O LIMIT ADDRESS UPPER 16-BITS REGISTER – OFFSET 30h......................... 70  
ECP POINTER REGISTER – OFFSET 34h................................................................. 70  
INTERRUPT LINE REGISTER – OFFSET 3Ch ......................................................... 70  
INTERRUPT PIN REGISTER – OFFSET 3Ch............................................................ 70  
BRIDGE CONTROL REGISTER – OFFSET 3Ch ....................................................... 70  
DIAGNOSTIC / CHIP CONTROL REGISTER – OFFSET 40h.................................. 71  
ARBITER CONTROL REGISTER – OFFSET 40h...................................................... 72  
EXTENDED CHIP CONTROL REGISTER – OFFSET 48h....................................... 73  
UPSTREAM MEMORY CONTROL REGISTER – OFFSET 48h ............................... 73  
SECONDARY BUS ARBITER PREEMPTION CONTROL REGISTER – OFFSET  
.......................................................................................................................................... 73  
UPSTREAM (S TO P) MEMORY BASE REGISTER – OFFSET 50h ........................ 74  
UPSTREAM (S TO P) MEMORY LIMIT REGISTER – OFFSET 50h....................... 74  
UPSTREAM (S TO P) MEMORY BASE UPPER 32-BITS REGISTER – OFFSET 54h  
.......................................................................................................................................... 74  
UPSTREAM (S TO P) MEMORY LIMIT UPPER 32-BITS REGISTER – OFFSET  
.......................................................................................................................................... 75  
P_SERR_L EVENT DISABLE REGISTER – OFFSET 64h........................................ 75  
GPIO DATA AND CONTROL REGISTER – OFFSET 64h ........................................ 76  
SECONDARY CLOCK CONTROL REGISTER – OFFSET 68h ................................. 76  
P_SERR_L STATUS REGISTER – OFFSET 68h........................................................ 77  
PORT OPTION REGISTER – OFFSET 74h................................................................. 77  
14.1.34  
14.1.35  
14.1.36  
14.1.37  
58h  
14.1.38  
14.1.39  
14.1.40  
14.1.41  
14.1.42  
vi  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
14.1.43  
14.1.44  
14.1.45  
14.1.46  
14.1.47  
14.1.48  
14.1.49  
14.1.50  
14.1.51  
14.1.52  
14.1.53  
14.1.54  
14.1.55  
RETRY COUNTER REGISTER – OFFSET 78h .......................................................... 78  
PRIMARY MASTER TIMEOUT COUNTER – OFFSET 80h ..................................... 79  
SECONDARY MASTER TIMEOUT COUNTER – OFFSET 80h ............................... 79  
CAPABILITY ID REGISTER – OFFSET B0h ............................................................. 79  
NEXT POINTER REGISTER – OFFSET B0h ............................................................. 79  
SLOT NUMBER REGISTER – OFFSET B0h .............................................................. 79  
CHASSIS NUMBER REGISTER – OFFSET B0h ....................................................... 80  
CAPABILITY ID REGISTER – OFFSET DCh............................................................. 80  
NEXT ITEM POINTER REGISTER – OFFSET DCh ................................................. 80  
POWER MANAGEMENT CAPABILITIES REGISTER – OFFSET DCh ................. 80  
POWER MANAGEMENT DATA REGISTER – OFFSET E0h................................... 80  
CAPABILITY ID REGISTER – OFFSET E4h ............................................................. 81  
NEXT POINTER REGISTER – OFFSET E4h ............................................................. 81  
15  
16  
BRIDGE BEHAVIOR.................................................................................................................... 81  
15.1 BRIDGE ACTIONS FOR VARIOUS CYCLE TYPES .............................................................. 81  
15.2 ABNORMAL TERMINATION (INITIATED BY BRIDGE MASTER).................................... 82  
15.2.1 MASTER ABORT................................................................................................................ 82  
15.2.2 PARITY AND ERROR REPORTING ................................................................................ 82  
15.2.3 REPORTING PARITY ERRORS ....................................................................................... 82  
15.2.4 SECONDARY IDSEL MAPPING ...................................................................................... 83  
IEEE 1149.1 COMPATIBLE JTAG CONTROLLER................................................................ 83  
16.1 BOUNDARY SCAN ARCHITECTURE..................................................................................... 83  
16.1.1 TAP PINS............................................................................................................................. 84  
16.1.2 INSTRUCTION REGISTER............................................................................................... 84  
16.2 BOUNDARY SCAN INSTRUCTION SET ................................................................................ 85  
16.3 TAP TEST DATA REGISTERS.................................................................................................. 85  
16.4 BYPASS REGISTER................................................................................................................... 86  
16.5 BOUNDARY-SCAN REGISTER................................................................................................ 86  
16.6 TAP CONTROLLER ................................................................................................................... 86  
17  
ELECTRICAL AND TIMING SPECIFICATIONS................................................................... 90  
17.1 MAXIMUM RATINGS ............................................................................................................... 90  
17.2 DC SPECIFICATIONS................................................................................................................ 90  
17.3 AC SPECIFICATIONS................................................................................................................ 91  
17.4 66MHZ TIMING.......................................................................................................................... 91  
17.5 33MHZ TIMING.......................................................................................................................... 92  
17.6 POWER CONSUMPTION .......................................................................................................... 92  
18  
PACKAGE INFORMATION........................................................................................................ 92  
18.1 208-PIN FQFP PACKAGE DIAGRAM ...................................................................................... 92  
18.2 256-BALL PBGA PACKAGE DIAGRAM................................................................................. 93  
18.3 PART NUMBER ORDERING INFORMATION........................................................................ 93  
LIST OF TABLES  
Table 3-1. Pin list – 208-pin FQFP_______________________________________________________ 7  
Table 3-2. Pin list – 208-pin FQFP_______________________________________________________ 9  
Table 4-1. PCI Transactions ___________________________________________________________ 11  
Table 4-2. Write Transaction Forwarding ________________________________________________ 12  
Table 4-3. Write Transaction Disconnect Address Boundaries ________________________________ 15  
Table 4-4. Read Prefetch Address Boundaries_____________________________________________ 16  
vii  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Table 4-5. Read Transaction Prefetching_________________________________________________ 17  
Table 4-6. Device Number to IDSEL S_AD Pin Mapping____________________________________ 21  
Table 4-7. Delayed Write Target Termination Response _____________________________________ 25  
Table 4-8. Response to Posted Write Target Termination ____________________________________ 26  
Table 4-9. Response to Delayed Read Target Termination ___________________________________ 27  
Table 6-1. Summary of Transaction Ordering _____________________________________________ 36  
Table 7-1. Setting the Primary Interface Detected Parity Error Bit ____________________________ 44  
Table 7-2. Setting Secondary Interface Detected Parity Error Bit______________________________ 45  
Table 7-3. Setting Primary Interface Master Data Parity Error Detected Bit_____________________ 45  
Table 7-4. Setting Secondary Interface Master Data Parity Error Detected Bit ___________________ 46  
Table 7-5. Assertion of P_PERR#_______________________________________________________ 46  
Table 7-6. Assertion of S_PERR#_______________________________________________________ 47  
Table 7-7. Assertion of P_SERR# for Data Parity Errors ____________________________________ 47  
Table 11-1. GPIO Operation___________________________________________________________ 56  
Table 11-2. GPIO Serial Data Format ___________________________________________________ 57  
Table 12-1. Power management transitions _______________________________________________ 58  
Table 16-1. TAP Pins_________________________________________________________________ 85  
Table 16-2. JTAG Boundary Register Order_______________________________________________ 86  
LIST OF FIGURES  
Figure 9-1. Secondary Arbiter Example...................................................................................................... 53  
Figure 16-1. Test Access Port Block Diagram ............................................................................................ 84  
Figure 17-1. PCI Signal Timing Measurement Conditions ......................................................................... 91  
Figure 18-1. 208-pin FQFP Package Outline ............................................................................................... 92  
Figure 18-2. 256-ball PBGA Package Outline ............................................................................................. 93  
viii  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
This page intentionally left blank.  
ix  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
This page intentionally left blank.  
x
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
1
INTRODUCTION  
Product Description  
The PI7C8150 is Pericom Semiconductor’s third-generation PCI-PCI Bridge.  
It is designed to be fully compliant with the 32-bit, 66MHz implementation of  
the PCI Local Bus Specification, Revision 2.2. The PI7C8150 supports only synchronous  
bus transactions between devices on the Primary Bus running at 33MHz to 66MHz and the  
Secondary Buses operating at either 33MHz or 66MHz. The Primary and Secondary Bus  
can also operate in concurrent mode, resulting in added increase in system performance.  
Concurrent bus operation off-loads and isolates unnecessary traffic from the Primary Bus,  
thereby enabling a master and a target device on the Secondary PCI Bus to communicate  
even while the Primary Bus is busy.  
Product Features  
S
S
S
32-bit Primary and Secondary Ports run up to 66MHz  
Compliant with the PCI Local Bus Specification, Revision 2.2  
Compliant with PCI-to-PCI Bridge Architecture Specification, Revision 1.1.  
- All I/O and memory commands  
- Type 1 to Type 0 configuration conversion  
- Type 1 to Type 1 configuration forwarding  
- Type 1 configuration write to special cycle conversion  
Compliant with the Advanced Configuration Power Interface (ACPI) Specification.  
Compliant with the PCI Power Management Specification, Revision 1.0.  
Concurrent Primary to Secondary Bus operation and independent intra-Secondary Port  
channel to reduce traffic on the Primary Port  
S
S
S
S
Provides internal arbitration for one set of nine secondary bus masters  
- Programmable 2-level priority arbiter  
- Disable control for use of external arbiter  
S
S
S
S
Supports posted write buffers in all directions  
Two 128 byte FIFO’s for delay transactions  
Two 128 byte FIFO’s for posted memory transactions  
Enhanced address decoding  
- 32-bit I/O address range  
- 32-bit memory-mapped I/O address range  
- VGA addressing and VGA palette snooping  
- ISA-aware mode for legacy support in the first 64KB of I/O address range  
Interrupt handling  
S
- PCI interrupts are routed through an external interrupt concentrator  
Supports system transaction ordering rules  
S
S
S
S
S
Extended commercial temperature range 0°C to 85°C  
IEEE 1149.1 JTAG interface support  
3.3V core; 3.3V and 5V signaling  
208-pin FQFP package  
1
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
2
SIGNAL DEFINITIONS  
2.1  
Signal Types  
Signal Type  
Description  
Input Only  
I
O
P
TS  
STS  
Output Only  
Power  
Tri-State bi-directional  
Sustained Tri-State. Active LOW signal must be pulled HIGH for 1 cycle when  
deasserting.  
Open Drain  
OD  
2.2  
Signals  
Note: Signal names that end with “_L” are active LOW.  
2.2.1  
PRIMARY BUS INTERFACE SIGNALS  
Name  
Pin #  
Type  
Description  
P_AD[31:0]  
49, 50, 55, 57, 58,  
60, 61, 63, 67, 68,  
70, 71, 73, 74, 76,  
77, 93, 95, 96, 98,  
99, 101, 107, 109,  
112, 113, 115,  
116, 118, 119,  
121, 122  
TS  
Primary Address / Data: Multiplexed address and data  
bus. Address is indicated by P_FRAME_L assertion.  
Write data is stable and valid when P_IRDY_L is  
asserted and read data is stable and valid when  
P_TRDY_L is asserted. Data is transferred on rising  
clock edges when both P_IRDY_L and P_TRDY_L are  
asserted. During bus idle, PI7C8150 drives P_AD to a  
valid logic level when P_GNT_L is asserted.  
Primary Command/Byte Enables: Multiplexed  
command field and byte enable field. During address  
phase, the initiator drives the transaction type on these  
pins. After that, the initiator drives the byte enables  
during data phases. During bus idle, PI7C8150 drives  
P_CBE[3:0] to a valid logic level when P_GNT_L is  
asserted.  
P_CBE[3:0]  
P_PAR  
64, 79, 92, 110  
TS  
TS  
90  
Primary Parity. Parity is even across P_AD[31:0],  
P_CBE[3:0], and P_PAR (i.e. an even number of 1’s).  
P_PAR is an input and is valid and stable one cycle after  
the address phase (indicated by assertion of  
P_FRAME_L) for address parity. For write data phases,  
P_PAR is an input and is valid one clock after  
P_IRDY_L is asserted. For read data phase, P_PAR is  
an output and is valid one clock after P_TRDY_L is  
asserted. Signal P_PAR is tri-stated one cycle after the  
P_AD lines are tri-stated. During bus idle, PI7C8150  
drives P_PAR to a valid logic level when P_GNT_L is  
asserted.  
Primary FRAME (Active LOW). Driven by the  
initiator of a transaction to indicate the beginning and  
duration of an access. The de-assertion of P_FRAME_L  
indicates the final data phase requested by the initiator.  
Before being tri-stated, it is driven to a de-asserted state  
for one cycle.  
P_FRAME_L  
80  
STS  
2
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Name  
Pin #  
Type  
Description  
P_IRDY_L  
82  
STS  
Primary IRDY (Active LOW). Driven by the initiator  
of a transaction to indicate its ability to complete current  
data phase on the primary side. Once asserted in a data  
phase, it is not de-asserted until the end of the data  
phase. Before tri-stated, it is driven to a de-asserted state  
for one cycle.  
P_TRDY_L  
83  
84  
STS  
STS  
Primary TRDY (Active LOW). Driven by the target of  
a transaction to indicate its ability to complete current  
data phase on the primary side. Once asserted in a data  
phase, it is not de-asserted until the end of the data  
phase. Before tri-stated,  
it is driven to a de-asserted state for one cycle.  
Primary Device Select (Active LOW). Asserted by the  
target indicating that the device is accepting the  
transaction. As a master, PI7C8150 waits for the  
assertion of this signal within 5 cycles of P_FRAME_L  
assertion; otherwise, terminate with master abort. Before  
tri-stated, it is driven to a  
P_DEVSEL_L  
de-asserted state for one cycle.  
P_STOP_L  
85  
STS  
Primary STOP (Active LOW). Asserted by the target  
indicating that the target is requesting the initiator to stop  
the current transaction. Before tri-stated, it is driven to a  
de-asserted state for one cycle.  
P_LOCK_L  
P_IDSEL  
87  
65  
88  
STS  
I
Primary LOCK (Active LOW). Asserted by the  
master for multiple transactions to complete.  
Primary ID Select. Used as a chip select line for Type  
0 configuration access to PI7C8150 configuration space.  
Primary Parity Error (Active LOW). Asserted when  
a data parity error is detected for data received on the  
primary interface. Before being tri-stated, it is driven to  
a de-asserted state for one cycle.  
P_PERR_L  
STS  
P_SERR_L  
89  
OD  
Primary System Error (Active LOW). Can be driven  
LOW by any device to indicate a system error condition.  
PI7C8150 drives this pin on:  
C
C
C
C
C
C
C
C
C
Address parity error  
Posted write data parity error on target bus  
Secondary S_SERR_L asserted  
Master abort during posted write transaction  
Target abort during posted write transaction  
Posted write transaction discarded  
Delayed write request discarded  
Delayed read request discarded  
Delayed transaction master timeout  
This signal requires an external pull-up resistor for  
proper operation.  
P_REQ_L  
P_GNT_L  
47  
46  
TS  
I
Primary Request (Active LOW): This is asserted by  
PI7C8150 to indicate that it wants to start a transaction  
on the primary bus. PI7C8150 de-asserts this pin for at  
least 2 PCI clock cycles before asserting it again.  
Primary Grant (Active LOW): When asserted,  
PI7C8150 can access the primary bus. During idle and  
P_GNT_L asserted, PI7C8150 will drive P_AD, P_CBE,  
and P_PAR to valid logic levels.  
P_RESET_L  
P_M66EN  
43  
I
I
Primary RESET (Active LOW): When P_RESET_L is  
active, all PCI signals should be asynchronously tri-  
stated.  
102  
Primary Interface 66MHz Operation.  
This input is used to specify if PI7C8150 is capable of  
running at 66MHz. For 66MHz operation on the Primary  
bus, this signal should be pulled “HIGH”. For 33MHz  
operation on the Primary bus, this signal should be  
pulled “LOW”. In this condition, S_M66EN will need  
to be “LOW”, forcing the secondary buse to run at  
33MHz also.  
3
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
2.2.2  
SECONDARY BUS INTERFACE SIGNALS  
Name  
Pin #  
Type  
Description  
S_AD[31:0]  
206, 204, 203,  
201, 200, 198,  
197, 195, 192,  
191, 189, 188,  
186, 185, 183,  
182, 165, 164,  
162, 161, 159,  
154, 152, 150,  
147, 146, 144,  
143, 141, 140,  
138, 137  
TS  
Secondary Address/Data: Multiplexed address and data  
bus. Address is indicated by S_FRAME_L assertion.  
Write data is stable and valid when S_IRDY_L is  
asserted and read data is stable and valid when  
S_IRDY_L is asserted. Data is transferred on rising  
clock edges when both S_IRDY_L and S_TRDY_L are  
asserted. During bus idle, PI7C8150 drives S_AD to a  
valid logic level when S_GNT_L is asserted  
respectively.  
S_CBE[3:0]  
S_PAR  
194, 180, 167, 149  
TS  
TS  
Secondary Command/Byte Enables: Multiplexed  
command field and byte enable field. During address  
phase, the initiator drives the transaction type on these  
pins. The initiator then drives the byte enables during  
data phases. During bus idle, PI7C8150 drives  
S_CBE[3:0] to a valid logic level when the internal grant  
is asserted.  
Secondary Parity: Parity is even across S_AD[31:0],  
S_CBE[3:0], and S_PAR (i.e. an even number of 1’s).  
S_PAR is an input and is valid and stable one cycle after  
the address phase (indicated by assertion of  
168  
S_FRAME_L) for address parity. For write data phases,  
S_PAR is an input and is valid one clock after  
S_IRDY_L is asserted. For read data phase, S_PAR is  
an output and is valid one clock after S_TRDY_L is  
asserted. Signal S_PAR is tri-stated one cycle after the  
S_AD lines are tri-stated. During bus idle, PI7C8150  
drives S_PAR to a valid logic level when the internal  
grant is asserted.  
Secondary FRAME (Active LOW): Driven by the  
initiator of a transaction to indicate the beginning and  
duration of an access. The de-assertion of S_FRAME_L  
indicates the final data phase requested by the initiator.  
Before being tri-stated, it is driven to a de-asserted state  
for one cycle.  
Secondary IRDY (Active LOW): Driven by the  
initiator of a transaction to indicate its ability to  
complete current data phase on the secondary side. Once  
asserted in a data phase, it is not de-asserted until the end  
of the data phase. Before tri-stated, it is driven to a de-  
asserted state for one cycle.  
Secondary TRDY (Active LOW): Driven by the target  
of a transaction to indicate its ability to complete current  
data phase on the secondary side. Once asserted in a  
data phase, it is not de-asserted until the end of the data  
phase. Before tri-stated, it is driven to a de-asserted state  
for one cycle.  
S_FRAME_L  
S_IRDY_L  
179  
177  
176  
175  
STS  
STS  
STS  
STS  
S_TRDY_L  
S_DEVSEL_L  
Secondary Device Select (Active LOW): Asserted by  
the target indicating that the device is accepting the  
transaction. As a master, PI7C8150 waits for the  
assertion of this signal within 5 cycles of S_FRAME_L  
assertion; otherwise, terminate with master abort. Before  
tri-stated, it is driven to a de-asserted state for one cycle.  
Secondary STOP (Active LOW): Asserted by the  
target indicating that the target is requesting the initiator  
to stop the current transaction. Before tri-stated, it is  
driven to a de-asserted state for one cycle.  
S_STOP_L  
S_LOCK_L  
173  
172  
STS  
STS  
Secondary LOCK (Active LOW): Asserted by the  
master for multiple transactions to complete.  
4
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Name  
Pin #  
Type  
Description  
S_PERR_L  
171  
STS  
Secondary Parity Error (Active LOW): Asserted  
when a data parity error is detected for data received on  
the secondary interface. Before being tri-stated, it is  
driven to a de-asserted state for one cycle.  
S_SERR_L  
169  
I
I
Secondary System Error (Active LOW): Can be  
driven LOW by any device to indicate a system error  
condition.  
Secondary Request (Active LOW): This is asserted by  
an external device to indicate that it wants to start a  
transaction on the secondary bus. The input is externally  
pulled up through a resistor to VDD.  
S_REQ_L[8:0]  
9, 8, 7, 6, 5, 4, 3,  
2, 207  
S_GNT_L[8:0]  
S_RESET_L  
19, 18, 17, 16, 15,  
14, 13, 11, 10  
TS  
O
Secondary Grant (Active LOW): PI7C8150 asserts this  
pin to access the secondary bus. PI7C8150 de-asserts  
this pin for at least 2 PCI clock cycles before asserting it  
again. During idle and S_GNT_L asserted, PI7C8150  
will drive S_AD, S_CBE, and S_PAR.  
22  
Secondary RESET (Active LOW): Asserted when any  
of the following conditions are met:  
1. Signal P_RESET_L is asserted.  
2. Secondary reset bit in bridge control register in  
configuration space is set.  
When asserted, all control signals are tri-stated and  
zeroes are driven on S_AD, S_CBE, and S_PAR.  
Secondary Interface 66MHz Operation: This input is  
used to specify if PI7C8150 is running at 66MHz on the  
secondary side. When HIGH, the Secondary bus may  
run at 66MHz. When LOW, the Secondary bus may  
only run at 33MHz.  
S_M66EN  
S_CFN_L  
153  
23  
I/OD  
If P_M66EN is pulled LOW, the S_M66EN is driven  
also driven LOW.  
I
Secondary Bus Central Function Control Pin: When  
tied LOW, it enables the internal arbiter. When tied  
HIGH, an external arbiter must be used. S_REQ_L[0] is  
reconfigured to be the secondary bus grant input, and  
S_GNT_L[0] is reconfigured to be the secondary bus  
request output.  
2.2.3  
CLOCK SIGNALS  
Name  
Pin #  
Type  
Description  
P_CLK  
45  
I
Primary Clock Input: Provides timing for all  
transactions on the primary interface.  
Secondary Clock Input: Provides timing for all  
transactions on the secondary interface.  
Secondary Clock Output: Provides secondary clocks  
phase synchronous with the P_CLK.  
S_CLKIN  
21  
I
S_CLKOUT[9:0]  
42, 41, 39, 38, 36,  
35, 33, 32, 30, 29  
O
When these clocks are used, one of the clock outputs  
must be fed back to S_CLKIN. Unused outputs may be  
disabled by:  
1. Writing the secondary clock disable bits in the  
configuration space  
2. Using the serial disable mask using the GPIO pins and  
MSK_IN  
3. Terminating them electrically.  
2.2.4  
MISCELLANEOUS SIGNALS  
Name  
Pin #  
Type  
Description  
5
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
MSK_IN  
126  
I
Secondary Clock Disable Serial Input: This pin is used  
by PI7C8150 to disable secondary clock outputs. The  
serial stream is received by MSK_IN, starting when  
P_RESET is detected deasserted and S_RESET_L is  
detected as being asserted. The serial data is used for  
selectively disabling secondary clock outputs and is  
shifted into the secondary clock control configuration  
register. This pin can be tied LOW to enable all  
secondary clock outputs or tied HIGH to drive all the  
secondary clock outputs HIGH.  
P_VIO  
S_VIO  
BPCCE  
124  
135  
44  
I
I
I
Primary I/O Voltage: This pin is used to determine  
either 3.3V or 5V signaling on the primary bus. P_VIO  
must be tied to 3.3V only when all devices on the  
primary bus use 3.3V signaling. Otherwise, P_VIO is  
tied to 5V.  
Secondary I/O Voltage: This pin is used to determine  
either 3.3V or 5V signaling on the secondary bus.  
S_VIO must be tied to 3.3V only when all devices on the  
secondary bus use 3.3V signaling. Otherwise, S_VIO is  
tied to 5V.  
Bus/Power Clock Control Management Pin: When  
this pin is tied HIGH and the PI7C8150 is placed in the  
D3HOT power state, it enables the PI7C8150 to place the  
secondary bus in the B2 power state. The secondary  
clocks are disabled and driven to 0. When this pin is tied  
LOW, there is no effect on the secondary bus clocks  
when the PI7C8150 enters the D3HOT power state.  
66MHz Configuration: This pin is used to designate  
66MHz operation. Tie HIGH to enable 66MHz operation  
or tie LOW to designate 33MHz operation.  
CFG66  
125  
125  
I
I
SCAN_EN_H  
Full-Scan Enable Control: When SCAN_EN_H is  
LOW, full-scan is in shift operation. When  
SCAN_EN_H is HIGH, full-scan is in parallel operation.  
Note: Valid only in test mode. Pin is CFG66 in normal  
operation.  
MS0, MS1  
155, 106  
I
Mode Selection: Reserved for future features.  
MS0: 0, MS1: 0 – RESERVED  
MS0: 0, MS1: 1 – RESERVED  
MS0: 1, MS1: x – Intel compatible (default)  
2.2.5  
2.2.6  
GENERAL PURPOSE I/O INTERFACE SIGNALS  
Name  
Pin #  
Type  
Description  
GPIO[3:0]  
24, 25, 27, 28  
TS  
General Purpose I/O Data Pins: The 4 general-purpose  
signals are programmable as either input-only or bi-  
directional signals by writing the GPIO output enable  
control register in the configuration space.  
JTAG BOUNDARY SCAN SIGNALS  
Name  
Pin #  
Type  
Description  
TCK  
133  
I
Test Clock. Used to clock state information and data  
into and out of the PI7C8150 during boundary scan.  
Test Mode Select. Used to control the state of the Test  
Access Port controller.  
TMS  
TDO  
132  
130  
I
O
Test Data Output. When SCAN_EN_H is HIGH, it is  
used (in conjunction with TCK) to shift data out of the  
Test Access Port (TAP) in a serial bit stream.  
6
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
TDI  
129  
134  
I
I
Test Data Input. When SCAN_EN_H is HIGH, it is  
used (in conjunction with TCK) to shift data and  
instructions into the Test Access Port (TAP) in a serial  
bit stream.  
Test Reset. Active LOW signal to reset the Test Access  
Port (TAP) controller into an initialized state.  
TRST_L  
2.2.7  
POWER AND GROUND  
Name  
Pin #  
Type  
Description  
VDD  
1, 26, 34, 40, 51,  
53, 56, 62, 69, 75,  
81, 91, 97, 103,  
105, 108, 114,  
120, 131, 139,  
145, 151, 155,  
157, 163, 170,  
178, 184, 190,  
196, 202, 208  
12, 20, 31, 37, 48,  
52, 54, 59, 66, 72,  
78, 86, 94, 100,  
104, 106, 111,  
117, 123, 136,  
142, 148, 156,  
158, 160, 166,  
174, 181, 187,  
193, 199, 205  
P
Power: +3.3V Digital power.  
VSS  
P
Ground: Digital ground.  
2.3  
PIN LIST – 208-PIN FQFP  
Table 3-1. Pin list – 208-pin FQFP  
Pin Number  
Name  
Type  
P
Pin Number  
Name  
Type  
I
1
VDD  
2
S_REQ_L[1]  
S_REQ_L[3]  
S_REQ_L[5]  
S_REQ_L[7]  
S_GNT_L[0]  
VSS  
3
S_REQ_L[2]  
S_REQ_L[4]  
S_REQ_L[6]  
S_REQ_L[8]  
S_GNT_L[1]  
S_GNT_L[2]  
S_GNT_L[4]  
S_GNT_L[6]  
S_GNT_L[8]  
S_CLKIN  
S_CFN_L  
GPIO[2]  
I
4
I
5
I
6
I
I
TS  
P
TS  
TS  
TS  
P
O
TS  
P
7
I
8
9
I
10  
12  
14  
16  
18  
20  
22  
24  
26  
28  
30  
32  
34  
36  
38  
40  
42  
44  
46  
48  
50  
52  
54  
11  
13  
15  
17  
19  
21  
23  
25  
27  
29  
31  
33  
35  
37  
39  
41  
43  
45  
47  
49  
51  
53  
TS  
TS  
TS  
TS  
TS  
I
S_GNT_L[3]  
S_GNT_L[5]  
S_GNT_L[7]  
VSS  
S_RESET_L  
GPIO[3]  
I
TS  
TS  
O
P
VDD  
GPIO[1]  
GPIO[0]  
TS  
O
O
P
S_CLKOUT[0]  
VSS  
S_CLKOUT[1]  
S_CLKOUT[2]  
VDD  
S_CLKOUT[3]  
S_CLKOUT[4]  
VSS  
O
O
P
S_CLKOUT[5]  
S_CLKOUT[6]  
VDD  
O
O
P
S_CLKOUT[7]  
S_CLKOUT[8]  
P_RESET_L  
P_CLK  
O
O
I
S_CLKOUT[9]  
BPCCE  
O
I
I
P_GNT_L  
VSS  
I
P_REQ_L  
P_AD[31]  
VDD  
TS  
TS  
P
P
P_AD[30]  
VSS  
TS  
P
VDD  
P
VSS  
P
7
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Pin Number  
55  
Name  
Type  
TS  
TS  
P
Pin Number  
56  
Name  
Type  
P
P_AD[29]  
P_AD[28]  
VSS  
VDD  
57  
58  
P_AD[27]  
P_AD[26]  
VDD  
TS  
TS  
P
59  
60  
61  
P_AD[25]  
P_AD[24]  
P_IDSEL  
P_AD[23]  
VDD  
P_AD[20]  
P_AD[19]  
VDD  
P_AD[16]  
P_CBE[2]  
VDD  
TS  
TS  
I
62  
63  
64  
P_CBE[3]  
VSS  
TS  
P
65  
66  
67  
TS  
P
68  
P_AD[22]  
P_AD[21]  
VSS  
TS  
TS  
P
69  
70  
71  
TS  
TS  
P
72  
73  
74  
P_AD[18]  
P_AD[17]  
VSS  
TS  
TS  
P
75  
76  
77  
TS  
TS  
P
78  
79  
80  
P_FRAME_L  
P_IRDY_L  
P_DEVSEL_L  
VSS  
STS  
STS  
STS  
P
81  
82  
83  
P_TRDY_L  
P_STOP_L  
P_LOCK_L  
P_SERR_L  
VDD  
STS  
STS  
STS  
STS  
P
84  
85  
86  
87  
88  
P_PERR_L  
P_PAR  
P_CBE[1]  
VSS  
STS  
STS  
TS  
P
89  
90  
91  
92  
93  
P_AD[15]  
P_AD[14]  
VDD  
TS  
TS  
P
94  
95  
96  
P_AD[13]  
P_AD[12]  
VSS  
TS  
TS  
P
97  
98  
99  
P_AD[11]  
P_AD[10]  
VDD  
TS  
TS  
P
100  
102  
104  
106  
108  
110  
112  
114  
116  
118  
120  
122  
124  
126  
128  
130  
132  
134  
136  
138  
140  
142  
144  
146  
148  
150  
152  
154  
156  
158  
160  
162  
164  
166  
168  
170  
172  
174  
176  
178  
180  
101  
103  
105  
107  
109  
111  
113  
115  
117  
119  
121  
123  
125  
127  
129  
131  
133  
135  
137  
139  
141  
143  
145  
147  
149  
151  
153  
155  
157  
159  
161  
163  
165  
167  
169  
171  
173  
175  
177  
179  
P_M66EN  
VSS  
I
P
VDD  
P
MS1  
VDD  
I
P_AD[9]  
P_AD[8]  
VSS  
TS  
TS  
P
P
P_CBE[0]  
P_AD[7]  
VDD  
TS  
TS  
P
P_AD[6]  
P_AD[5]  
VSS  
TS  
TS  
P
P_AD[4]  
P_AD[3]  
VDD  
TS  
TS  
P
P_AD[2]  
P_AD[1]  
VSS  
TS  
TS  
P
P_AD[0]  
P_VIO  
TS  
I
CFG66 / SCAN_EN_H  
RESERVED  
TDI  
I
MSK_IN  
RESERVED  
TDO  
I
-
-
I
O
VDD  
P
TMS  
I
TCK  
I
TRST_L  
VSS  
I
S_VIO  
I
P
S_AD[0]  
VDD  
TS  
P
S_AD[1]  
S_AD[2]  
VSS  
TS  
TS  
P
S_AD[3]  
S_ADD[4]  
VDD  
TS  
TS  
P
S_AD[5]  
S_AD[6]  
VSS  
TS  
TS  
P
S_AD[7]  
S_CBE[0]  
VDD  
TS  
TS  
P
S_AD[8]  
S_AD[9]  
S_AD[10]  
VSS  
TS  
TS  
TS  
P
S_M66EN  
MS0  
I/OD  
I
VDD  
P
VSS  
VSS  
P
P
S_AD[11]  
S_AD[12]  
VDD  
TS  
TS  
P
S_AD[13]  
S_AD[14]  
VSS  
TS  
TS  
P
S_AD[15]  
S_CBE[1]  
S_SERR_L  
S_PERR_L  
S_STOP_L  
S_DEVSEL_L  
S_IRDY_L  
S_FRAME_L  
TS  
TS  
I
S_PAR  
VDD  
TS  
P
STS  
STS  
STS  
STS  
STS  
S_LOCK_L  
VSS  
STS  
P
S_TRDY_L  
VDD  
STS  
P
S_CBE[2]  
TS  
8
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Pin Number  
181  
Name  
Type  
P
Pin Number  
182  
Name  
Type  
TS  
P
VSS  
S_AD[16]  
VDD  
183  
S_AD[17]  
S_AD[18]  
VSS  
TS  
TS  
P
184  
185  
186  
S_AD[19]  
S_AD[20]  
VDD  
TS  
TS  
P
187  
188  
189  
S_AD[21]  
S_AD[22]  
VSS  
TS  
TS  
P
190  
191  
192  
S_AD[23]  
S_CBE[3]  
VDD  
TS  
TS  
P
193  
194  
195  
S_AD[24]  
S_AD[25]  
VSS  
TS  
TS  
P
196  
197  
198  
S_AD[26]  
S_AD[27]  
VDD  
TS  
TS  
P
199  
200  
201  
S_AD[28]  
S_AD[29]  
VSS  
TS  
TS  
P
202  
203  
204  
S_AD[30]  
S_AD[31]  
VDD  
TS  
TS  
P
205  
206  
207  
S_REQ_L[0]  
I
208  
2.4  
PIN LIST – 256-BALL PBGA  
Table 3-2. Pin list – 256-ball PBGA  
Pin  
Number  
A1  
Pin  
Number  
A2  
Pin  
Number  
A3  
Name  
Type  
Name  
Type  
Name  
VDD  
S_AD[25]  
S_AD[17]  
S_PERR_L  
S_AD[11]  
VSS  
Type  
VSS  
P
TS  
TS  
STS  
TS  
P
S_REQ_L[2]  
S_AD[28]  
S_AD[19]  
S_DEVSEL_L  
S_AD[13]  
VSS  
S_REQ_L[0]  
S_AD[21]  
S_IRDY_L  
S_AD[12]  
S_AD[10]  
VSS  
I
TS  
TS  
STS  
TS  
P
P
TS  
TS  
STS  
TS  
P
A4  
S_AD[31]  
S_AD[22]  
S_FRAME_L  
S_PAR  
A5  
A6  
A7  
A8  
A9  
A10  
A13  
A16  
B3  
A11  
A14  
B1  
A12  
A15  
B2  
VSS  
S_REQ_L[1]  
S_CBE_L[3]  
S_CBE_L[2]  
S_CBE_L[1]  
VSS  
I
B4  
B7  
I
B5  
B8  
S_AD[27]  
S_AD[18]  
S_STOP_L  
VDD  
TS  
TS  
STS  
P
B6  
B9  
TS  
TS  
TS  
P
TS  
STS  
TS  
TS  
P
B10  
B13  
B16  
C3  
B11  
B14  
C1  
B12  
B15  
C2  
S_REQ_L[5]  
VDD  
I
S_REQ_L[4]  
S_AD[29]  
S_AD[20]  
S_LOCK_L  
VSS  
I
C4  
C7  
P
C5  
C8  
TS  
TS  
STS  
P
C6  
C9  
S_AD[24]  
S_AD[16]  
S_AD[15]  
VDD  
TS  
TS  
TS  
P
S_AD[23]  
S_TRDY_L  
VSS  
S_AD[8]  
S_REQ_L[3]  
S_AD[26]  
VDD  
TS  
STS  
P
C10  
C13  
C16  
D3  
C11  
C14  
D1  
C12  
C15  
D2  
TS  
I
TS  
P
S_GNT_L[0]  
VSS  
TS  
P
S_REQ_L[6]  
S_AD[30]  
VDD  
I
D4  
D7  
D5  
D8  
TS  
P
D6  
D9  
VDD  
P
D10  
D13  
D16  
E3  
VDD  
P
D11  
D14  
E1  
S_SERR_L  
VSS  
I
P
D12  
D15  
E2  
S_AD[14]  
S_M66EN  
S_GNT_L[2]  
VSS  
TS  
I/OD  
TS  
P
VSS  
P
S_AD[6]  
S_REQ_L[7]  
VDD  
TS  
I
S_GNT_L[3]  
S_REQ_L[8]  
VDD  
TS  
I
E4  
E7  
E5  
E8  
E6  
E9  
P
P
P
VDD  
P
VDD  
VSS  
P
E10  
E13  
E16  
F3  
VDD  
E11  
E14  
F1  
VDD  
P
E12  
E15  
F2  
P
S_AD[9]  
S_AD[4]  
S_GNT_L[1]  
VSS  
TS  
TS  
TS  
P
S_AD[7]  
S_GNT_L[7]  
S_GNT_L[4]  
VSS  
TS  
TS  
TS  
P
S_CBE_L[0]  
S_GNT_L[6]  
VDD  
TS  
TS  
P
F4  
F7  
F5  
F8  
F6  
F9  
VSS  
VSS  
P
P
VSS  
P
P
F10  
F13  
F16  
G3  
VSS  
P
F11  
F14  
G1  
F12  
F15  
G2  
VDD  
S_AD[5]  
S_AD[1]  
S_GNT_L[5]  
VSS  
TS  
TS  
TS  
P
S_AD[3]  
S_GNT_L[8]  
VDD  
TS  
TS  
P
S_AD[2]  
VSS  
TS  
P
G4  
G7  
G5  
G8  
VDD  
P
G6  
G9  
VSS  
P
VSS  
VSS  
P
VSS  
P
G10  
G13  
G16  
H3  
VSS  
P
G11  
G14  
H1  
P
G12  
G15  
H2  
VDD  
P
VDD  
P
S_VIO  
S_RESET_L  
VDD  
I
TRST_L  
S_CFN_L  
VDD  
I
S_AD[0]  
S_CLKIN  
VSS  
TS  
I
O
I
H4  
H7  
P
H5  
H8  
P
H6  
P
VSS  
P
VSS  
P
9
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Pin  
Number  
H9  
Pin  
Number  
H10  
H13  
H16  
J3  
Pin  
Name  
Type  
Name  
Type  
Name  
Type  
Number  
H11  
H14  
J1  
VSS  
VDD  
TCK  
GPIO[2]  
VDD  
P
P
I
VSS  
P
P
VSS  
P
I
H12  
H15  
J2  
VDD  
TMS  
GPIO[1]  
VDD  
TDO  
O
TS  
P
TS  
P
GPIO[3]  
VSS  
TS  
P
J4  
J7  
J5  
J8  
J6  
VSS  
VSS  
P
VSS  
P
J9  
VSS  
P
J10  
J13  
J16  
K3  
P
J11  
J14  
K1  
VSS  
P
J12  
J15  
K2  
VDD  
P
VDD  
P
RESERVED  
GPIO[0]  
VDD  
-
TDI  
I
RESERVED  
S_CLKOUT[1]  
VSS  
-
TS  
P
S_CLKOUT[0]  
VDD  
O
O
P
K4  
K5  
P
K6  
K9  
K7  
VSS  
VSS  
P
K8  
VSS  
VSS  
P
VSS  
P
K10  
K13  
K16  
L3  
P
K11  
K14  
L1  
P
K12  
K15  
L2  
VDD  
P
VDD  
P
P_VIO  
I
MSK_IN  
S_CLKOUT[3]  
VDD  
I
CFG66/SCAN_EN_H  
I
S_CLKOUT[2]  
S_CLKOUT[6]  
VSS  
O
O
P
S_CLKOUT[5]  
VSS  
O
L4  
O
L5  
L6  
L9  
P
L7  
P
L8  
VSS  
VSS  
P
VSS  
VSS  
P
L8  
VSS  
VSS  
P
L9  
P
L10  
L13  
L16  
M3  
M6  
M9  
M12  
M15  
N2  
P
L11  
L14  
M1  
M4  
M7  
M10  
M13  
M16  
N3  
P
L12  
L15  
M2  
M5  
M8  
M11  
M14  
N1  
VDD  
P
P_AD[4]  
P_AD[0]  
S_CLKOUT[9]  
VDD  
TS  
TS  
O
P_AD[2]  
S_CLKOUT[4]  
P_CLK  
VDD  
TS  
O
P_AD[1]  
S_CLKOUT[8]  
VSS  
TS  
O
P
I
P
P
VDD  
VDD  
P
P
VDD  
P
VDD  
P
VSS  
P
P_AD[6]  
P_AD[3]  
P_AD[31]  
P_AD[25]  
VDD  
TS  
TS  
TS  
TS  
P
P_AD[7]  
S_CLKOUT[7]  
VSS  
TS  
O
P
P_AD[5]  
BPCCE  
TS  
I
N4  
N7  
N5  
N8  
P_AD[28]  
VDD  
TS  
P
N6  
N9  
VDD  
VDD  
P
N10  
N13  
N16  
P3  
P
N11  
N14  
P1  
P_PAR  
TS  
P
N12  
N15  
P2  
P_AD[11]  
P_AD[8]  
P_REQ_L  
P_AD[27]  
P_AD[18]  
P_SERR_L  
VSS  
TS  
TS  
TS  
TS  
TS  
OD  
P
VSS  
P
VSS  
P_CBE_L[0]  
VSS  
P_IDSEL  
P_FRAME_L  
P_AD[14]  
VDD  
TS  
P
P_RESET_L  
VSS  
I
P
P4  
P7  
P5  
P8  
P6  
P9  
I
P_AD[22]  
P_DEVSEL_L  
VDD  
TS  
STS  
P
STS  
TS  
P
P10  
P13  
P16  
R3  
P11  
P14  
R1  
P12  
P15  
R2  
P_AD[9]  
VDD  
TS  
P
TS  
TS  
TS  
P
P_GNT_L  
VSS  
I
P
VSS  
P
R4  
R7  
R5  
R8  
P_AD[24]  
P_AD[17]  
P_LOCK_L  
P_M66EN  
VSS  
P_AD[29]  
P_AD[21]  
P_IRDY_L  
P_CBE_L[1]  
VSS  
TS  
TS  
STS  
I
R6  
R9  
P_CBE_L[3]  
P_CBE_L[2]  
P_AD[15]  
VSS  
P_AD[20]  
P_TRDY_L  
P_AD[12]  
VSS  
TS  
STS  
TS  
P
R10  
R13  
R16  
T3  
R11  
R14  
T1  
R12  
R15  
T2  
P
P_AD[30]  
P_AD[26]  
P_AD[19]  
P_STOP_L  
P_AD[13]  
TS  
TS  
TS  
STS  
TS  
VDD  
P
T4  
T7  
TS  
TS  
STS  
TS  
P
T5  
T6  
P_AD[23]  
P_AD[16]  
P_PERR_L  
P_AD[10]  
TS  
TS  
STS  
TS  
T8  
T9  
T10  
T13  
T16  
T11  
T14  
T12  
T15  
3
PCI BUS OPERATION  
This Chapter offers information about PCI transactions, transaction forwarding across  
PI7C8150, and transaction termination. The PI7C8150 has two 128-byte buffers for  
buffering of upstream and downstream transactions. These hold addresses, data,  
commands, and byte enables and are used for both read and write transactions.  
3.1  
TYPES OF TRANSACTIONS  
10  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
This section provides a summary of PCI transactions performed by PI7C8150.  
Table 4–1 lists the command code and name of each PCI transaction. The Master and  
Target columns indicate support for each transaction when PI7C8150 initiates transactions  
as a master, on the primary (P) and secondary (S) buses, and when PI7C8150 responds to  
transactions as a target, on the primary (P) and secondary (S) buses.  
Table 4-1. PCI Transactions  
Types of Transactions  
Initiates as Master  
Responds as Target  
Primary  
Secondary  
Primary  
Secondary  
0000  
0001  
0010  
0011  
0100  
0101  
0110  
0111  
1000  
1001  
1010  
1011  
1100  
1101  
1110  
1111  
Interrupt Acknowledge  
Special Cycle  
N
N
Y
Y
Y
N
N
Y
Y
N
N
Y
Y
Y
Y
Y
Y
N
N
Y
Y
N
N
Y
Y
N
N
Y
Y
Y
Y
Y
Y
N
Y
N
I/O Read  
Y
Y
I/O Write  
Y
Y
Reserved  
N
N
Reserved  
N
N
Memory Read  
Y
Y
Memory Write  
Reserved  
Y
Y
N
N
Reserved  
N
N
Configuration Read  
Configuration Write  
Memory Read Multiple  
Dual Address Cycle  
Memory Read Line  
Memory Write and Invalidate  
N
N
Y (Type 1 only)  
Y (Type 1 only)  
Y
Y
Y
Y
Y
Y
Y
Y
As indicated in Table 4–1, the following PCI commands are not supported by PI7C8150:  
C
C
C
PI7C8150 never initiates a PCI transaction with a reserved command code and, as a  
target, PI7C8150 ignores reserved command codes.  
PI7C8150 does not generate interrupt acknowledge transactions. PI7C8150 ignores  
interrupt acknowledge transactions as a target.  
PI7C8150 does not respond to special cycle transactions. PI7C8150 cannot guarantee  
delivery of a special cycle transaction to downstream buses because of the broadcast  
nature of the special cycle command and the inability to control the transaction as a  
target. To generate special cycle transactions on other PCI buses, either upstream or  
downstream, Type 1 configuration write must be used.  
C
PI7C8150 neither generates Type 0 configuration transactions on the primary PCI  
bus nor responds to Type 0 configuration transactions on the secondary PCI buses.  
3.2  
3.3  
SINGLE ADDRESS PHASE  
A 32-bit address uses a single address phase. This address is driven on P_AD[31:0], and  
the bus command is driven on P_CBE[3:0]. PI7C8150 supports the linear increment  
address mode only, which is indicated when the lowest two address bits are equal to zero.  
If either of the lowest two address bits is nonzero, PI7C8150 automatically disconnects the  
transaction after the first data transfer.  
DEVICE SELECT (DEVSEL_L) GENERATION  
11  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
PI7C8150 always performs positive address decoding (medium decode) when accepting  
transactions on either the primary or secondary buses. PI7C8150 never does subtractive  
decode.  
3.4  
DATA PHASE  
The address phase of a PCI transaction is followed by one or more data phases.  
A data phase is completed when IRDY_L and either TRDY_L or STOP_L are asserted.  
A transfer of data occurs only when both IRDY_L and TRDY_L are asserted during the  
same PCI clock cycle. The last data phase of a transaction is indicated when FRAME_L is  
de-asserted and both TRDY_L and IRDY_L are asserted, or when IRDY_L and STOP_L  
are asserted. See Section 4.8 for further discussion of transaction termination.  
Depending on the command type, PI7C8150 can support multiple data phase  
PCI transactions. For detailed descriptions of how PI7C8150 imposes disconnect  
boundaries, see Section 4.5.4 for write address boundaries and Section 4.6.3 read address  
boundaries.  
3.5  
WRITE TRANSACTIONS  
Write transactions are treated as either posted write or delayed write transactions.  
Table 4–2 shows the method of forwarding used for each type of write operation.  
Table 4-2. Write Transaction Forwarding  
Type of Transaction  
Memory Write  
Type of Forwarding  
Posted (except VGA memory)  
Posted  
Memory Write and Invalidate  
Memory Write to VGA memory  
I/O Write  
Delayed  
Delayed  
Delayed  
Type 1 Configuration Write  
3.5.1  
MEMORY WRITE TRANSACTIONS  
Posted write forwarding is used for “Memory Write” and “Memory Write and Invalidate”  
transactions.  
When PI7C8150 determines that a memory write transaction is to be forwarded across the  
bridge, PI7C8150 asserts DEVSEL_L with medium timing and TRDY_L  
in the next cycle, provided that enough buffer space is available in the posted memory  
write queue for the address and at least one DWORD of data. Under  
this condition, PI7C8150 accepts write data without obtaining access to the target bus. The  
PI7C8150 can accept one DWORD of write data every PCI clock cycle.  
That is, no target wait state is inserted. The write data is stored in an internal  
posted write buffers and is subsequently delivered to the target.  
The PI7C8150 continues to accept write data until one of the following events occurs:  
C
The initiator terminates the transaction by de-asserting FRAME# and IRDY#.  
C
An internal write address boundary is reached, such as a cache line boundary or an  
aligned 4KB boundary, depending on the transaction type.  
12  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
The posted write data buffer fills up.  
When one of the last two events occurs, the PI7C8150 returns a target disconnect to the  
requesting initiator on this data phase to terminate the transaction.  
Once the posted write data moves to the head of the posted data queue, PI7C8150 asserts  
its request on the target bus. This can occur while PI7C8150 is still receiving data on the  
initiator bus. When the grant for the target bus is received and the target bus is detected in  
the idle condition, PI7C8150 asserts FRAME_L and drives the stored write address out on  
the target bus. On the following cycle, PI7C8150 drives the first DWORD of write data and  
continues to transfer write data until all write data corresponding to that transaction is  
delivered, or until a target termination is received.  
As long as write data exists in the queue, PI7C8150 can drive one DWORD of write data  
each PCI clock cycle; that is, no master wait states are inserted. If write data is flowing  
through PI7C8150 and the initiator stalls, PI7C8150 will signal the last data phase for the  
current transaction at the target bus if the queue empties. PI7C8150 will restart the follow-  
on transactions if the queue has new data.  
PI7C8150 ends the transaction on the target bus when one of the following conditions is  
met:  
C
All posted write data has been delivered to the target.  
C
The target returns a target disconnect or target retry (PI7C8150 starts another  
transaction to deliver the rest of the write data).  
C
The target returns a target abort (PI7C8150 discards remaining write data).  
C
The master latency timer expires, and PI7C8150 no longer has the target bus grant  
(PI7C8150 starts another transaction to deliver remaining write data).  
Section 4.8.3.2 provides detailed information about how PI7C8150 responds to target  
termination during posted write transactions.  
3.5.2  
3.5.3  
MEMORY WRITE AND INVALIDATE  
Posted write forwarding is used for Memory Write and Invalidate transactions.  
The PI7C8150 disconnects Memory Write and Invalidate commands at aligned cache line  
boundaries. The cache line size value in the cache line size register gives the number of  
DWORD in a cache line.  
If the value in the cache line size register does meet the memory write and invalidate  
conditions, the PI7C8150 returns a target disconnect to the initiator on a cache line  
boundary.  
DELAYED WRITE TRANSACTIONS  
Delayed write forwarding is used for I/O write transactions and Type 1 configuration write  
transactions.  
13  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
A delayed write transaction guarantees that the actual target response is returned back to  
the initiator without holding the initiating bus in wait states.  
A delayed write transaction is limited to a single DWORD data transfer.  
When a write transaction is first detected on the initiator bus, and PI7C8150 forwards it as  
a delayed transaction, PI7C8150 claims the access by asserting DEVSEL_L and returns a  
target retry to the initiator. During the address phase, PI7C8150 samples the bus command,  
address, and address parity one cycle later. After IRDY_L is asserted, PI7C8150 also  
samples the first data DWORD, byte enable bits, and data parity. This information is  
placed into the delayed transaction queue. The transaction is queued only if no other  
existing delayed transactions have the same address and command, and if the delayed  
transaction queue is not full. When the delayed write transaction moves to the head of the  
delayed transaction queue and all ordering constraints with posted data are satisfied. The  
PI7C8150 initiates the transaction on the target bus. PI7C8150 transfers the write data to  
the target. If PI7C8150 receives a target retry in response to the write transaction on the  
target bus, it continues to repeat the write transaction until the data transfer is completed, or  
until an error condition is encountered.  
If PI7C8150 is unable to deliver write data after 224 (default) or 232 (maximum) attempts,  
PI7C8150 will report a system error. PI7C8150 also asserts P_SERR_L if the primary  
SERR_L enable bit is set in the command register. See Section 7.4 for information on the  
assertion of P_SERR_L. When the initiator repeats the same write transaction (same  
command, address, byte enable bits, and data), and the completed delayed transaction is at  
the head of the queue, the PI7C8150 claims the access by asserting DEVSEL_L and returns  
TRDY_L to the initiator, to indicate that the write data was transferred. If the initiator  
requests multiple DWORD, PI7C8150 also asserts STOP_L in conjunction with TRDY_L  
to signal a target disconnect. Note that only those bytes of write data with valid byte enable  
bits are compared. If any of the byte enable bits are turned off (driven HIGH), the  
corresponding byte of write data is not compared.  
If the initiator repeats the write transaction before the data has been transferred to the  
target, PI7C8150 returns a target retry to the initiator. PI7C8150 continues to return a target  
retry to the initiator until write data is delivered to the target, or until an error condition is  
encountered. When the write transaction is repeated, PI7C8150 does not make a new entry  
into the delayed transaction queue. Section 4.8.3.1 provides detailed information about how  
PI7C8150 responds to target termination during delayed write transactions.  
PI7C8150 implements a discard timer that starts counting when the delayed write  
completion is at the head of the delayed transaction completion queue.  
The initial value of this timer can be set to the retry counter register offset 78h.  
If the initiator does not repeat the delayed write transaction before the discard  
timer expires, PI7C8150 discards the delayed write completion from the delayed  
transaction completion queue. PI7C8150 also conditionally asserts P_SERR_L  
(see Section 7.4).  
3.5.4  
WRITE TRANSACTION ADDRESS BOUNDARIES  
PI7C8150 imposes internal address boundaries when accepting write data.  
The aligned address boundaries are used to prevent PI7C8150 from continuing  
a transaction over a device address boundary and to provide an upper limit on maximum  
14  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
latency. PI7C78150 returns a target disconnect to the initiator when it reaches the aligned  
address boundaries under conditions shown in Table 4–3.  
Table 4-3. Write Transaction Disconnect Address Boundaries  
Type of Transaction  
Delayed Write  
Condition  
Aligned Address Boundary  
Disconnects after one data transfer  
4KB aligned address boundary  
All  
Posted Memory Write  
Memory write disconnect control  
bit = 0(1)  
Posted Memory Write  
Memory write disconnect control  
bit = 1(1)  
Disconnects at cache line boundary  
4KB aligned address boundary  
Posted Memory Write and  
Invalidate  
Posted Memory Write and Cache line size = 1, 2, 4, 8, 16  
Invalidate  
Cache line size U 1, 2, 4, 8, 16  
Cache line boundary if posted memory  
write data FIFO does not have enough  
space for the cache line  
Note 1. Memory write disconnect control bit is bit 1 of the chip control register at offset 40h in the  
configuration space.  
3.5.5  
3.5.6  
BUFFERING MULTIPLE WRITE TRANSACTIONS  
PI7C8150 continues to accept posted memory write transactions as long as space for at  
least one DWORD of data in the posted write data buffer remains. If the posted write data  
buffer fills before the initiator terminates the write transaction, PI7C8150 returns a target  
disconnect to the initiator.  
Delayed write transactions are posted as long as at least one open entry in  
the delayed transaction queue exists. Therefore, several posted and delayed write  
transactions can exist in data buffers at the same time. See Chapter 6 for information about  
how multiple posted and delayed write transactions are ordered.  
FAST BACK-TO-BACK TRANSACTIONS  
PI7C8150 can recognize and post fast back-to-back write transactions.  
When PI7C8150 cannot accept the second transaction because of buffer  
space limitations, it returns a target retry to the initiator. The fast back-to-back enable bit  
must be set in the command register for upstream write transactions, and in the bridge  
control register for downstream write transactions.  
3.6  
READ TRANSACTIONS  
Delayed read forwarding is used for all read transactions crossing PI7C8150.  
Delayed read transactions are treated as either prefetchable or non-prefetchable. Table 4-5  
shows the read behavior, prefetchable or non-prefetchable, for each  
type of read operation.  
3.6.1  
PREFETCHABLE READ TRANSACTIONS  
A prefetchable read transaction is a read transaction where PI7C8150 performs speculative  
DWORD reads, transferring data from the target before it is requested from the initiator.  
This behavior allows a prefetchable read transaction to consist of multiple data transfers.  
15  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
However, byte enable bits cannot be forwarded for all data phases as is done for the single  
data phase of the non-prefetchable read transaction. For prefetchable read transactions,  
PI7C8150 forces all byte enable bits to be turned on for all data phases.  
Prefetchable behavior is used for memory read line and memory read multiple transactions,  
as well as for memory read transactions that fall into prefetchable memory space.  
The amount of data that is pre-fetched depends on the type of transaction.  
The amount of pre-fetching may also be affected by the amount of free buffer  
space available in PI7C8150, and by any read address boundaries encountered.  
Pre-fetching should not be used for those read transactions that have side effects in the  
target device, that is, control and status registers, FIFO’s, and so on.  
The target device’s base address register or registers indicate if a memory address region is  
prefetchable.  
3.6.2  
NON-PREFETCHABLE READ TRANSACTIONS  
A non-prefetchable read transaction is a read transaction where PI7C8150 requests one and  
only one DWORD from the target and disconnects the initiator after delivery of the first  
DWORD of read data. Unlike prefetchable read transactions, PI7C8150 forwards the read  
byte enable information for the data phase.  
Non-prefetchable behavior is used for I/O and configuration read transactions,  
as well as for memory read transactions that fall into non-prefetchable memory space.  
If extra read transactions could have side effects, for example, when accessing a FIFO, use  
non-prefetchable read transactions to those locations. Accordingly, if it is important to  
retain the value of the byte enable bits during the data phase, use non-prefetchable read  
transactions. If these locations are mapped in memory space, use the memory read  
command and map the target into non-prefetchable (memory-mapped I/O) memory space  
to use non-prefetching behavior.  
3.6.3  
READ PREFETCH ADDRESS BOUNDARIES  
PI7C8150 imposes internal read address boundaries on read pre-fetched data. When a read  
transaction reaches one of these aligned address boundaries, the PI7C8150 stops pre-  
fetched data, unless the target signals a target disconnect before the read pre-fetched  
boundary is reached. When PI7C8150 finishes transferring this read data to the initiator, it  
returns a target disconnect with the last data transfer, unless the initiator completes the  
transaction before all pre-fetched read data is delivered. Any leftover pre-fetched data is  
discarded.  
Prefetchable read transactions in flow-through mode pre-fetch to the nearest aligned 4KB  
address boundary, or until the initiator de-asserts FRAME_L. Section 4.6.6 describes flow-  
through mode during read operations.  
Table 4-4 shows the read pre-fetch address boundaries for read transactions during non-  
flow-through mode.  
Table 4-4. Read Prefetch Address Boundaries  
16  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Type of Transaction  
Address Space  
Cache Line Size Prefetch Aligned Address  
(CLS)  
Boundary  
Configuration Read  
I/O Read  
Memory Read  
Memory Read  
-
-
*
One DWORD (no prefetch)  
One DWORD (no prefetch)  
One DWORD (no prefetch)  
16-DWORD aligned address  
boundary  
*
Non-Prefetchable  
Prefetchable  
*
CLS = 0 or 16  
Memory Read  
Memory Read Line  
Prefetchable  
-
CLS = 1, 2, 4, 8, 16  
CLS = 0 or 16  
Cache line address boundary  
16-DWORD aligned address  
boundary  
Memory Read Line  
Memory Read Multiple  
-
-
CLS = 1, 2, 4, 8, 16  
CLS = 0 or 16  
Cache line boundary  
32-DWORD aligned address  
boundary  
Memory Read Multiple  
- does not matter if it is prefetchable or non-prefetchable  
* don’t care  
-
CLS = 1, 2, 4, 8, 16  
2X of cache line boundary  
Table 4-5. Read Transaction Prefetching  
Type of Transaction  
I/O Read  
Configuration Read  
Read Behavior  
Prefetching never allowed  
Prefetching never allowed  
Downstream: Prefetching used if address is prefetchable space  
Upstream: Prefetching used or programmable  
Prefetching always used  
Memory Read  
Memory Read Line  
Memory Read Multiple  
Prefetching always used  
See Section 5.3 for detailed information about prefetchable and non-prefetchable address spaces.  
3.6.4  
DELAYED READ REQUESTS  
PI7C8150 treats all read transactions as delayed read transactions, which means  
that the read request from the initiator is posted into a delayed transaction queue.  
Read data from the target is placed in the read data queue directed toward the initiator bus  
interface and is transferred to the initiator when the initiator repeats  
the read transaction.  
When PI7C8150 accepts a delayed read request, it first samples the read address, read bus  
command, and address parity. When IRDY_L is asserted, PI7C8150 then samples the byte  
enable bits for the first data phase. This information is entered into the delayed transaction  
queue. PI7C8150 terminates the transaction by signaling a target retry to the initiator. Upon  
reception of the target retry, the initiator is required to continue to repeat the same read  
transaction until at least one data transfer is completed, or until a target response (target  
abort or master abort) other than a target retry is received.  
3.6.5  
DELAYED READ COMPLETION WITH TARGET  
When delayed read request reaches the head of the delayed transaction queue, PI7C8150  
arbitrates for the target bus and initiates the read transaction only if all previously queued  
posted write transactions have been delivered. PI7C8150 uses the exact read address and  
read command captured from the initiator during the initial delayed read request to initiate  
the read transaction. If the read transaction is a non-prefetchable read, PI7C8150 drives the  
captured byte enable bits during the next cycle. If the transaction is a prefetchable read  
transaction, it drives all byte enable bits to zero for all data phases. If PI7C8150 receives a  
target retry in response to the read transaction on the target bus, it continues to repeat the  
read transaction until at least one data transfer is completed, or until an error condition is  
encountered. If the transaction is terminated via normal master termination or target  
17  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
disconnect after at least one data transfer has been completed, PI7C8150 does not initiate  
any further attempts to read more data.  
If PI7C8150 is unable to obtain read data from the target after 224 (default) or 232  
(maximum) attempts, PI7C8150 will report system error. The number of attempts is  
programmable. PI7C8150 also asserts P_SERR_L if the primary SERR_L enable bit is set  
in the command register. See Section 7.4 for information on the assertion of P_SERR_L.  
Once PI7C8150 receives DEVSEL_L and TRDY_L from the target, it transfers the data  
read to the opposite direction read data queue, pointing toward the opposite inter-face,  
before terminating the transaction. For example, read data in response to a downstream  
read transaction initiated on the primary bus is placed in the upstream read data queue. The  
PI7C8150 can accept one DWORD of read data each PCI clock cycle; that is, no master  
wait states are inserted. The number of DWORD’s transferred during a delayed read  
transaction depends on the conditions given in Table 4-4 (assuming no disconnect is  
received from the target).  
3.6.6  
DELAYED READ COMPLETION ON INITIATOR BUS  
When the transaction has been completed on the target bus, and the delayed read data is at  
the head of the read data queue, and all ordering constraints with posted write transactions  
have been satisfied, the PI7C8150 transfers the data to the initiator when the initiator  
repeats the transaction. For memory read transactions, PI7C8150 aliases the memory read,  
memory read line, and memory read multiple bus commands when matching the bus  
command of the transaction to the bus command in the delayed transaction queue.  
PI7C8150 returns a target disconnect along with the transfer of the last DWORD of read  
data to the initiator. If PI7C8150 initiator terminates the transaction before all read data has  
been transferred, the remaining read data left in data buffers is discarded.  
When the master repeats the transaction and starts transferring prefetchable read data from  
data buffers while the read transaction on the target bus is still in progress and before a read  
boundary is reached on the target bus, the read transaction starts operating in flow-through  
mode. Because data is flowing through the data buffers from the target to the initiator, long  
read bursts can then be sustained. In this case, the read transaction is allowed to continue  
until the initiator terminates the transaction, or until an aligned 4KB address boundary is  
reached, or until the buffer fills, whichever comes first. When the buffer empties,  
PI7C8150 reflects the stalled condition to the initiator by disconnecting the initiator with  
data. The initiator may retry the transaction later if data are needed. If the initiator does not  
need any more data, the initiator will not continue the disconnected transaction. In this  
case, PI7C8150 will start the master timeout timer. The remaining read data will be  
discarded after the master timeout timer expires. To provide better latency, if there are any  
other pending data for other transactions in the RDB (Read Data Buffer), the remaining  
read data will be discarded even though the master timeout timer has not expired.  
PI7C8150 implements a master timeout timer that starts counting when the delayed read  
completion is at the head of the delayed transaction queue, and the read data is at the head  
of the read data queue. The initial value of this timer is programmable through  
configuration register. If the initiator does not repeat the read transaction and before the  
master timeout timer expires (215 default), PI7C8150 discards the read transaction and read  
data from its queues. PI7C8150 also conditionally asserts P_SERR_L (see Section 7.4).  
18  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
PI7C8150 has the capability to post multiple delayed read requests, up to a maximum of  
four in each direction. If an initiator starts a read transaction that matches the address and  
read command of a read transaction that is already queued, the current read command is not  
posted as it is already contained in the delayed transaction queue.  
See Section 6 for a discussion of how delayed read transactions are ordered when crossing  
PI7C8150.  
3.6.7  
FAST BACK-TO-BACK READ TRANSACTION  
PI7C8150 can recognize fast back-to-back read transaction  
3.7  
CONFIGURATION TRANSACTIONS  
Configuration transactions are used to initialize a PCI system. Every PCI device  
has a configuration space that is accessed by configuration commands. All registers are  
accessible in configuration space only.  
In addition to accepting configuration transactions for initialization of its own  
configuration space, the PI7C8150 also forwards configuration transactions for device  
initialization in hierarchical PCI systems, as well as for special cycle generation.  
To support hierarchical PCI bus systems, two types of configuration transactions are  
specified: Type 0 and Type 1.  
Type 0 configuration transactions are issued when the intended target resides on the same  
PCI bus as the initiator. A Type 0 configuration transaction is identified by the  
configuration command and the lowest two bits of the address set to 00b.  
Type 1 configuration transactions are issued when the intended target resides on another  
PCI bus, or when a special cycle is to be generated on another PCI bus.  
A Type 1 configuration command is identified by the configuration command and  
the lowest two address bits set to 01b.  
The register number is found in both Type 0 and Type 1 formats and gives the DWORD  
address of the configuration register to be accessed. The function number is also included  
in both Type 0 and Type 1 formats and indicates which function of a multifunction device  
is to be accessed. For single-function devices, this value is not decoded. The addresses of  
Type 1 configuration transaction include a 5-bit field designating the device number that  
identifies the device on the target PCI bus that is to be accessed. In addition, the bus  
number in Type 1 transactions specifies the PCI bus to which the transaction is targeted.  
3.7.1  
TYPE 0 ACCESS TO PI7C8150  
The configuration space is accessed by a Type 0 configuration transaction on the primary  
interface. The configuration space cannot be accessed from the secondary bus. The  
PI7C8150 responds to a Type 0 configuration transaction by asserting P_DEVSEL_L when  
the following conditions are met during the address phase:  
19  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
C
C
The bus command is a configuration read or configuration write transaction.  
Lowest two address bits P_AD[1:0] must be 00b.  
Signal P_IDSEL must be asserted.  
PI7C8150 limits all configuration access to a single DWORD data transfer and returns  
target-disconnect with the first data transfer if additional data phases are requested.  
Because read transactions to configuration space do not have side effects, all bytes in the  
requested DWORD are returned, regardless of the value of the byte enable bits.  
Type 0 configuration write and read transactions do not use data buffers; that is, these  
transactions are completed immediately, regardless of the state of the data buffers. The  
PI7C8150 ignores all Type 0 transactions initiated on the secondary interface.  
3.7.2  
TYPE 1 TO TYPE 0 CONVERSION  
Type 1 configuration transactions are used specifically for device configuration in a  
hierarchical PCI bus system. A PCI-to-PCI bridge is the only type of device that should  
respond to a Type 1 configuration command. Type 1 configuration commands are used  
when the configuration access is intended for a PCI device that resides on a PCI bus other  
than the one where the Type 1 transaction is generated.  
PI7C8150 performs a Type 1 to Type 0 translation when the Type 1 transaction  
is generated on the primary bus and is intended for a device attached directly to the  
secondary bus. PI7C8150 must convert the configuration command to a Type 0 format so  
that the secondary bus device can respond to it. Type 1 to Type 0 translations are  
performed only in the downstream direction; that is, PI7C8150 generates a Type 0  
transaction only on the secondary bus, and never on the primary bus.  
PI7C8150 responds to a Type 1 configuration transaction and translates it into a Type 0  
transaction on the secondary bus when the following conditions are met during the address  
phase:  
C
The lowest two address bits on P_AD[1:0] are 01b.  
C
The bus number in address field P_AD[23:16] is equal to the value in the secondary  
bus number register in configuration space.  
C
The bus command on P_CBE[3:0] is a configuration read or configuration write  
transaction.  
When PI7C8150 translates the Type 1 transaction to a Type 0 transaction on  
the secondary interface, it performs the following translations to the address:  
C
Sets the lowest two address bits on S_AD[1:0].  
C
Decodes the device number and drives the bit pattern specified in Table 4–6 on  
S_AD[31:16] for the purpose of asserting the device’s IDSEL signal.  
C
Sets S_AD[15:11] to 0.  
20  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
Leaves unchanged the function number and register number fields.  
PI7C8150 asserts a unique address line based on the device number. These address lines  
may be used as secondary bus IDSEL signals. The mapping of the address lines depends on  
the device number in the Type 1 address bits P_AD[15:11]. Table 4–6 presents the  
mapping that PI7C8150 uses.  
Table 4-6. Device Number to IDSEL S_AD Pin Mapping  
Device Number  
P_AD[15:11]  
00000  
Secondary IDSEL S_AD[31:16]  
0000 0000 0000 0001  
S_AD  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
-
0h  
1h  
00001  
0000 0000 0000 0010  
2h  
00010  
0000 0000 0000 0100  
3h  
00011  
0000 0000 0000 1000  
4h  
00100  
0000 0000 0001 0000  
5h  
00101  
0000 0000 0010 0000  
6h  
00110  
0000 0000 0100 0000  
7h  
00111  
0000 0000 1000 0000  
8h  
01000  
0000 0001 0000 0000  
9h  
01001  
0000 0010 0000 0000  
Ah  
Bh  
Ch  
Dh  
Eh  
01010  
0000 0100 0000 0000  
01011  
0000 1000 0000 0000  
01100  
0001 0000 0000 0000  
01101  
0010 0000 0000 0000  
01110  
0100 0000 0000 0000  
Fh  
10h – 1Eh  
1Fh  
01111  
1000 0000 0000 0000  
10000 – 11110  
11111  
0000 0000 0000 0000  
Generate special cycle (P_AD[7:2] = 00h)  
0000 0000 0000 0000 (P_AD[7:2] = 00h)  
-
PI7C8150 can assert up to 9 unique address lines to be used as IDSEL signals for  
up to 9 devices on the secondary bus, for device numbers ranging from 0 through 8.  
Because of electrical loading constraints of the PCI bus, more than 9 IDSEL signals should  
not be necessary. However, if device numbers greater than 9 are desired, some external  
method of generating IDSEL lines must be used, and no upper address bits are then  
asserted. The configuration transaction is still translated and passed from the primary bus to  
the secondary bus. If no IDSEL pin is asserted to a secondary device, the transaction ends  
in a master abort.  
PI7C8150 forwards Type 1 to Type 0 configuration read or write transactions as delayed  
transactions. Type 1 to Type 0 configuration read or write transactions are limited to a  
single 32-bit data transfer.  
3.7.3  
TYPE 1 TO TYPE 1 FORWARDING  
Type 1 to Type 1 transaction forwarding provides a hierarchical configuration mechanism  
when two or more levels of PCI-to-PCI bridges are used.  
When PI7C8150 detects a Type 1 configuration transaction intended for a PCI bus  
downstream from the secondary bus, PI7C8150 forwards the transaction unchanged to the  
secondary bus. Ultimately, this transaction is translated to a Type 0 configuration command  
or to a special cycle transaction by a downstream PCI-to-PCI bridge. Downstream Type 1  
to Type 1 forwarding occurs when the following conditions are met during the address  
phase:  
C
The lowest two address bits are equal to 01b.  
21  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
The bus number falls in the range defined by the lower limit (exclusive)  
in the secondary bus number register and the upper limit (inclusive) in  
the subordinate bus number register.  
C
The bus command is a configuration read or write transaction.  
PI7C8150 also supports Type 1 to Type 1 forwarding of configuration write transactions  
upstream to support upstream special cycle generation. A Type 1 configuration command  
is forwarded upstream when the following conditions  
are met:  
C
The lowest two address bits are equal to 01b.  
C
The bus number falls outside the range defined by the lower limit (inclusive)  
in the secondary bus number register and the upper limit (inclusive) in the subordinate  
bus number register.  
C
C
C
The device number in address bits AD[15:11] is equal to 11111b.  
The function number in address bits AD[10:8] is equal to 111b.  
The bus command is a configuration write transaction.  
The PI7C8150 forwards Type 1 to Type 1 configuration write transactions as delayed  
transactions. Type 1 to Type 1 configuration write transactions are limited to a single data  
transfer.  
3.7.4  
SPECIAL CYCLES  
The Type 1 configuration mechanism is used to generate special cycle transactions in  
hierarchical PCI systems. Special cycle transactions are ignored by acting as a target and  
are not forwarded across the bridge. Special cycle transactions can be generated from Type  
1 configuration write transactions in either the upstream or the down-stream direction.  
PI7C8150 initiates a special cycle on the target bus when a Type 1 configuration write  
transaction is being detected on the initiating bus and the following conditions are met  
during the address phase:  
C
C
C
C
C
The lowest two address bits on AD[1:0] are equal to 01b.  
The device number in address bits AD[15:11] is equal to 11111b.  
The function number in address bits AD[10:8] is equal to 111b.  
The register number in address bits AD[7:2] is equal to 000000b.  
The bus number is equal to the value in the secondary bus number register in  
configuration space for downstream forwarding or equal to the value in the primary  
bus number register in configuration space for upstream forwarding.  
C
The bus command on CBE_L is a configuration write command.  
22  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
When PI7C8150 initiates the transaction on the target interface, the bus command is  
changed from configuration write to special cycle. The address and data are for-warded  
unchanged. Devices that use special cycles ignore the address and decode only the bus  
command. The data phase contains the special cycle message. The transaction is  
forwarded as a delayed transaction, but in this case the target response is not forwarded  
back (because special cycles result in a master abort). Once the transaction is completed on  
the target bus, through detection of the master abort condition, PI7C8150 responds with  
TRDY_L to the next attempt of the con-figuration transaction from the initiator. If more  
than one data transfer is requested, PI7C8150 responds with a target disconnect operation  
during the first data phase.  
3.8  
TRANSACTION TERMINATION  
This section describes how PI7C8150 returns transaction termination conditions back to the  
initiator.  
The initiator can terminate transactions with one of the following types of termination:  
C
Normal termination  
Normal termination occurs when the initiator de-asserts FRAME# at the beginning of the  
last data phase, and de-asserts IRDY# at the end of the last data phase in conjunction with  
either TRDY_L or STOP_L assertion from the target.  
C
Master abort  
A master abort occurs when no target response is detected. When the initiator does not  
detect a DEVSEL_L from the target within five clock cycles after asserting FRAME_L, the  
initiator terminates the transaction with a master abort. If FRAME_L is still asserted, the  
initiator de-asserts FRAME_L on the next cycle, and then de-asserts IRDY_L on the  
following cycle. IRDY_L must be asserted in the same cycle in which FRAME_L de-  
asserts. If FRAME_L is already de-asserted, IRDY_L can be de-asserted on the next clock  
cycle following detection of the master abort condition.  
The target can terminate transactions with one of the following types of termination:  
C
Normal termination  
TRDY_L and DEVSEL_L asserted in conjunction with FRAME_L de-asserted and  
IRDY_L asserted.  
C
Target retry  
STOP_L and DEVSEL_L asserted with TRDY_L de-asserted during the first data phase.  
No data transfers occur during the transaction. This transaction must be repeated.  
C
Target disconnect with data transfer  
STOP_L, DEVSEL_L and TRDY_L asserted. It signals that this is the last data transfer of  
the transaction.  
C
Target disconnect without data transfer  
STOP_L and DEVSEL_L asserted with TRDY_L de-asserted after previous data transfers  
have been made. Indicates that no more data transfers will be made during this transaction.  
C
Target abort  
23  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
STOP_L asserted with DEVSEL_L and TRDY_L de-asserted. Indicates that target will  
never be able to complete this transaction. DEVSEL_L must be asserted for at least one  
cycle during the transaction before the target abort is signaled.  
3.8.1  
MASTER TERMINATION INITIATED BY PI7C8150  
PI7C8150, as an initiator, uses normal termination if DEVSEL_L is returned by target  
within five clock cycles of PI7C8150’s assertion of FRAME_L on the target bus. As an  
initiator, PI7C8150 terminates a transaction when the following conditions are met:  
C
During a delayed write transaction, a single DWORD is delivered.  
C
During a non-prefetchable read transaction, a single DWORD is transferred from the  
target.  
C
During a prefetchable read transaction, a pre-fetch boundary is reached.  
C
For a posted write transaction, all write data for the transaction is transferred from data  
buffers to the target.  
C
For burst transfer, with the exception of “Memory Write and Invalidate” transactions,  
the master latency timer expires and the PI7C8150’s bus grant is de-asserted.  
C
The target terminates the transaction with a retry, disconnect, or target abort.  
If PI7C8150 is delivering posted write data when it terminates the transaction because the  
master latency timer expires, it initiates another transaction to deliver the remaining write  
data. The address of the transaction is updated to reflect the address of the current DWORD  
to be delivered.  
If PI7C8150 is pre-fetching read data when it terminates the transaction because the master  
latency timer expires, it does not repeat the transaction to obtain more data.  
3.8.2  
MASTER ABORT RECEIVED BY PI7C8150  
If the initiator initiates a transaction on the target bus and does not detect DEVSEL_L  
returned by the target within five clock cycles of the assertion of FRAME_L, PI7C8150  
terminates the transaction with a master abort. This sets the received-master-abort bit in the  
status register corresponding to the target bus.  
For delayed read and write transactions, PI7C8150 is able to reflect the master abort  
condition back to the initiator. When PI7C8150 detects a master abort in response to a  
delayed transaction, and when the initiator repeats the transaction, PI7C8150 does not  
respond to the transaction with DEVSEL_L, which induces the master abort condition back  
to the initiator. The transaction is then removed from the delayed transaction queue. When  
a master abort is received in response to a posted write transaction, PI7C8150 discards the  
posted write data and makes no more attempt to deliver the data. PI7C8150 sets the  
received-master-abort bit in the status register when the master abort is received on the  
primary bus, or it sets the received master abort bit in the secondary status register when  
the master abort is received on the secondary interface. When master abort is detected in  
posted write transaction with both master-abort-mode bit (bit 5 of bridge control register)  
24  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
and the SERR_L enable bit (bit 8 of command register for secondary bus) are set,  
PI7C8150 asserts P_SERR_L if the master-abort-on-posted-write is not set. The master-  
abort-on-posted-write bit is bit 4 of the P_SERR_L event disable register (offset 64h).  
Note: When PI7C8150 performs a Type 1 to special cycle conversion, a master abort is the  
expected termination for the special cycle on the target bus. In this case, the master abort  
received bit is not set, and the Type 1 configuration transaction is disconnected after the  
first data phase.  
3.8.3  
TARGET TERMINATION RECEIVED BY PI7C8150  
When PI7C8150 initiates a transaction on the target bus and the target responds with  
DEVSEL_L, the target can end the transaction with one of the following types  
of termination:  
C
C
C
C
Normal termination (upon de-assertion of FRAME_L)  
Target retry  
Target disconnect  
Target abort  
PI7C8150 handles these terminations in different ways, depending on the type of  
transaction being performed.  
3.8.3.1  
DELAYED WRITE TARGET TERMINATION RESPONSE  
When PI7C8150 initiates a delayed write transaction, the type of target termination  
received from the target can be passed back to the initiator. Table 4–7 shows the response  
to each type of target termination that occurs during a delayed write transaction.  
PI7C8150 repeats a delayed write transaction until one of the following conditions is met:  
C
C
C
PI7C8150 completes at least one data transfer.  
PI7C8150 receives a master abort.  
PI7C8150 receives a target abort.  
PI7C8150 makes 224 (default) or 232 (maximum) write attempts resulting in a response of  
target retry.  
Table 4-7. Delayed Write Target Termination Response  
Target Termination  
Response  
Normal  
Returning disconnect to initiator with first data transfer only if multiple data  
phases requested.  
Target Retry  
Target Disconnect  
Returning target retry to initiator. Continue write attempts to target  
Returning disconnect to initiator with first data transfer only if multiple data  
phases requested.  
Returning target abort to initiator. Set received target abort bit in target interface  
status register. Set signaled target abort bit in initiator interface status register.  
Target Abort  
25  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
After the PI7C8150 makes 224 (default) attempts of the same delayed write trans-action on  
the target bus, PI7C8150 asserts P_SERR_L if the SERR_L enable bit (bit 8  
of command register for the secondary bus) is set and the delayed-write-non-delivery bit is  
not set. The delayed-write-non-delivery bit is bit 5 of P_SERR_L event disable register  
(offset 64h). PI7C8150 will report system error. See Section 7.4 for a description of system  
error conditions.  
3.8.3.2  
POSTED WRITE TARGET TERMINATION RESPONSE  
When PI7C8150 initiates a posted write transaction, the target termination cannot  
be passed back to the initiator. Table 4–8 shows the response to each type of target  
termination that occurs during a posted write transaction.  
Table 4-8. Response to Posted Write Target Termination  
Target Termination  
Normal  
Repsonse  
No additional action.  
Target Retry  
Repeating write transaction to target.  
Target Disconnect  
Target Abort  
Initiate write transaction for delivering remaining posted write data.  
Set received-target-abort bit in the target interface status register. Assert  
P_SERR# if enabled, and set the signaled-system-error bit in primary status  
register.  
Note that when a target retry or target disconnect is returned and posted write data  
associated with that transaction remains in the write buffers, PI7C8150 initiates another  
write transaction to attempt to deliver the rest of the write data. If there is a target retry, the  
exact same address will be driven as for the initial write trans-action attempt. If a target  
disconnect is received, the address that is driven on a subsequent write transaction attempt  
will be updated to reflect the address of the current DWORD. If the initial write transaction  
is Memory-Write-and-Invalidate transaction, and a partial delivery of write data to the  
target is performed before a target disconnect is received, PI7C8150 will use the memory  
write command to deliver the rest of the write data. It is because an incomplete cache line  
will be transferred in the subsequent write transaction attempt.  
After the PI7C8150 makes 224 (default) write transaction attempts and fails to deliver all  
posted write data associated with that transaction, PI7C8150 asserts P_SERR_L if the  
primary SERR_L enable bit is set (bit 8 of command register for secondary bus) and  
posted-write-non-delivery bit is not set. The posted-write-non-delivery bit is the bit 2 of  
P_SERR_L event disable register (offset 64h). PI7C8150 will report system error. See  
Section 7.4 for a discussion of system error conditions.  
3.8.3.3  
DELAYED READ TARGET TERMINATION RESPONSE  
When PI7C8150 initiates a delayed read transaction, the abnormal target responses can be  
passed back to the initiator. Other target responses depend on how much data the initiator  
requests. Table 4–9 shows the response to each type of target termination that occurs  
during a delayed read transaction.  
PI7C8150 repeats a delayed read transaction until one of the following conditions is met:  
C
PI7C8150 completes at least one data transfer.  
PI7C8150 receives a master abort.  
C
26  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
PI7C8150 receives a target abort.  
PI7C8150 makes 224 (default) read attempts resulting in a response of target retry.  
Table 4-9. Response to Delayed Read Target Termination  
Target Termination  
Response  
Normal  
If prefetchable, target disconnect only if initiator requests more data than read  
from target. If non-prefetchable, target disconnect on first data phase.  
Re-initiate read transaction to target  
Target Retry  
Target Disconnect  
If initiator requests more data than read from target, return target disconnect to  
initiator.  
Return target abort to initiator. Set received target abort bit in the target  
interface status register. Set signaled target abort bit in the initiator interface  
status register.  
Target Abort  
After PI7C8150 makes 224(default) attempts of the same delayed read transaction on the  
target bus, PI7C8150 asserts P_SERR_L if the primary SERR_L enable bit is set (bit 8 of  
command register for secondary bus) and the delayed-write-non-delivery bit is not set. The  
delayed-write-non-delivery bit is bit 5 of P_SERR_L event disable register (offset 64h).  
PI7C8150 will report system error. See Section 7.4 for a description of system error  
conditions.  
3.8.4  
TARGET TERMINATION INITIATED BY PI7C8150  
PI7C8150 can return a target retry, target disconnect, or target abort to an initiator for  
reasons other than detection of that condition at the target interface.  
3.8.4.1  
TARGET RETRY  
PI7C8150 returns a target retry to the initiator when it cannot accept write data or return  
read data as a result of internal conditions. PI7C8150 returns a target retry to an initiator  
when any of the following conditions is met:  
For delayed write transactions:  
C
The transaction is being entered into the delayed transaction queue.  
C
Transaction has already been entered into delayed transaction queue, but target  
response has not yet been received.  
C
Target response has been received but has not progressed to the head of the return  
queue.  
C
C
C
The delayed transaction queue is full, and the transaction cannot be queued.  
A transaction with the same address and command has been queued.  
A locked sequence is being propagated across PI7C8150, and the write transaction is  
not a locked transaction.  
C
The target bus is locked and the write transaction is a locked transaction.  
Use more than 16 clocks to accept this transaction.  
C
27  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
For delayed read transactions:  
C
C
C
The transaction is being entered into the delayed transaction queue.  
The read request has already been queued, but read data is not yet available.  
Data has been read from target, but it is not yet at head of the read data queue or a  
posted write transaction precedes it.  
C
The delayed transaction queue is full, and the transaction cannot be queued.  
C
A delayed read request with the same address and bus command has already been  
queued.  
C
A locked sequence is being propagated across PI7C8150, and the read transaction is  
not a locked transaction.  
C
C
C
PI7C78150 is currently discarding previously pre-fetched read data.  
The target bus is locked and the write transaction is a locked transaction.  
Use more than 16 clocks to accept this transaction.  
For posted write transactions:  
C
C
C
The posted write data buffer does not have enough space for address and at least one  
DWORD of write data.  
A locked sequence is being propagated across PI7C8150, and the write transaction is  
not a locked transaction.  
When a target retry is returned to the initiator of a delayed transaction, the initiator  
must repeat the transaction with the same address and bus command as well as the data  
if it is a write transaction, within the time frame specified by the master timeout value.  
Otherwise, the transaction is discarded from the buffers.  
3.8.4.2  
TARGET DISCONNECT  
PI7C8150 returns a target disconnect to an initiator when one of the following conditions is  
met:  
C
C
C
PI7C8150 hits an internal address boundary.  
PI7C8150 cannot accept any more write data.  
PI7C8150 has no more read data to deliver.  
See Section 4.5.4 for a description of write address boundaries, and Section 4.6.3 for a  
description of read address boundaries.  
28  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
3.8.4.3  
TARGET ABORT  
PI7C8150 returns a target abort to an initiator when one of the following conditions is met:  
C
PI7C8150 is returning a target abort from the intended target.  
C
When PI7C8150 returns a target abort to the initiator, it sets the signaled target abort  
bit in the status register corresponding to the initiator interface.  
4
ADDRESS DECODING  
PI7C8150 uses three address ranges that control I/O and memory transaction forwarding.  
These address ranges are defined by base and limit address registers in the configuration  
space. This chapter describes these address ranges, as well as ISA-mode and VGA-  
addressing support.  
4.1  
ADDRESS RANGES  
PI7C8150 uses the following address ranges that determine which I/O and memory  
transactions are forwarded from the primary PCI bus to the secondary PCI bus, and from  
the secondary bus to the primary bus:  
C
C
C
Two 32-bit I/O address ranges  
Two 32-bit memory-mapped I/O (non-prefetchable memory) ranges  
Two 32-bit prefetchable memory address ranges  
Transactions falling within these ranges are forwarded downstream from the primary PCI  
bus to the secondary PCI bus. Transactions falling outside these ranges are forwarded  
upstream from the secondary PCI bus to the primary PCI bus.  
No address translation is required in PI7C8150. The addresses that are not marked for  
downstream are always forwarded upstream.  
4.2  
I/O ADDRESS DECODING  
PI7C8150 uses the following mechanisms that are defined in the configuration space to  
specify the I/O address space for downstream and upstream forwarding:  
C
C
C
C
I/O base and limit address registers  
The ISA enable bit  
The VGA mode bit  
The VGA snoop bit  
29  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
This section provides information on the I/O address registers and ISA mode.  
Section 5.4 provides information on the VGA modes.  
To enable downstream forwarding of I/O transactions, the I/O enable bit must be set in the  
command register in configuration space. All I/O transactions initiated on the primary bus  
will be ignored if the I/O enable bit is not set. To enable upstream forwarding of I/O  
transactions, the master enable bit must be set in the command register. If the master-  
enable bit is not set, PI7C8150 ignores all I/O and memory transactions initiated on the  
secondary bus.  
The master-enable bit also allows upstream forwarding of memory transactions  
if it is set.  
CAUTION  
If any configuration state affecting I/O transaction forwarding is changed by a  
configuration write operation on the primary bus at the same time that I/O transactions are  
ongoing on the secondary bus, PI7C8150 response to the secondary bus I/O transactions is  
not predictable. Configure the I/O base and limit address registers, ISA enable bit, VGA  
mode bit, and VGA snoop bit before setting I/O enable and master enable bits, and change  
them subsequently only when the primary and secondary PCI buses are idle.  
4.2.1  
I/O BASE AND LIMIT ADDRESS REGISTER  
PI7C8150 implements one set of I/O base and limit address registers in configuration space  
that define an I/O address range per port downstream forwarding. PI7C8150 supports 32-  
bit I/O addressing, which allows I/O addresses downstream of PI7C8150 to be mapped  
anywhere in a 4GB I/O address space.  
I/O transactions with addresses that fall inside the range defined by the I/O base and limit  
registers are forwarded downstream from the primary PCI bus to the secondary PCI bus.  
I/O transactions with addresses that fall outside this range are forwarded upstream from the  
secondary PCI bus to the primary PCI bus.  
The I/O range can be turned off by setting the I/O base address to a value greater than that  
of the I/O limit address. When the I/O range is turned off, all I/O trans-actions are  
forwarded upstream, and no I/O transactions are forwarded downstream. The I/O range has  
a minimum granularity of 4KB and is aligned on a 4KB boundary. The maximum I/O  
range is 4GB in size. The I/O base register consists of an 8-bit field at configuration  
address 1Ch, and a 16-bit field at address 30h. The top 4 bits of the 8-bit field define bits  
[15:12] of the I/O base address. The bottom 4 bits read only as 1h to indicate that  
PI7C8150 supports 32-bit I/O addressing. Bits [11:0] of the base address are assumed to be  
0, which naturally aligns the base address to a 4KB boundary. The 16 bits contained in the  
I/O base upper 16 bits register at configuration offset 30h define AD[31:16] of the I/O base  
address. All 16 bits are read/write. After primary bus reset or chip reset, the value  
of the I/O base address is initialized to 0000 0000h.  
The I/O limit register consists of an 8-bit field at configuration offset 1Dh and a 16-bit field  
at offset 32h. The top 4 bits of the 8-bit field define bits [15:12] of the I/O limit address.  
The bottom 4 bits read only as 1h to indicate that 32-bit I/O addressing is supported. Bits  
[11:0] of the limit address are assumed to be FFFh, which naturally aligns the limit address  
to the top of a 4KB I/O address block. The 16 bits contained in the I/O limit upper 16 bits  
register at configuration offset 32h define AD[31:16] of the I/O limit address. All 16 bits  
30  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
are read/write. After primary bus reset or chip reset, the value of the I/O limit address is  
reset to 0000 0FFFh.  
Note: The initial states of the I/O base and I/O limit address registers define  
an I/O range of 0000 0000h to 0000 0FFFh, which is the bottom 4KB of I/O space. Write  
these registers with their appropriate values before setting either the I/O enable bit or the  
master enable bit in the command register in configuration space.  
4.2.2  
ISA MODE  
PI7C8150 supports ISA mode by providing an ISA enable bit in the bridge control register  
in configuration space. ISA mode modifies the response of PI7C8150 inside the I/O  
address range in order to support mapping of I/O space in the presence of an ISA bus in the  
system. This bit only affects the response of PI7C8150 when the transaction falls inside the  
address range defined by the I/O base and limit address registers, and only when this  
address also falls inside the first 64KB of I/O space (address bits [31:16] are 0000h).  
When the ISA enable bit is set, PI7C8150 does not forward downstream any I/O  
transactions addressing the top 768 bytes of each aligned 1KB block. Only those  
transactions addressing the bottom 256 bytes of an aligned 1KB block inside the base and  
limit I/O address range are forwarded downstream. Transactions above the 64KB I/O  
address boundary are forwarded as defined by the address range defined by the I/O base  
and limit registers.  
Accordingly, if the ISA enable bit is set, PI7C8150 forwards upstream those I/O  
transactions addressing the top 768 bytes of each aligned 1KB block within the first 64KB  
of I/O space. The master enable bit in the command configuration register must also be set  
to enable upstream forwarding. All other I/O transactions initiated on the secondary bus are  
forwarded upstream only if they fall outside the I/O address range.  
When the ISA enable bit is set, devices downstream of PI7C8150 can have I/O space  
mapped into the first 256 bytes of each 1KB chunk below the 64KB boundary, or anywhere  
in I/O space above the 64KB boundary.  
4.3  
MEMORY ADDRESS DECODING  
PI7C8150 has three mechanisms for defining memory address ranges for forwarding of  
memory transactions:  
C
C
C
Memory-mapped I/O base and limit address registers  
Prefetchable memory base and limit address registers  
VGA mode  
This section describes the first two mechanisms. Section 5.4.1 describes VGA mode. To  
enable downstream forwarding of memory transactions, the memory enable bit must be set  
in the command register in configuration space. To enable upstream forwarding of memory  
transactions, the master-enable bit must be set in the command register. The master-enable  
bit also allows upstream forwarding of I/O transactions if it is set.  
CAUTION  
31  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
If any configuration state affecting memory transaction forwarding is changed by a  
configuration write operation on the primary bus at the same time that memory  
transactions are ongoing on the secondary bus, response to the secondary bus memory  
transactions is not predictable. Configure the memory-mapped I/O base and limit address  
registers, prefetchable memory base and limit address registers, and VGA mode bit before  
setting the memory enable and master enable bits, and change them subsequently only  
when the primary and secondary PCI buses are idle.  
4.3.1  
MEMORY-MAPPED I/O BASE AND LIMIT ADDRESS REGISTERS  
Memory-mapped I/O is also referred to as non-prefetchable memory. Memory addresses  
that cannot automatically be pre-fetched but that can be conditionally pre-fetched based on  
command type should be mapped into this space. Read transactions to non-prefetchable  
space may exhibit side effects; this space may have non-memory-like behavior. PI7C8150  
prefetches in this space only if the memory read line or memory read multiple commands  
are used; transactions using the memory read command are limited to a single data transfer.  
The memory-mapped I/O base address and memory-mapped I/O limit address registers  
define an address range that PI7C8150 uses to determine when to forward memory  
commands. PI7C8150 forwards a memory transaction from the primary to the secondary  
interface if the transaction address falls within the memory-mapped I/O address range.  
PI7C8150 ignores memory transactions initiated on the secondary interface that fall into  
this address range. Any transactions that fall outside this address range are ignored on the  
primary interface and are forwarded upstream from the secondary interface (provided that  
they do not fall into the prefetchable memory range or are not forwarded downstream by  
the VGA mechanism).  
The memory-mapped I/O range supports 32-bit addressing only. The PCI-to-PCI Bridge  
Architecture Specification does not provide for 64-bit addressing in the memory-mapped  
I/O space. The memory-mapped I/O address range has a granularity and alignment of  
1MB. The maximum memory-mapped I/O address range is 4GB.  
The memory-mapped I/O address range is defined by a 16-bit memory-mapped I/O base  
address register at configuration offset 20h and by a 16-bit memory-mapped I/O limit  
address register at offset 22h. The top 12 bits of each of these registers correspond to bits  
[31:20] of the memory address. The low 4 bits are hardwired to 0. The lowest 20 bits of the  
memory-mapped I/O base address are assumed to be 0 0000h, which results in a natural  
alignment to a 1MB boundary. The lowest 20 bits of the memory-mapped I/O limit address  
are assumed to be FFFFFh, which results in an alignment to the top of a 1MB block.  
Note: The initial state of the memory-mapped I/O base address register is 0000 0000h. The  
initial state of the memory-mapped I/O limit address register is 000F FFFFh. Note that the  
initial states of these registers define a memory-mapped I/O range at the bottom 1MB block  
of memory. Write these registers with their appropriate values before setting either the  
memory enable bit or the master enable bit in the command register in configuration space.  
To turn off the memory-mapped I/O address range, write the memory-mapped I/O base  
address register with a value greater than that of the memory-mapped I/O limit address  
register.  
32  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
4.3.2  
PREFETCHABLE MEMORY BASE AND LIMIT ADDRESS  
REGISTERS  
Locations accessed in the prefetchable memory address range must have true memory-like  
behavior and must not exhibit side effects when read. This means that extra reads to a  
prefetchable memory location must have no side effects. PI7C8150 pre-fetches for all types  
of memory read commands in this address space.  
The prefetchable memory base address and prefetchable memory limit address registers  
define an address range that PI7C8150 uses to determine when to forward memory  
commands. PI7C8150 forwards a memory transaction from the primary to the secondary  
interface if the transaction address falls within the prefetchable memory address range.  
PI7C8150 ignores memory transactions initiated on the secondary interface that fall into  
this address range. PI7C8150 does not respond to any transactions that fall outside this  
address range on the primary interface and forwards those transactions upstream from the  
secondary interface (provided that they do not fall into the memory-mapped I/O range or  
are not forwarded by the VGA mechanism).  
The prefetchable memory range supports 64-bit addressing and provides additional  
registers to define the upper 32 bits of the memory address range, the prefetchable memory  
base address upper 32 bits register, and the prefetchable memory limit address upper 32  
bits register. For address comparison, a single address cycle (32-bit address) prefetchable  
memory transaction is treated like a 64-bit address transaction where the upper 32 bits of  
the address are equal to 0. This upper 32-bit value of 0 is compared to the prefetchable  
memory base address upper 32 bits register and the prefetchable memory limit address  
upper 32 bits register. The prefetchable memory base address upper 32 bits register must be  
0 to pass any single address cycle transactions downstream.  
Prefetchable memory address range has a granularity and alignment of 1MB. Maximum  
memory address range is 4GB when 32-bit addressing is being used. Prefetchable memory  
address range is defined by a 16-bit prefetchable memory base address register at  
configuration offset 24h and by a 16-bit prefetchable memory limit address register at  
offset 26h. The top 12 bits of each of these registers correspond to bits [31:20] of the  
memory address. The lowest 4 bits are hardwired to 1h. The lowest 20 bits of the  
prefetchable memory base address are assumed to be 0 0000h, which results in a natural  
alignment to a 1MB boundary. The lowest 20 bits of the prefetchable memory limit address  
are assumed to be FFFFFh, which results in an alignment to the top of a 1MB block.  
Note: The initial state of the prefetchable memory base address register is 0000 0000h. The  
initial state of the prefetchable memory limit address register is 000F FFFFh. Note that the  
initial states of these registers define a prefetchable memory range at the bottom 1MB  
block of memory. Write these registers with their appropriate values before setting either  
the memory enable bit or the master enable bit in the command register in configuration  
space.  
To turn off the prefetchable memory address range, write the prefetchable memory base  
address register with a value greater than that of the prefetchable memory limit address  
register. The entire base value must be greater than the entire limit value, meaning that the  
upper 32 bits must be considered. Therefore, to disable the address range, the upper 32 bits  
registers can both be set to the same value, while the lower base register is set greater than  
the lower limit register. Otherwise, the upper 32-bit base must be greater than the upper 32-  
bit limit.  
33  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
4.4  
VGA SUPPORT  
PI7C8150 provides two modes for VGA support:  
C
VGA mode, supporting VGA-compatible addressing  
VGA snoop mode, supporting VGA palette forwarding  
C
4.4.1  
VGA MODE  
When a VGA-compatible device exists downstream from PI7C8150, set the VGA mode bit  
in the bridge control register in configuration space to enable VGA mode. When PI7C8150  
is operating in VGA mode, it forwards downstream those transactions addressing the VGA  
frame buffer memory and VGA I/O registers, regardless of the values of the base and limit  
address registers. PI7C8150 ignores transactions initiated on the secondary interface  
addressing these locations.  
The VGA frame buffer consists of the following memory address range:  
000A 0000h–000B FFFFh  
Read transactions to frame buffer memory are treated as non-prefetchable. PI7C8150  
requests only a single data transfer from the target, and read byte enable bits are forwarded  
to the target bus.  
The VGA I/O addresses are in the range of 3B0h–3BBh and 3C0h–3DFh I/O. These I/O  
addresses are aliases every 1KB throughout the first 64KB of I/O space. This means that  
address bits <15:10> are not decoded and can be any value, while address bits [31:16] must  
be all 0’s. VGA BIOS addresses starting at C0000h are not decoded in VGA mode.  
4.4.2  
VGA SNOOP MODE  
PI7C8150 provides VGA snoop mode, allowing for VGA palette write transactions to be  
forwarded downstream. This mode is used when a graphics device downstream from  
PI7C8150 needs to snoop or respond to VGA palette write transactions. To enable the  
mode, set the VGA snoop bit in the command register in configuration space. Note that  
PI7C8150 claims VGA palette write transactions by asserting DEVSEL_L in VGA snoop  
mode.  
When VGA snoop bit is set, PI7C8150 forwards downstream transactions within the 3C6h,  
3C8h and 3C9h I/O addresses space. Note that these addresses are also forwarded as part of  
the VGA compatibility mode previously described. Again, address bits <15:10> are not  
decoded, while address bits <31:16> must be equal to 0, which means that these addresses  
are aliases every 1KB throughout the first 64KB of I/O space.  
Note: If both the VGA mode bit and the VGA snoop bit are set, PI7C8150 behaves in the  
same way as if only the VGA mode bit were set.  
34  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
5
TRANSACTION ORDERING  
To maintain data coherency and consistency, PI7C8150 complies with the ordering rules  
set forth in the PCI Local Bus Specification, Revision 2.2, for transactions crossing the  
bridge. This chapter describes the ordering rules that control transaction forwarding across  
PI7C8150.  
5.1  
TRANSACTIONS GOVERNED BY ORDERING RULES  
Ordering relationships are established for the following classes of transactions crossing  
PI7C8150:  
Posted write transactions, comprised of memory write and memory write and  
invalidate transactions.  
Posted write transactions complete at the source before they complete at the destination;  
that is, data is written into intermediate data buffers before it reaches the target.  
Delayed write request transactions, comprised of I/O write and configuration write  
transactions.  
Delayed write requests are terminated by target retry on the initiator bus and  
are queued in the delayed transaction queue. A delayed write transaction must complete on  
the target bus before it completes on the initiator bus.  
Delayed write completion transactions, comprised of I/O write and configuration  
write transactions.  
Delayed write completion transactions complete on the target bus, and the target response  
is queued in the buffers. A delayed write completion transaction proceeds  
in the direction opposite that of the original delayed write request; that is, a delayed write  
completion transaction proceeds from the target bus to the initiator bus.  
Delayed read request transactions, comprised of all memory read, I/O read, and  
configuration read transactions.  
Delayed read requests are terminated by target retry on the initiator bus and are queued in  
the delayed transaction queue.  
Delayed read completion transactions, comprised of all memory read, I/O read, &  
configuration read transactions.  
Delayed read completion transactions complete on the target bus, and the read data is  
queued in the read data buffers. A delayed read completion transaction proceeds in the  
direction opposite that of the original delayed read request; that is, a delayed read  
completion transaction proceeds from the target bus to the initiator bus.  
PI7C8150 does not combine or merge write transactions:  
C
PI7C8150 does not combine separate write transactions into a single write  
transaction—this optimization is best implemented in the originating master.  
C
PI7C8150 does not merge bytes on separate masked write transactions to the same  
DWORD address—this optimization is also best implemented in the originating  
master.  
35  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
PI7C8150 does not collapse sequential write transactions to the same address into a  
single write transaction—the PCI Local Bus Specification does not permit this  
combining of transactions.  
5.2  
GENERAL ORDERING GUIDELINES  
Independent transactions on primary and secondary buses have a relationship only when  
those transactions cross PI7C8150.  
The following general ordering guidelines govern transactions crossing PI7C8150:  
C
The ordering relationship of a transaction with respect to other transactions is  
determined when the transaction completes, that is, when a transaction ends with a  
termination other than target retry.  
C
Requests terminated with target retry can be accepted and completed in any order with  
respect to other transactions that have been terminated with target retry. If the order of  
completion of delayed requests is important, the initiator should not start a second  
delayed transaction until the first one has been completed. If more than one delayed  
transaction is initiated, the initiator should repeat all delayed transaction requests,  
using some fairness algorithm. Repeating a delayed transaction cannot be contingent  
on completion of another delayed transaction. Otherwise, a deadlock can occur.  
C
C
C
Write transactions flowing in one direction have no ordering requirements with respect  
to write transactions flowing in the other direction. PI7C8150 can accept posted write  
transactions on both interfaces at the same time, as well as initiate posted write  
transactions on both interfaces at the same time.  
The acceptance of a posted memory write transaction as a target can never be  
contingent on the completion of a non-locked, non-posted transaction as a master. This  
is true for PI7C81500 and must also be true for other bus agents. Otherwise, a  
deadlock can occur.  
PI7C8150 accepts posted write transactions, regardless of the state of completion of  
any delayed transactions being forwarded across PI7C8150.  
5.3  
ORDERING RULES  
Table 6–1 shows the ordering relationships of all the transactions and refers by number to  
the ordering rules that follow.  
Table 6-1. Summary of Transaction Ordering  
Pass  
Posted  
Write  
Delayed  
Read  
Request  
Yes5  
Delayed  
Write  
Request  
Yes5  
Delayed Read  
Completion  
Delayed Write  
Completion  
Posted Write  
No1  
No2  
No4  
No3  
Yes5  
Yes  
Yes  
No  
Yes5  
Yes  
Yes  
No  
Delayed Read Request  
Delayed Write Request  
Delayed Read  
No  
No  
No  
No  
Yes  
Yes  
Completion  
Delayed Write  
Completion  
Yes  
Yes  
Yes  
No  
No  
36  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Note: The superscript accompanying some of the table entries refers to any applicable  
ordering rule listed in this section. Many entries are not governed by these ordering rules;  
therefore, the implementation can choose whether or not the transactions pass each other.  
The entries without superscripts reflect the PI7C8150’s implementation choices.  
The following ordering rules describe the transaction relationships. Each ordering rule is  
followed by an explanation, and the ordering rules are referred to by number in Table 6–1.  
These ordering rules apply to posted write transactions, delayed write and read requests,  
and delayed write and read completion transactions crossing PI7C8150 in the same  
direction. Note that delayed completion transactions cross PI7C8150 in the direction  
opposite that of the corresponding delayed requests.  
1. Posted write transactions must complete on the target bus in the order in which they  
were received on the initiator bus. The subsequent posted write transaction can be setting a  
flag that covers the data in the first posted write transaction; if the second transaction were  
to complete before the first transaction, a device checking the flag could subsequently  
consume stale data.  
2. A delayed read request traveling in the same direction as a previously queued posted  
write transaction must push the posted write data ahead of it. The posted write transaction  
must complete on the target bus before the delayed read request can be attempted on the  
target bus. The read transaction can be to the same location as the write data, so if the read  
transaction were to pass the write transaction, it would return stale data.  
3. A delayed read completion must ‘‘pull’’ ahead of previously queued posted write data  
traveling in the same direction. In this case, the read data is traveling in the same direction  
as the write data, and the initiator of the read transaction is on the same side of PI7C8150  
as the target of the write transaction. The posted write transaction must complete to the  
target before the read data is returned  
to the initiator. The read transaction can be a reading to a status register of the initiator of  
the posted write data and therefore should not complete until the write transaction is  
complete.  
4. Delayed write requests cannot pass previously queued posted write data. For posted  
memory write transactions, the delayed write transaction can set a flag that covers the data  
in the posted write transaction. If the delayed write request were to complete before the  
earlier posted write transaction, a device checking the flag could subsequently consume  
stale data.  
5. Posted write transactions must be given opportunities to pass delayed read and write  
requests and completions. Otherwise, deadlocks may occur when some bridges which  
support delayed transactions and other bridges which do not support delayed transactions  
are being used in the same system. A fairness algorithm is used to arbitrate between the  
posted write queue and the delayed transaction queue.  
5.4  
DATA SYNCHRONIZATION  
Data synchronization refers to the relationship between interrupt signaling and data  
delivery. The PCI Local Bus Specification, Revision 2.2, provides the following alternative  
methods for synchronizing data and interrupts:  
37  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
The device signaling the interrupt performs a read of the data just written (software).  
C
The device driver performs a read operation to any register in the interrupting device  
before accessing data written by the device (software).  
C
System hardware guarantees that write buffers are flushed before interrupts are  
forwarded.  
PI7C8150 does not have a hardware mechanism to guarantee data synchronization for  
posted write transactions. Therefore, all posted write transactions must be followed by a  
read operation, either from the device to the location just written (or some other location  
along the same path), or from the device driver to one of the device registers.  
6
ERROR HANDLING  
PI7C8150 checks, forwards, and generates parity on both the primary and secondary  
interfaces. To maintain transparency, PI7C8150 always tries to forward the existing parity  
condition on one bus to the other bus, along with address and data. PI7C8150 always  
attempts to be transparent when reporting errors, but this is not always possible, given the  
presence of posted data and delayed transactions.  
To support error reporting on the PCI bus, PI7C8150 implements the following:  
C
C
C
PERR_L and SERR_L signals on both the primary and secondary interfaces  
Primary status and secondary status registers  
The device-specific P_SERR_L event disable register  
This chapter provides detailed information about how PI7C8150 handles errors.  
It also describes error status reporting and error operation disabling.  
6.1  
ADDRESS PARITY ERRORS  
PI7C8150 checks address parity for all transactions on both buses, for all address and all  
bus commands. When PI7C8150 detects an address parity error on the primary interface,  
the following events occur:  
C
If the parity error response bit is set in the command register, PI7C8150 does not claim  
the transaction with P_DEVSEL_L; this may allow the transaction to terminate in a  
master abort. If parity error response bit is not set, PI7C8150 proceeds normally and  
accepts the transaction if it is directed to or across PI7C8150.  
C
PI7C8150 sets the detected parity error bit in the status register.  
C
PI7C8150 asserts P_SERR_L and sets signaled system error bit in the status register, if  
both the following conditions are met:  
C
The SERR_L enable bit is set in the command register.  
38  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
The parity error response bit is set in the command register.  
When PI7C8150 detects an address parity error on the secondary interface, the following  
events occur:  
C
If the parity error response bit is set in the bridge control register, PI7C8150 does not  
claim the transaction with S_DEVSEL_L; this may allow the transaction to terminate  
in a master abort. If parity error response bit is not set, PI7C8150 proceeds normally  
and accepts transaction if it is directed to or across PI7C8150.  
C
PI7C8150 sets the detected parity error bit in the secondary status register.  
C
PI7C8150 asserts P_SERR_L and sets signaled system error bit in status register, if  
both of the following conditions are met:  
C
The SERR_L enable bit is set in the command register.  
C
The parity error response bit is set in the bridge control register.  
6.2  
DATA PARITY ERRORS  
When forwarding transactions, PI7C8150 attempts to pass the data parity condition from  
one interface to the other unchanged, whenever possible, to allow the master and target  
devices to handle the error condition.  
The following sections describe, for each type of transaction, the sequence of events that  
occurs when a parity error is detected and the way in which the parity condition is  
forwarded across PI7C8150.  
6.2.1  
CONFIGURATION WRITE TRANSACTIONS TO  
CONFIGURATION SPACE  
When PI7C8150 detects a data parity error during a Type 0 configuration write transaction  
to PI7C8150 configuration space, the following events occur:  
If the parity error response bit is set in the command register, PI7C8150 asserts  
P_TRDY_L and writes the data to the configuration register. PI7C8150 also asserts  
P_PERR_L. If the parity error response bit is not set, PI7C8150 does not assert  
P_PERR_L.  
PI7C8150 sets the detected parity error bit in the status register, regardless of the state of  
the parity error response bit.  
6.2.2  
READ TRANSACTIONS  
When PI7C8150 detects a parity error during a read transaction, the target drives data and  
data parity, and the initiator checks parity and conditionally asserts PERR_L.  
For downstream transactions, when PI7C8150 detects a read data parity error on the  
secondary bus, the following events occur:  
39  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
PI7C8150 asserts S_PERR_L two cycles following the data transfer, if the secondary  
interface parity error response bit is set in the bridge control register.  
C
PI7C8150 sets the detected parity error bit in the secondary status register.  
C
PI7C8150 sets the data parity detected bit in the secondary status register, if the  
secondary interface parity error response bit is set in the bridge control register.  
C
PI7C8150 forwards the bad parity with the data back to the initiator on the primary  
bus. If the data with the bad parity is pre-fetched and is not read by the initiator on the  
primary bus, the data is discarded and the data with bad parity is not returned to the  
initiator.  
C
PI7C8150 completes the transaction normally.  
For upstream transactions, when PI7C8150 detects a read data parity error on the primary  
bus, the following events occur:  
C
PI7C8150 asserts P_PERR_L two cycles following the data transfer, if the primary  
interface parity error response bit is set in the command register.  
C
PI7C8150 sets the detected parity error bit in the primary status register.  
C
PI7C8150 sets the data parity detected bit in the primary status register, if the primary  
interface parity-error-response bit is set in the command register.  
C
PI7C8150 forwards the bad parity with the data back to the initiator on the secondary  
bus. If the data with the bad parity is pre-fetched and is not read by the initiator on the  
secondary bus, the data is discarded and the data with bad parity is not returned to the  
initiator.  
C
PI7C8150 completes the transaction normally.  
PI7C8150 returns to the initiator the data and parity that was received from the target.  
When the initiator detects a parity error on this read data and is enabled to report it, the  
initiator asserts PERR_L two cycles after the data transfer occurs. It is assumed that the  
initiator takes responsibility for handling a parity error condition; therefore, when  
PI7C8150 detects PERR_L asserted while returning read data to the initiator, PI7C8150  
does not take any further action and completes the transaction normally.  
6.2.3  
DELAYED WRITE TRANSACTIONS  
When PI7C8150 detects a data parity error during a delayed write transaction, the initiator  
drives data and data parity, and the target checks parity and conditionally asserts PERR_L.  
For delayed write transactions, a parity error can occur at the following times:  
C
During the original delayed write request transaction  
C
When the initiator repeats the delayed write request transaction  
40  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
When PI7C8150 completes the delayed write transaction to the target  
When a delayed write transaction is normally queued, the address, command, address  
parity, data, byte enable bits, and data parity are all captured and a target retry is returned to  
the initiator. When PI7C8150 detects a parity error on the write data for the initial delayed  
write request transaction, the following events occur:  
C
If the parity-error-response bit corresponding to the initiator bus is set, PI7C8150  
asserts TRDY_L to the initiator and the transaction is not queued. If multiple data  
phases are requested, STOP_L is also asserted to cause a target disconnect. Two cycles  
after the data transfer, PI7C8150 also asserts PERR_L.  
C
If the parity-error-response bit is not set, PI7C8150 returns a target retry.  
It queues the transaction as usual. PI7C8150 does not assert PERR_L.  
In this case, the initiator repeats the transaction.  
C
PI7C8150 sets the detected-parity-error bit in the status register corresponding to the  
initiator bus, regardless of the state of the parity-error-response bit.  
Note: If parity checking is turned off and data parity errors have occurred for queued or  
subsequent delayed write transactions on the initiator bus, it is possible that the initiator’s  
re-attempts of the write transaction may not match the original queued delayed write  
information contained in the delayed transaction queue. In this case, a master timeout  
condition may occur, possibly resulting in a system error (P_SERR_L assertion).  
For downstream transactions, when PI7C8150 is delivering data to the target on the  
secondary bus and S_PERR_L is asserted by the target, the following events occur:  
C
PI7C8150 sets the secondary interface data parity detected bit in the secondary status  
register, if the secondary parity error response bit is set in the bridge control register.  
C
PI7C8150 captures the parity error condition to forward it back to the initiator on the  
primary bus.  
Similarly, for upstream transactions, when PI7C8150 is delivering data to the target on the  
primary bus and P_PERR_L is asserted by the target, the following events occur:  
C
PI7C8150 sets the primary interface data-parity-detected bit in the status register, if the  
primary parity-error-response bit is set in the command register.  
C
PI7C8150 captures the parity error condition to forward it back to the initiator on the  
secondary bus.  
A delayed write transaction is completed on the initiator bus when the initiator repeats the  
write transaction with the same address, command, data, and byte enable bits as the  
delayed write command that is at the head of the posted data queue. Note that the parity bit  
is not compared when determining whether the transaction matches those in the delayed  
transaction queues.  
Two cases must be considered:  
C
When parity error is detected on the initiator bus on a subsequent re-attempt of the  
transaction and was not detected on the target bus  
41  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
When parity error is forwarded back from the target bus  
For downstream delayed write transactions, when the parity error is detected on the  
initiator bus and PI7C8150 has write status to return, the following events occur:  
C
PI7C8150 first asserts P_TRDY_L and then asserts P_PERR_L two cycles later, if the  
primary interface parity-error-response bit is set in the command register.  
C
PI7C8150 sets the primary interface parity-error-detected bit in the status register.  
C
Because there was not an exact data and parity match, the write status is not returned  
and the transaction remains in the queue.  
Similarly, for upstream delayed write transactions, when the parity error is detected on the  
initiator bus and PI7C8150 has write status to return, the following events occur:  
C
PI7C8150 first asserts S_TRDY_L and then asserts S_PERR_L two cycles later, if the  
secondary interface parity-error-response bit is set in the bridge control register (offset  
3Ch).  
C
PI7C8150 sets the secondary interface parity-error-detected bit in the secondary status  
register.  
C
Because there was not an exact data and parity match, the write status is not returned  
and the transaction remains in the queue.  
For downstream transactions, where the parity error is being passed back from the target  
bus and the parity error condition was not originally detected on the initiator bus, the  
following events occur:  
C
PI7C8150 asserts P_PERR_L two cycles after the data transfer, if the following are  
both true:  
C
The parity-error-response bit is set in the command register of the primary  
interface.  
C
The parity-error-response bit is set in the bridge control register of the  
secondary interface.  
C
PI7C8150 completes the transaction normally.  
For upstream transactions, when the parity error is being passed back from the target bus  
and the parity error condition was not originally detected on the initiator bus, the following  
events occur:  
C
PI7C8150 asserts S_PERR_L two cycles after the data transfer, if the following are  
both true:  
C
The parity error response bit is set in the command register of the primary  
interface.  
C
The parity error response bit is set in the bridge control register of the  
secondary interface.  
42  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
PI7C8150 completes the transaction normally.  
6.2.4  
POSTED WRITE TRANSACTIONS  
During downstream posted write transactions, when PI7C8150 responds as a target, it  
detects a data parity error on the initiator (primary) bus and the following events occur:  
C
PI7C8150 asserts P_PERR_L two cycles after the data transfer, if the parity error  
response bit is set in the command register of primary interface.  
C
PI7C8150 sets the parity error detected bit in the status register of the primary  
interface.  
C
PI7C8150 captures and forwards the bad parity condition to the secondary bus.  
PI7C8150 completes the transaction normally.  
C
Similarly, during upstream posted write transactions, when PI7C8150 responds as a target,  
it detects a data parity error on the initiator (secondary) bus, the following events occur:  
C
PI7C8150 asserts S_PERR_L two cycles after the data transfer, if the parity error  
response bit is set in the bridge control register of the secondary interface.  
C
PI7C8150 sets the parity error detected bit in the status register of the secondary  
interface.  
C
PI7C8150 captures and forwards the bad parity condition to the primary bus.  
PI7C8150 completes the transaction normally.  
C
During downstream write transactions, when a data parity error is reported on the target  
(secondary) bus by the target’s assertion of S_PERR_L, the following events occur:  
C
PI7C8150 sets the data parity detected bit in the status register of secondary interface,  
if the parity error response bit is set in the bridge control register of the secondary  
interface.  
C
PI7C8150 asserts P_SERR_L and sets the signaled system error bit in the status  
register, if all the following conditions are met:  
C
The SERR_L enable bit is set in the command register.  
C
The posted write parity error bit of P_SERR_L event disable register is not  
set.  
C
The parity error response bit is set in the bridge control register of the  
secondary interface.  
C
The parity error response bit is set in the command register of the primary  
interface.  
43  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
PI7C8150 has not detected the parity error on the primary (initiator) bus  
which the parity error is not forwarded from the primary bus to the  
secondary bus.  
During upstream write transactions, when a data parity error is reported on the target  
(primary) bus by the target’s assertion of P_PERR_L, the following events occur:  
C
PI7C8150 sets the data parity detected bit in the status register, if the parity error  
response bit is set in the command register of the primary interface.  
C
PI7C8150 asserts P_SERR_L and sets the signaled system error bit in the status  
register, if all the following conditions are met:  
C
The SERR_L enable bit is set in the command register.  
C
The parity error response bit is set in the bridge control register of the  
secondary interface.  
C
The parity error response bit is set in the command register of the primary  
interface.  
C
PI7C8150 has not detected the parity error on the secondary (initiator) bus,  
which the parity error is not forwarded from the secondary bus to the  
primary bus.  
Assertion of P_SERR_L is used to signal the parity error condition when the initiator does  
not know that the error occurred. Because the data has already been delivered with no  
errors, there is no other way to signal this information back to the initiator.  
If the parity error has forwarded from the initiating bus to the target bus, P_SERR_L will  
not be asserted.  
6.3  
DATA PARITY ERROR REPORTING SUMMARY  
In the previous sections, the responses of PI7C8150 to data parity errors are presented  
according to the type of transaction in progress. This section organizes the responses of  
PI7C8150 to data parity errors according to the status bits that PI7C8150 sets and the  
signals that it asserts.  
Table 7–1 shows setting the detected parity error bit in the status register, corresponding to  
the primary interface. This bit is set when PI7C8150 detects a parity error on the primary  
interface.  
Table 7-1. Setting the Primary Interface Detected Parity Error Bit  
Primary Detected Transaction Type  
Parity Error Bit  
Direction  
Bus Where Error  
Was Detected  
Primary/  
Secondary Parity  
Error Response  
Bits  
x / x  
0
0
1
0
1
0
0
Read  
Downstream  
Downstream  
Upstream  
Primary  
Read  
Secondary  
Primary  
x / x  
Read  
Read  
Posted Write  
Posted Write  
Posted Write  
x / x  
Upstream  
Secondary  
Primary  
Secondary  
Primary  
x / x  
Downstream  
Downstream  
Upstream  
x / x  
x / x  
x / x  
44  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
0
Posted Write  
Upstream  
Secondary  
Primary  
x / x  
x / x  
x / x  
x / x  
x / x  
1
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
0
Secondary  
Primary  
0
0
Upstream  
Secondary  
X= don’t care  
Table 7–2 shows setting the detected parity error bit in the secondary status register,  
corresponding to the secondary interface. This bit is set when PI7C8150 detects a parity  
error on the secondary interface.  
Table 7-2. Setting Secondary Interface Detected Parity Error Bit  
Secondary  
Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary/  
Detected Parity  
Error Bit  
Secondary Parity  
Error Response  
Bits  
x / x  
0
Read  
Downstream  
Downstream  
Upstream  
Primary  
1
Read  
Secondary  
Primary  
x / x  
0
Read  
Read  
x / x  
0
Upstream  
Secondary  
Primary  
x / x  
0
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
x / x  
0
Secondary  
Primary  
x / x  
0
x / x  
1
Upstream  
Secondary  
Primary  
x / x  
0
Downstream  
Downstream  
Upstream  
x / x  
0
Secondary  
Primary  
x / x  
0
x / x  
1
Upstream  
Secondary  
x / x  
X= don’t care  
Table 7–3 shows setting data parity detected bit in the primary interface’s status register.  
This bit is set under the following conditions:  
C
PI7C8150 must be a master on the primary bus.  
C
The parity error response bit in the command register, corresponding to the primary  
interface, must be set.  
C
The P_PERR_L signal is detected asserted or a parity error is detected on the primary  
bus.  
Table 7-3. Setting Primary Interface Master Data Parity Error Detected Bit  
Primary  
Data Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary /  
Parity Bit  
Secondary Parity  
Error Response  
Bits  
x / x  
0
0
1
0
0
0
1
0
0
0
1
0
Read  
Downstream  
Downstream  
Upstream  
Primary  
Read  
Secondary  
Primary  
x / x  
Read  
Read  
1 / x  
Upstream  
Secondary  
Primary  
x / x  
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
x / x  
Secondary  
Primary  
x / x  
1 / x  
Upstream  
Secondary  
Primary  
x / x  
Downstream  
Downstream  
Upstream  
x / x  
Secondary  
Primary  
x / x  
1 / x  
Upstream  
Secondary  
x / x  
X= don’t care  
45  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Table 7–4 shows setting the data parity detected bit in the status register of secondary  
interface. This bit is set under the following conditions:  
C
The PI7C8150 must be a master on the secondary bus.  
C
The parity error response bit must be set in the bridge control register of secondary  
interface.  
C
The S_PERR_L signal is detected asserted or a parity error is detected on the  
secondary bus.  
Table 7-4. Setting Secondary Interface Master Data Parity Error Detected Bit  
Secondary  
Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary /  
Detected Parity  
Detected Bit  
Secondary Parity  
Error Response  
Bits  
x / x  
0
Read  
Downstream  
Downstream  
Upstream  
Primary  
1
Read  
Secondary  
Primary  
x / 1  
0
Read  
Read  
x / x  
0
Upstream  
Secondary  
Primary  
x / x  
0
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
x / x  
1
Secondary  
Primary  
x / 1  
0
x / x  
0
Upstream  
Secondary  
Primary  
x / x  
0
Downstream  
Downstream  
Upstream  
x / x  
1
Secondary  
Primary  
x / 1  
0
x / x  
0
Upstream  
Secondary  
x / x  
X= don’t care  
Table 7–5 shows assertion of P_PERR_L. This signal is set under the following conditions:  
C
PI7C8150 is either the target of a write transaction or the initiator of a read transaction  
on the primary bus.  
C
The parity-error-response bit must be set in the command register of primary interface.  
C
PI7C8150 detects a data parity error on the primary bus or detects S_PERR_L asserted  
during the completion phase of a downstream delayed write transaction on the target  
(secondary) bus.  
Table 7-5. Assertion of P_PERR#  
P_PERR#  
Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary/  
Secondary Parity  
Error Response  
Bits  
x / x  
1 (de-asserted)  
Read  
Downstream  
Downstream  
Upstream  
Primary  
1
Read  
Secondary  
Primary  
x / x  
0 (asserted)  
Read  
Read  
1 / x  
1
Upstream  
Secondary  
Primary  
x / x  
0
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
1 / x  
1
Secondary  
Primary  
x / x  
1
x / x  
1
Upstream  
Secondary  
Primary  
x / x  
0
Downstream  
Downstream  
Upstream  
1 / x  
02  
Secondary  
Primary  
1 / 1  
1
x / x  
1
Upstream  
Secondary  
x / x  
X= don’t care  
2
The parity error was detected on the target (secondary) bus but not on the initiator (primary) bus.  
46  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Table 7–6 shows assertion of S_PERR_L that is set under the following conditions:  
C
C
C
PI7C8150 is either the target of a write transaction or the initiator of a read transaction  
on the secondary bus.  
The parity error response bit must be set in the bridge control register of secondary  
interface.  
PI7C8150 detects a data parity error on the secondary bus or detects P_PERR_L  
asserted during the completion phase of an upstream delayed write transaction on the  
target (primary) bus.  
Table 7-6. Assertion of S_PERR#  
S_PERR#  
Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary/  
Secondary Parity  
Error Response  
Bits  
x / x  
1 (de-asserted)  
Read  
Downstream  
Downstream  
Upstream  
Primary  
0 (asserted)  
Read  
Secondary  
Primary  
x / 1  
1
Read  
Read  
x / x  
1
Upstream  
Secondary  
Primary  
x / x  
1
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
x / x  
1
Secondary  
Primary  
x / x  
1
x / x  
0
Upstream  
Secondary  
Primary  
x / 1  
1
Downstream  
Downstream  
Upstream  
x / x  
1
Secondary  
Primary  
x / x  
02  
1 / 1  
0
Upstream  
Secondary  
x / 1  
X= don’t care  
2
The parity error was detected on the target (secondary) bus but not on the initiator (primary) bus.  
Table 7–7 shows assertion of P_SERR_L. This signal is set under the following  
conditions:  
C
PI7C8150 has detected P_PERR_L asserted on an upstream posted write transaction  
or S_PERR_L asserted on a downstream posted write transaction.  
C
PI7C8150 did not detect the parity error as a target of the posted write transaction.  
C
The parity error response bit on the command register and the parity error response bit  
on the bridge control register must both be set.  
C
The SERR_L enable bit must be set in the command register.  
Table 7-7. Assertion of P_SERR# for Data Parity Errors  
P_SERR#  
Transaction Type  
Direction  
Bus Where Error  
Was Detected  
Primary /  
Secondary Parity  
Error Response  
Bits  
x / x  
1 (de-asserted)  
Read  
Downstream  
Downstream  
Upstream  
Primary  
1
Read  
Secondary  
Primary  
x / x  
1
Read  
Read  
x / x  
1
Upstream  
Secondary  
Primary  
x / x  
1
Posted Write  
Posted Write  
Posted Write  
Posted Write  
Downstream  
Downstream  
Upstream  
x / x  
02 (asserted)  
Secondary  
Primary  
1 / 1  
03  
1
1 / 1  
Upstream  
Secondary  
x / x  
47  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
1
Delayed Write  
Delayed Write  
Delayed Write  
Delayed Write  
Downstream  
Downstream  
Upstream  
Primary  
x / x  
x / x  
x / x  
x / x  
1
Secondary  
Primary  
1
1
Upstream  
Secondary  
X = don’t care  
2
The parity error was detected on the target (secondary) bus but not on the initiator (primary)  
bus.  
3
The parity error was detected on the target (primary) bus but not on the initiator (secondary)  
bus.  
6.4  
SYSTEM ERROR (SERR#) REPORTING  
PI7C8150 uses the P_SERR_L signal to report conditionally a number of system error  
conditions in addition to the special case parity error conditions described in Section 7.2.3.  
Whenever assertion of P_SERR_L is discussed in this document, it is assumed that the  
following conditions apply:  
C
For PI7C8150 to assert P_SERR_L for any reason, the SERR_L enable bit must be set  
in the command register.  
C
Whenever PI7C8150 asserts P_SERR_L, PI7C8150 must also set the signaled system  
error bit in the status register.  
In compliance with the PCI-to-PCI Bridge Architecture Specification, PI7C8150 asserts  
P_SERR_L when it detects the secondary SERR_L input, S_SERR_L, asserted and the  
SERR_L forward enable bit is set in the bridge control register. In addition, PI7C8150 also  
sets the received system error bit in the secondary status register.  
PI7C8150 also conditionally asserts P_SERR_L for any of the following reasons:  
C
C
C
Target abort detected during posted write transaction  
Master abort detected during posted write transaction  
Posted write data discarded after 224 (default) attempts to deliver (224 target retries  
received)  
C
C
C
C
Parity error reported on target bus during posted write transaction (see previous  
section)  
Delayed write data discarded after 224 (default) attempts to deliver (224 target retries  
received)  
Delayed read data cannot be transferred from target after 224 (default) attempts (224  
target retries received)  
Master timeout on delayed transaction  
The device-specific P_SERR_L status register reports the reason for the assertion of  
P_SERR_L. Most of these events have additional device-specific disable bits in the  
P_SERR_L event disable register that make it possible to mask out P_SERR_L assertion  
48  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
for specific events. The master timeout condition has a SERR_L enable bit for that event in  
the bridge control register and therefore does not have a device-specific disable bit.  
7
EXCLUSIVE ACCESS  
This chapter describes the use of the LOCK_L signal to implement exclusive access to a  
target for transactions that cross PI7C8150.  
7.1  
CONCURRENT LOCKS  
The primary and secondary bus lock mechanisms operate concurrently except when  
a locked transaction crosses PI7C8150. A primary master can lock a primary target without  
affecting the status of the lock on the secondary bus, and vice versa. This means that a  
primary master can lock a primary target at the same time that a secondary master locks a  
secondary target.  
7.2  
ACQUIRING EXCLUSIVE ACCESS ACROSS PI7C8150  
For any PCI bus, before acquiring access to the LOCK_L signal and starting a series of  
locked transactions, the initiator must first check that both of the following conditions are  
met:  
C
The PCI bus must be idle.  
C
The LOCK_L signal must be de-asserted.  
The initiator leaves the LOCK_L signal de-asserted during the address phase and asserts  
LOCK_L one clock cycle later. Once a data transfer is completed from the target, the target  
lock has been achieved.  
7.2.1  
LOCKED TRANSACTIONS IN DOWNSTREAM DIRECTION  
Locked transactions can cross PI7C8150 only in the downstream direction, from the  
primary bus to the secondary bus.  
When the target resides on another PCI bus, the master must acquire not only the lock on  
its own PCI bus but also the lock on every bus between its bus and the target’s bus. When  
PI7C8150 detects on the primary bus, an initial locked transaction intended for a target on  
the secondary bus, PI7C8150 samples the address, transaction type, byte enable bits, and  
parity, as described in Section 4.5.4. It also samples the lock signal. If there is a lock  
established between 2 ports or the target bus is already locked by another master, then the  
current lock cycle is retried without forward. Because a target retry is signaled to the  
initiator, the initiator must relinquish the lock on the primary bus, and therefore the lock is  
not yet established.  
The first locked transaction must be a memory read transaction. Subsequent locked  
transactions can be memory read or memory write transactions. Posted memory write  
49  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
transactions that are a part of the locked transaction sequence are still posted. Memory read  
transactions that are a part of the locked transaction sequence are not pre-fetched.  
When the locked delayed memory read request is queued, PI7C8150 does not queue any  
more transactions until the locked sequence is finished. PI7C8150 signals a target retry to  
all transactions initiated subsequent to the locked read transaction that are intended for  
targets on the other side of PI7C8150. PI7C8150 allows any transactions queued before the  
locked transaction to complete before initiating the locked transaction.  
When the locked delayed memory read request transaction moves to the head of the  
delayed transaction queue, PI7C8150 initiates the transaction as a locked read transaction  
by de-asserting LOCK_L on the target bus during the first address phase, and by asserting  
LOCK_L one cycle later. If LOCK_L is already asserted (used by another initiator),  
PI7C8150 waits to request access to the secondary bus until LOCK_L is de-asserted when  
the target bus is idle. Note that the existing lock on the target bus could not have crossed  
PI7C8150. Otherwise, the pending queued locked transaction would not have been queued.  
When PI7C8150 is able to complete a data transfer with the locked read transaction, the  
lock is established on the secondary bus.  
When the initiator repeats the locked read transaction on the primary bus with the same  
address, transaction type, and byte enable bits, PI7C8150 transfers the read data back to the  
initiator, and the lock is then also established on the primary bus.  
For PI7C8150 to recognize and respond to the initiator, the initiator’s subsequent attempts  
of the read transaction must use the locked transaction sequence (de-assert LOCK_L during  
address phase, and assert LOCK_L one cycle later). If the LOCK_L sequence is not used in  
subsequent attempts, a master timeout condition may result. When a master timeout  
condition occurs, SERR_L is conditionally asserted (see Section 7.4), the read data and  
queued read transaction are discarded, and the LOCK_L signal is de-asserted on the target  
bus.  
Once the intended target has been locked, any subsequent locked transactions initiated on  
the initiator bus that are forwarded by PI7C8150 are driven as locked transactions on the  
target bus.  
The first transaction to establish LOCK_L must be Memory Read. If the first transaction is  
not Memory read, the following transactions behave accordingly:  
C
C
C
C
C
Type 0 Configuration Read/Write induces master abort  
Type 1 Configuration Read/Write induces master abort  
I/O Read induces master abort  
I/O Write induces master abort  
Memory Write induces master abort  
When PI7C8150 receives a target abort or a master abort in response to the delayed locked  
read transaction, this status is passed back to the initiator, and no locks are established on  
either the target or the initiator bus. PI7C8150 resumes forwarding unlocked transactions in  
both directions.  
50  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
7.2.2  
LOCKED TRANSACTION IN UPSTREAM DIRECTION  
PI7C8150 ignores upstream lock and transactions. PI7C8150 will pass these transactions as  
normal transactions without lock established.  
7.3  
ENDING EXCLUSIVE ACCESS  
After the lock has been acquired on both initiator and target buses, PI7C8150 must  
maintain the lock on the target bus for any subsequent locked transactions until the initiator  
relinquishes the lock.  
The only time a target-retry causes the lock to be relinquished is on the first transaction of a  
locked sequence. On subsequent transactions in the sequence,  
the target retry has no effect on the status of the lock signal.  
An established target lock is maintained until the initiator relinquishes the lock. PI7C8150  
does not know whether the current transaction is the last one in a sequence of locked  
transactions until the initiator de-asserts the LOCK_L signal at  
end of the transaction.  
When the last locked transaction is a delayed transaction, PI7C8150 has already completed  
the transaction on the target bus. In this example, as soon as PI7C8150 detects that the  
initiator has relinquished the LOCK_L signal by sampling it in the de-asserted state while  
FRAME_L is de-asserted, PI7C8150 de-asserts the LOCK_L signal on the target bus as  
soon as possible. Because of this behavior, LOCK_L may not be de-asserted until several  
cycles after the last locked transaction has been completed on the target bus. As soon as  
PI7C8150 has de-asserted LOCK_L to indicate the end of a sequence of locked  
transactions, it resumes forwarding unlocked transactions.  
When the last locked transaction is a posted write transaction, PI7C8150 de-asserts  
LOCK_L on the target bus at the end of the transaction because the lock was relinquished  
at the end of the write transaction on the initiator bus.  
When PI7C8150 receives a target abort or a master abort in response to a locked delayed  
transaction, PI7C8150 returns a target abort or a master abort when the initiator repeats the  
locked transaction. The initiator must then de-assert LOCK_L at the end of the transaction.  
PI7C8150 sets the appropriate status bits, flagging the abnormal target termination  
condition (see Section 4.8). Normal forwarding of unlocked posted and delayed  
transactions is resumed.  
When PI7C8150 receives a target abort or a master abort in response to a locked posted  
write transaction, PI7C8150 cannot pass back that status to the initiator. PI7C8150 asserts  
SERR_L on the initiator bus when a target abort or a master abort is received during a  
locked posted write transaction, if the SERR_L enable bit is set in the command register.  
Signal SERR_L is asserted for the master abort condition if the master abort mode bit is set  
in the bridge control register (see Section 7.4).  
8
PCI BUS ARBITRATION  
51  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
PI7C8150 must arbitrate for use of the primary bus when forwarding upstream  
transactions. Also, it must arbitrate for use of the secondary bus when forwarding  
downstream transactions. The arbiter for the primary bus resides external to PI7C8150,  
typically on the motherboard. For the secondary PCI bus, PI7C8150 implements an internal  
arbiter. This arbiter can be disabled, and an external arbiter can be used instead. This  
chapter describes primary and secondary bus arbitration.  
8.1  
PRIMARY PCI BUS ARBITRATION  
PI7C8150 implements a request output pin, P_REQ_L, and a grant input pin, P_GNT_L,  
for primary PCI bus arbitration. PI7C8150 asserts P_REQ_L when forwarding transactions  
upstream; that is, it acts as initiator on the primary PCI bus. As long as at least one pending  
transaction resides in the queues in the upstream direction, either posted write data or  
delayed transaction requests, PI7C8150 keeps P_REQ_L asserted. However, if a target  
retry, target disconnect, or a target abort is received in response to a transaction initiated by  
PI7C8150 on the primary PCI bus, PI7C8150 de-asserts P_REQ_L for two PCI clock  
cycles.  
For all cycles through the bridge, P_REQ_L is not asserted until the transaction request has  
been completely queued. When P_GNT_L is asserted LOW by the primary bus arbiter  
after PI7C8150 has asserted P_REQ_L, PI7C8150 initiates a transaction on the primary bus  
during the next PCI clock cycle. When P_GNT_L is asserted to PI7C8150 when P_REQ_L  
is not asserted, PI7C8150 parks P_AD, P_CBE, and P_PAR by driving them to valid logic  
levels. When the primary bus is parked at PI7C8150 and PI7C8150 has a transaction to  
initiate on the primary bus, PI7C8150 starts the transaction if P_GNT_L was asserted  
during the previous cycle.  
8.2  
SECONDARY PCI BUS ARBITRATION  
PI7C8150 implements an internal secondary PCI bus arbiter. This arbiter supports eight  
external masters on the secondary bus in addition to PI7C8150. The internal arbiter can be  
disabled, and an external arbiter can be used instead for secondary bus arbitration.  
8.2.1  
SECONDARY BUS ARBITRATION USING THE INTERNAL  
ARBITER  
To use the internal arbiter, the secondary bus arbiter enable pin, S_CFN_L, must be tied  
LOW. PI7C8150 has nine secondary bus request input pins, S_REQ_L[8:0], and has nine  
secondary bus output grant pins, S_GNT_L[8:0], to support external secondary bus  
masters.  
The secondary bus request and grant signals are connected internally to the arbiter and are  
not brought out to external pins when S_CFN_L is HIGH.  
The secondary arbiter supports a 2-sets programmable 2-level rotating algorithm with each  
set taking care of 9 requests / grants. Each set of masters can be assigned to a high priority  
group and a low priority group. The low priority group as a whole represents one entry in  
the high priority group; that is, if the high priority group consists of n masters, then in at  
least every n+1 transactions the highest priority is assigned to the low priority group.  
Priority rotates evenly among the low priority group. Therefore, members of the high  
52  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
priority group can be serviced n transactions out of n+1, while one member of the low  
priority group is serviced once every n+1 transactions. Figure 9–1 shows an example of an  
internal arbiter where four masters, including PI7C8150, are in the high priority group, and  
five masters are in the low priority group. Using this example, if all requests are always  
asserted, the highest priority rotates among the masters in the following fashion (high  
priority members are given in italics, low priority members, in boldface type): B, m0, m1,  
m2, m3, B, m0, m1, m2, m4, B, m0, m1, m2, m5, B, m0, m1, m2, m6, B, m0, m1, m2, m7  
and so on.  
Figure 9-1. Secondary Arbiter Example  
Each bus master, including PI7C8150, can be configured to be in either the low priority  
group or the high priority group by setting the corresponding priority bit in the arbiter-  
control register. The arbiter-control register is located at offset 40h. Each master has a  
corresponding bit. If the bit is set to 1, the master is assigned to the high priority group. If  
the bit is set to 0, the master is assigned to the low priority group. If all the masters are  
assigned to one group, the algorithm defaults to a straight rotating priority among all the  
masters. After reset, all external masters are assigned to the low priority group, and  
PI7C8150 is assigned to the high priority group. PI7C8150 receives highest priority on the  
target bus every other transaction, and priority rotates evenly among the other masters.  
Priorities are re-evaluated every time S_FRAME_L is asserted at the start of each new  
transaction on the secondary PCI bus. From this point until the time that the next  
transaction starts, the arbiter asserts the grant signal corresponding to the highest priority  
request that is asserted. If a grant for a particular request is asserted, and a higher priority  
request subsequently asserts, the arbiter de-asserts the asserted grant signal and asserts the  
grant corresponding to the new higher priority request on the next PCI clock cycle. When  
priorities are re-evaluated, the highest priority is assigned to the next highest priority  
master relative to the master that initiated the previous transaction. The master that initiated  
the last transaction now has the lowest priority in its group.  
If PI7C8150 detects that an initiator has failed to assert S_FRAME_L after 16 cycles of  
both grant assertion and a secondary idle bus condition, the arbiter de-asserts the grant.  
To prevent bus contention, if the secondary PCI bus is idle, the arbiter never asserts one  
grant signal in the same PCI cycle in which it de-asserts another. It de-asserts one grant and  
asserts the next grant, no earlier than one PCI clock cycle later. If the secondary PCI bus is  
busy, that is, S_FRAME_L or S_IRDY_L is asserted, the arbiter can be de-asserted one  
grant and asserted another grant during the same PCI clock cycle.  
53  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
8.2.2  
8.2.3  
PREEMPTION  
Preemption can be programmed to be either on or off, with the default to on (offset 4Ch, bit  
31=0). Time-to-preempt can be programmed to 0, 1, 2, 4, 8, 16, 32, or 64 (default is 0)  
clocks.  
If the current master occupies the bus and other masters are waiting, the current master will  
be preempted by removing its grant (GNT#) after the next master waits for the time-to-  
preempt.  
SECONDARY BUS ARBITRATION USING AN EXTERNAL  
ARBITER  
The internal arbiter is disabled when the secondary bus central function control pin,  
S_CFN_L, is tied HIGH. An external arbiter must then be used.  
When S_CFN_L is tied HIGH, PI7C8150, reconfigures two pins to be external request and  
grant pins. The S_GNT_L[0] pin is reconfigured to be the external request pin because it’s  
an output. The S_REQ_L[0] pin is reconfigured to be the external grant pin because it’s an  
input. When an external arbiter is used, PI7C8150 uses the S_GNT_L[0] pin to request the  
secondary bus. When the reconfigured S_REQ_L[0] pin is asserted LOW after PI7C8150  
has asserted S_GNT_L[0], PI7C8150 initiates a transaction on the secondary bus one cycle  
later. If grant is asserted and PI7C8150 has not asserted the request, PI7C8150 parks AD,  
CBE and PAR pins by driving them to valid logic levels.  
The unused secondary bus grant outputs, S_GNT_L[8:1] are driven HIGH. The unused  
secondary bus request inputs, S_REQ_L[8:1], should be pulled HIGH.  
8.2.4  
BUS PARKING  
Bus parking refers to driving the AD[31:0], CBE[3:0]#, and PAR lines to a known value  
while the bus is idle. In general, the device implementing the bus arbiter is responsible for  
parking the bus or assigning another device to park the bus. A device parks the bus when  
the bus is idle, its bus grant is asserted, and the device’s request is not asserted. The AD  
and CBE signals should be driven first, with the PAR signal driven one cycle later.  
PI7C8150 parks the primary bus only when P_GNT_L is asserted, P_REQ_L is de-  
asserted, and the primary PCI bus is idle. When P_GNT_L is de-asserted, PI7C8150 3-  
states the P_AD, P_CBE, and P_PAR signals on the next PCI clock cycle. If PI7C8150 is  
parking the primary PCI bus and wants to initiate a transaction on that bus, then PI7C8150  
can start the transaction on the next PCI clock cycle by asserting P_FRAME_L if  
P_GNT_L is still asserted.  
If the internal secondary bus arbiter is enabled, the secondary bus is always parked at the  
last master that used the PCI bus. That is, PI7C8150 keeps the secondary bus grant asserted  
to a particular master until a new secondary bus request comes along. After reset,  
PI7C8150 parks the secondary bus at itself until transactions start occurring on the  
secondary bus. Offset 48h, bit 1, can be set to 1 to park the secondary bus at PI7C8150. By  
default, offset 48h, bit 1, is set to 0. If the internal arbiter is disabled, PI7C8150 parks the  
secondary bus only when the reconfigured grant signal, S_REQ_L[0], is asserted and the  
secondary bus is idle.  
54  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
9
CLOCKS  
This chapter provides information about the clocks.  
9.1  
PRIMARY CLOCK INPUTS  
PI7C8150 implements a primary clock input for the PCI interface. The primary interface is  
synchronized to the primary clock input, P_CLK, and the secondary interface is  
synchronized to the secondary clock. The secondary clock is derived internally from the  
primary clock, P_CLK. PI7C8150 operates at a maximum frequency of 66 MHz.  
9.2  
SECONDARY CLOCK OUTPUTS  
PI7C8150 has 10 secondary clock outputs, S_CLKOUT[9:0] that can be used as clock  
inputs for up to nine external secondary bus devices. The S_CLKOUT[9:0] outputs are  
derived from P_CLK. The secondary clock edges are delayed from P_CLK edges by a  
minimum of 0ns. This is the rule for using secondary clocks:  
Each secondary clock output is limited to no more than one load.  
10  
GENERAL PURPOSE I/O INTERFACE  
The PI7C8150 implements a 4-pin general purpose I/O interface. During normal operation,  
device specific configuration registers control the GPIO interface. The GPIO interface can  
be used for the following functions:  
C
During secondary interface reset, the GPIO interface can be used to shift in a 16-bit  
serial stream that serves as a secondary bus clock disable mask.  
C
Along with the GPIO[3] pin, a live insertion bit can be used to bring the PI7C8150 to a  
halt through hardware, permitting live insertion of option cards behind the PI7C8150.  
10.1  
GPIO CONTROL REGISTERS  
During normal operation, the following device specific configuration registers control the  
GPIO interface:  
C
C
C
The GPIO output data register  
The GPIO output enable control register  
The GPIO input data register  
These registers consist of five 8-bit fields:  
55  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
C
C
C
C
C
Write-1-to-set output data field  
Write-1-to-clear output data field  
Write-1-to-set signal output enable control field  
Write-1-to-clear signal output enable control field  
Input data field  
The bottom four bits of the output enable fields control whether each GPIO signal is input  
only or bi-directional. Each signal is controlled independently by a bit in each output  
enable control field. If a 1 is written to the write-1-to-set field, the corresponding pin is  
activated as an output. If a 1 is written to the write-1-to-clear field, the output driver is tri-  
stated, and the pin is then input only. Writing zeroes to these registers has no effect. The  
reset for these signals is input only.  
The input data field is read only and reflects the current value of the GPIO pins. A type 0  
configuration read operation to this address is used to obtain the values of these pins. All  
pins can be read at any time, whether configured as input only or as bi-directional.  
The output data fields also use the write-1-to-set and write-1-to-clear mode. If a 1 is  
written to the write-1-to-set field and the pin is enabled as an output, the corresponding  
GPIO output is driven HIGH. If a 1 is written to the write-1-to-clear field and the pin is  
enabled as an output, the corresponding GPIO output is driven LOW. Writing zeros to  
these registers has no effect. The value written to the output register will be driven only  
when the GPIO signal is configured as bi-directional. A type 0 configuration write  
operation is used to program these fields. The rest value for the output is 0.  
10.2  
SECONDARY CLOCK CONTROL  
The PI7C8150 uses the GPIO pins and the MSK_IN signal to input a 16-bit serial data  
stream. This data stream is shifted into the secondary clock control register and is used for  
selectively disabling secondary clock outputs.  
The serial data stream is shifted in as soon as P_RST_L is detected deasserted and the  
secondary reset signal, S_RST_L, is detected asserted. The deassertion of S_RST_L is  
delayed until the PI7C8150 completes shifting in the clock mask data, which takes 23 clock  
cycles. After that, the GPIO pins can be used as general-purpose I/O pins.  
An external shift register should be used to load and shift the data. The GPIO pins are used  
for shift register control and serial data input. Table 11-1 shows the operation of the GPIO  
pins.  
Table 11-1. GPIO Operation  
GPIO Pin  
Operation  
GPIO[0]  
GPIO[1]  
GPIO[2]  
Shift register clock output at 33MHz max frequency  
Not used  
Shift register control  
0: Load  
1: Shift  
Not used  
GPIO[3]  
56  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
The data is input through the dedicated input signal, MSK_IN.  
The shift register circuitry is not necessary for correct operation of PI7C8150. The shift  
register can be eliminated, and MSK_IN can be tied LOW to enable all secondary clock  
outputs or tied HIGH to force all secondary clock outputs HIGH. Table 11-2 shows the  
format of the serial stream.  
Table 11-2. GPIO Serial Data Format  
Bit  
Description  
Slot 0 PRSNT#[1:0] or device 0  
Slot 1 PRSNT#[1:0] or device 1  
Slot 2 PRSNT#[1:0] or device 2  
Slot 3 PRSNT#[1:0] or device 3  
Device 4  
S_CLKOUT  
[1:0]  
[3:2]  
[5:4]  
[7:6]  
[8]  
0
1
2
3
4
[9]  
Device 5  
5
[10]  
[11]  
[12]  
[13]  
[14]  
[15]  
Device 6  
6
Device 7  
7
Device 8  
8
PI7C8150 S_CLKIN  
Reserved  
9
NA  
NA  
Reserved  
The first 8 bits contain the PRSNT#[1:0] signal values for four slots, and these bits control  
the S_CLKOUT[3:0] outputs. If one or both of the PRSNT#[1:0] signals are 0, that  
indicates that a card is present in the slot and therefore the secondary clock for that slot is  
not masked. If these clocks are connected to devices and not to slots, one or both of the bits  
should be tied low to enable the clock.  
The next 5 bits are the clock mask for devices; each bit enables or disables the clock for  
one device. These bits control the S_CLKOUT[8:4] outputs: 0 enables the clock, and 1  
disables the clock.  
Bit 13 is the clock enable bit for S_CLKOUT[9], which is connected to PI7C8150’s  
S_CLKIN input.  
If desired, the assignment of S_CLKOUT outputs to slots, devices, and PI7C8150’s  
S_CLKIN input can be rearranged from the assignment shown here. However, it is  
important that the serial data stream format match the assignment of S_CLKOUT.  
The 8 least significant bits are connected to the PRSNT# pins for the slots. The next 5 bits  
are tied high to disable their respective secondary clocks because those clocks are not  
connected to anything. The next bit is tied LOW because that secondary clock output is  
connected to the PI7C8150 S_CLKIN input. When the secondary reset signal, S_RST_L, is  
detected asserted and the primary reset signal, P_RST_L, is detected deasserted, PI7C8150  
drives GPIO[2] LOW for one cycle to load the clock mask inputs into the shift register. On  
the next cycle, PI7C8150 drives GPIO[2] HIGH to perform a shift operation. This shifts the  
clock mask into MSK_IN; the most significant bit is shifted in first, and the least  
significant bit is shifted in last.  
After the shift operation is complete, PI7C8150 tri-states the GPIO signals and can deassert  
S_RST_L if the secondary reset bit is clear. PI7C8150 then ignores MSK_IN. Control of  
the GPIO signal now reverts to PI7C8150 GPIO control registers. The clock disable mask  
can be modified subsequently through a configuration write command to the secondary  
clock control register in device-specific configuration space.  
57  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
10.3  
LIVE INSERTION  
The GPIO[3] pin can be used, along with a live insertion mode bit, to disable transaction  
forwarding.  
To enable live insertion mode, the live insertion mode bit in the chip control register must  
be set to 1, and the output enable control for GPIO[3] must be set to input only in the GPIO  
output enable control register. When live insertion mode is enabled, whenever GPIO[3] is  
driven to a value of 1, the I/O enable, the memory enable, and the master enable bits are  
internally masked to 0. This means that, as a target, PI7C8150 no longer accepts any I/O or  
memory transactions, on either interface. When read, the register bits still reflect the value  
originally written by a configuration write command; when GPIO[3] is deasserted, the  
internal enable bits return to their original value (as they appear when read from the  
command register). When this mode is enabled, as a master, PI7C8150 completes any  
posted write or delayed request transactions that have already been queued.  
Delayed completion transactions are not returned to the master in this mode because  
PI7C8150 is not responding to any I/O or memory transactions during this time. PI7C8150  
continues to accept configuration transactions in live insertion mode. Once live insertion  
mode brings PI7C8150 to a halt and queued transactions are completed, the secondary reset  
bit in the bridge control register can be used to assert S_RST_L, if desired, to reset and tri-  
state secondary bus devices, and to enable any live insertion hardware.  
11  
PCI POWER MANAGEMENT  
PI7C8150 incorporates functionality that meets the requirements of the PCI Power  
Management Specification, Revision 1.0. These features include:  
C
PCI Power Management registers using the Enhanced Capabilities Port (ECP) address  
mechanism  
C
Support for D0, D3 hot and D3 cold power management states  
C
Support for D0, D1, D2, D3 hot , and D3 cold power management states for devices  
behind the bridge  
C
Support of the B2 secondary bus power state when in the D3 hot power management  
state  
Table 12-1 shows the states and related actions that PI7C8150 performs during power  
management transitions. (No other transactions are permitted.)  
Table 12-1. Power management transitions  
Current Status  
Next State  
Action  
D0  
D3cold  
Power has been removed from PI7C8150. A power-up reset must be  
performed to bring PI7C8150 to D0.  
D0  
D3hot  
D2  
If enabled to do so by the BPCCE pin, PI7C8150 will disable the  
secondary clocks and drive them LOW.  
D0  
Unimplemented power state. PI7C8150 will ignore the write to the  
power state bits (power state remains at D0).  
Unimplemented power state. PI7C8150 will ignore the write to the  
power state bits (power state remains at D0).  
D0  
D1  
D3hot  
D0  
PI7C8150 enables secondary clock outputs and performs an internal  
58  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
chip reset. Signal S_RST_L will not be asserted. All registers will  
be returned to the reset values and buffers will be cleared.  
Power has been removed from PI7C8150. A power-up reset must be  
performed to bring PI7C8150 to D0.  
Power-up reset. PI7C8150 performs the standard power-up reset  
functions as described in Section 13.  
D3hot  
D3cold  
D0  
D3cold  
PME# signals are routed from downstream devices around PCI-to-PCI bridges. PME#  
signals do not pass through PCI-to-PCI bridges.  
12  
RESET  
This chapter describes the primary interface, secondary interface, and chip reset  
mechanisms.  
12.1  
PRIMARY INTERFACE RESET  
PI7C8150 has a reset input, P_RESET_L. When P_RESET_L is asserted, the following  
events occur:  
C
C
C
PI7C8150 immediately 3-states all primary and secondary PCI interface signals.  
PI7C8150 performs a chip reset.  
Registers that have default values are reset.  
P_RESET_L asserting and de-asserting edges can be asynchronous to P_CLK and  
S_CLKOUT. PI7C8150 is not accessible during P_RESET_L. After P_RESET_L is de-  
asserted, PI7C8150 remains inaccessible for 16 PCI clocks before the first configuration  
transaction can be accepted.  
12.2  
SECONDARY INTERFACE RESET  
PI7C8150 is responsible for driving the secondary bus reset signals, S_RESET_L.  
PI7C8150 asserts S_RESET_L when any of the following conditions are met:  
Signal P_RESET_L is asserted. Signal S_RESET_L remains asserted as long as  
P_RESET_L is asserted and does not de-assert until P_RESET_L is de-asserted.  
The secondary reset bit in the bridge control register is set. Signal S_RESET_L  
remains asserted until a configuration write operation clears the secondary reset bit.  
S_RESET_L pin is asserted. When S_RESET_L is asserted, PI7C8150 immediately 3-  
states all the secondary PCI interface signals associated with the secondary port. The  
S_RESET_L in asserting and de-asserting edges can be asynchronous to P_CLK.  
When S_RESET_L is asserted, all secondary PCI interface control signals, including the  
secondary grant outputs, are immediately 3-stated. Signals S1_AD, S1_CBE[3:0]#, S_PAR  
are driven low for the duration of S_RESET_L assertion. All posted write and delayed  
transaction data buffers are reset. Therefore, any transactions residing inside the buffers at  
the time of secondary reset are discarded.  
59  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
When S_RESET_L is asserted by means of the secondary reset bit, PI7C8150 remains  
accessible during secondary interface reset and continues to respond to accesses to its  
configuration space from the primary interface.  
12.3  
CHIP RESET  
The chip reset bit in the diagnostic control register can be used to reset the PI7C8150 and  
the secondary bus.  
When the chip reset bit is set, all registers and chip state are reset and all signals are  
tristated. S_RESET_L is asserted and the secondary reset bit is automatically set.  
S_RESET_L remains asserted until a configuration write operation clears the secondary  
reset bit and the serial clock mask has been shifted in. Within 20 PCI clock cycles after  
completion of the configuration write operation, PI7C8150’s reset bit automatically clears  
and PI7C8150 is ready for configuration.  
During reset, PI7C8150 is inaccessible.  
13  
SUPPORTED COMMANDS  
The PCI command set is given below for the primary and secondary interfaces.  
13.1  
PRIMARY INTERFACE  
P_CBE [3:0]  
Command  
Interrupt  
Action  
0000  
Ignore  
Acknowledge  
Special Cycle  
I/O Read  
0001  
0010  
Do not claim. Ignore.  
1. If address is within pass through I/O range, claim and pass  
through.  
2. Otherwise, do not pass through and do not claim for  
internal access.  
0011  
0100  
0101  
0110  
I/O Write  
Same as I/O Read.  
Reserved  
-----  
-----  
Reserved  
Memory Read  
1. If address is within pass through memory range, claim and  
pass through.  
2. If address is within pass through memory mapped I/O  
range, claim and pass through.  
3. Otherwise, do not pass through and do not claim for  
internal access.  
0111  
1000  
1001  
1010  
Memory Write  
Reserved  
Same as Memory Read.  
-----  
-----  
Reserved  
Configuration Read  
Type 0 Configuration Read:  
If the bridge’s IDSEL line is asserted, perform function  
decode and claim if target function is implemented.  
Otherwise, ignore. If claimed, permit access to target  
function’s configuration registers. Do not pass through  
under any circumstances.  
60  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Type 1 Configuration Read:  
1. If the target bus is the bridge’s secondary bus: claim and  
pass through as a Type 0 Configuration Read.  
2. If the target bus is a subordinate bus that exists behind the  
bridge (but not equal to the secondary bus): claim and pass  
through as a Type 1 Configuration Read.  
3. Otherwise, ignore.  
Type 0 Configuration Write: same as Configuration  
Read.  
1011  
Configuration Write  
Type 1 Configuration Write (not special cycle request):  
1. If the target bus is the bridge’s secondary bus: claim and  
pass through as a Type 0 Configuration Write  
2. If the target bus is a subordinate bus that exists behind the  
bridge (but not equal to the secondary bus): claim and pass  
through unchanged as a Type 1 Configuration Write.  
3. Otherwise, ignore.  
Configuration Write as Special Cycle Request  
(device = 1Fh, function = 7h)  
1. If the target bus is the bridges secondary bus:  
claim and pass through as a special cycle.  
2. If the target bus is a subordinate bus that exists  
behind the bridge (but not equal to the secondary  
bus): claim and pass through unchanged as a type  
1 Configuration Write.  
3. Otherwise ignore  
1100  
Memory Read  
Multiple  
Dual Address Cycle  
Memory Read Line  
Memory Write and  
Invalidate  
Same as Memory Read  
1101  
1110  
1111  
Supported  
Same as Memory Read  
Same as Memory Read  
13.2  
SECONDARY INTERFACE  
S_CBE[3:0]  
Command  
Interrupt  
Action  
0000  
Ignore  
Acknowledge  
Special Cycle  
I/O Read  
0001  
0010  
0011  
0100  
0101  
0110  
0111  
1000  
1001  
1010  
Do not claim. Ignore.  
Same as Primary Interface  
I/O Write  
Same as I/O Read.  
Reserved  
-----  
-----  
Reserved  
Memory Read  
Memory Write  
Reserved  
Same as Primary Interface  
Same as Memory Read.  
-----  
Reserved  
-----  
Configuration Read  
Ignore  
61  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
1011  
Configuration Write  
I. Type 0 Configuration Write: Ignore  
II. Type 1 Configuration Write (not special cycle  
request):Ignore  
III. Configuration Write as Special Cycle Request (device  
= 1Fh, function = 7h):  
1. If the target bus is the bridge’s primary bus: claim and  
pass through as a Special Cycle  
2. If the target bus is neither the primary bus nor is it in range  
of buses defined by the bridge’s secondary and subordinate  
bus registers: claim and pass through unchanged as a Type 1  
Configuration Write.  
3. If the target bus is not the bridge’s primary bus, but is in  
range of buses defined by the bridge’s secondary and  
subordinate bus registers: ignore.  
1100  
Memory Read  
Multiple  
Same as Memory Read  
1101  
1110  
1111  
Dual Address Cycle  
Memory Read Line  
Supported  
Same as Memory Read  
Memory Write and Same as Memory Read  
Invalidate  
14  
CONFIGURATION REGISTERS  
PCI configuration defines a 64-byte space (configuration header) to define various  
attributes of PI7C8150 as shown below.  
14.1  
CONFIGURATION REGISTER  
31-24  
23-16  
15-8  
7-0  
Address  
00h  
Device ID  
Vendor ID  
Command  
Primary Status  
04h  
Class Code  
Header Type  
Revision ID  
Cache Line Size  
08h  
Reserved  
Primary Latency Timer  
Reserved  
Reserved  
0Ch  
10h  
14h  
Secondary Latency  
Timer  
Subordinate Bus  
Number  
Secondary Bus  
Number  
I/O Limit  
Primary Bus Number  
I/O Base  
18h  
Secondary Status  
Memory Limit  
1Ch  
20h  
24h  
28h  
2Ch  
30h  
34h  
Memory Base  
Prefetchable Memory Limit  
Prefetchable Memory Base  
Prefetchable Base Upper 32-bit  
Prefetchable Limit Upper 32-bit  
I/O Limit Upper 16-bit  
Reserved  
I/O Base Upper 16-bit  
Capability Pointer to  
DCh  
Reserved  
Reserved  
38h  
3Ch  
40h  
44h  
48h  
4Ch  
Bridge Control  
Arbiter Control  
Reserved  
Interrupt Line  
Diagnostic / Chip Control  
Upstream Memory Control  
Extended Chip Control  
Hot Swap Switch Time Slot  
Secondary  
Bus Arbiter  
Preemption  
Control  
Upstream (S to P) Memory Limit  
Upstream (S to P) Memory Base  
50h  
54h  
Upstream (S to P) Memory Base Upper 32-bit  
62  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Upstream (S to P) Memory Limit Upper 32-bit  
58h  
5Ch  
60h  
64h  
Reserved  
Reserved  
GPIO Data and Control  
P_SERR# Event  
Disable  
Reserved  
P_SERR_L Status  
Secondary Clock Control  
68h  
6Ch  
Reserved  
Reserved  
70h  
Reserved  
Port Option  
74h  
Retry Counter  
Reserved  
78h  
7Ch  
Secondary Master Timeout Counter  
Primary Master Timeout Counter  
80h  
Reserved  
84h-AFh  
B0h  
Chassis Number Slot Number  
Next Pointer  
Next Item Pointer  
Power Management Data  
Next Pointer  
Capability ID  
Reserved  
B4h-D8h  
DCh  
Power Management Capabilities  
Reserved PPB Support Extensions  
Reserved  
Capability ID  
Capability ID  
E0h  
E4h  
Reserved  
E8h-FFh  
14.1.1  
14.1.2  
14.1.3  
VENDOR ID REGISTER – OFFSET 00h  
Bit  
15:0  
Function  
Vendor ID  
Type  
R/O  
Description  
Identifies Pericom as vendor of this device. Hardwired as 12D8h.  
DEVICE ID REGISTER – OFFSET 00h  
Bit  
31:16  
Function  
Device ID  
Type  
R/O  
Description  
Identifies this device as the PI7C8150. Hardwired as 8150h.  
COMMAND REGISTER – OFFSET 04h  
Bit  
Function  
Type  
Description  
Controls response to I/O access on the primary interface  
0: ignore I/O transactions on the primary interface  
0
I/O Space Enable R/W  
1: enable response to I/O transactions on the primary interface  
Reset to 0  
Controls response to memory accesses on the primary interface  
0: ignore memory transactions on the primary interface  
1: enable response to memory transactions on the primary interface  
Reset to 0  
Memory Space  
R/W  
1
Enable  
63  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Controls ability to operate as a bus master on the primary interface  
0: do not initiate memory or I/O transactions on the primary  
interface and disable response to memory and I/O transactions on  
the secondary interface  
Bus Master  
Enable  
2
R/W  
1: enables 7C8150 to operate as a master on the primary interfaces  
for memory and I/O transactions forwarded from the secondary  
interface  
Reset to 0  
Special Cycle  
Enable  
Memory Write  
And Invalidate  
Enable  
No special cycles defined.  
3
4
R/O  
R/O  
Bit is defined as read only and returns 0 when read  
Memory write and invalidate not supported.  
Bit is implemented as read only and returns 0 when read (unless  
forwarding a transaction for another master)  
Controls response to VGA compatible palette accesses  
0: ignore VGA palette accesses on the primary  
VGA Palette  
Snoop Enable  
5
6
R/W  
R/W  
1: enable positive decoding response to VGA palette writes on the  
primary interface with I/O address bits AD[9:0] equal to 3C6h,  
3C8h, and 3C9h (inclusive of ISA alias; AD[15:10] are not decoded  
and may be any value)  
Controls response to parity errors  
0: 7C8150 may ignore any parity errors that it detects and continue  
normal operation  
Parity Error  
Response  
1: 7C8150 must take its normal action when a parity error is  
detected  
Reset to 0  
Controls the ability to perform address / data stepping  
0: disable address/data stepping (affects primary and secondary)  
1: enable address/data stepping (affects primary and secondary)  
Wait Cycle  
Control  
7
8
R/O  
Reset to 0  
Controls the enable for the P_SERR_L pin  
0: disable the P_SERR_L driver  
1: enable the P_SERR_L driver  
P_SERR_L  
enable  
R/W  
Reset to 0  
Controls 7C8150’s ability to generate fast back-to-back transactions  
to different devices on the primary interface.  
Fast Back-to-  
Back Enable  
0: no fast back-to-back transactions  
9
R/W  
R/O  
1: enable fast back-to-back transactions  
Reset to 0  
Returns 000000 when read  
15:10  
Reserved  
14.1.4  
STATUS REGISTER – OFFSET 04h  
Bit  
19:16  
Function  
Reserved  
Type  
R/O  
Description  
Reset to 0  
64  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
20  
21  
Capabilities List  
66MHz Capable  
R/O  
R/O  
Set to 1 to enable support for the capability list (offset 34h is the  
pointer to the data structure)  
Reset to 1  
Set to 1 to enable 66MHz operation on the primary interface  
Reset to 1  
22  
23  
Reserved  
Fast Back-to-  
Back Capable  
R/O  
R/O  
Reset to 0  
Set to 1 to enable decoding of fast back-to-back transactions on the  
primary interface to different targets  
Reset to 1  
24  
Data Parity Error  
Detected  
R/WC  
R/O  
Set to 1 when P_PERR_L is asserted and bit 6 of command register  
is set  
Reset to 0  
DEVSEL_L timing (medium decoding)  
26:25  
DEVSEL_L  
timing  
00: fast DEVSEL_L decoding  
01: medium DEVSEL_L decoding  
10: slow DEVSEL_L decoding  
11: reserved  
Reset to 01  
27  
28  
Signaled Target  
Abort  
R/WC  
R/WC  
Set to 1 (by a target device) whenever a target abort cycle occurs  
Reset to 0  
Received Target  
Abort  
Set to 1 (by a master device) whenever transactions are terminated  
with target aborts  
Reset to 0  
29  
Received Master  
Abort  
R/WC  
Set to 1 (by a master) when transactions are terminated with Master  
Abort  
Reset to 0  
30  
31  
Signaled System  
Error  
R/WC  
R/WC  
Set to 1 when P_SERR_L is asserted  
Reset to 0  
Detected Parity  
Error  
Set to 1 when address or data parity error is detected on the primary  
interface  
Reset to 0  
14.1.5  
14.1.6  
REVISION ID REGISTER – OFFSET 08h  
Bit  
7:0  
Function  
Revision  
Type  
R/O  
Description  
Indicates revision number of device. Hardwired to 01h  
CLASS CODE REGISTER – OFFSET 08h  
Bit  
Function  
Type  
Description  
15:8  
Programming  
Interface  
R/O  
Read as 0 to indicate no programming interfaces have been defined  
for PCI-to-PCI bridges  
23:16  
31:24  
Sub-Class Code  
Base Class Code  
R/O  
R/O  
Read as 04h to indicate device is PCI-to-PCI bridge  
Read as 06h to indicate device is a bridge device  
14.1.7  
CACHE LINE SIZE REGISTER – OFFSET 0Ch  
65  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Bit  
7:0  
Function  
Cache Line Size  
Type  
R/W  
Description  
Designates the cache line size for the system and is used when  
terminating memory write and invalidate transactions and when  
prefetching memory read transactions.  
Only cache line sizes (in units of 4-byte) which are a power of two  
are valid (only one bit can be set in this register; only 00h, 01h, 02h,  
04h, 08h, and 10h are valid values).  
Reset to 0  
14.1.8  
PRIMARY LATENCY TIMER REGISTER – OFFSET 0Ch  
Bit  
15:8  
Function  
Primary Latency  
timer  
Type  
R/W  
Description  
This register sets the value for the Master Latency Timer, which  
starts counting when the master asserts FRAME_L.  
Reset to 0  
14.1.9  
HEADER TYPE REGISTER – OFFSET 0Ch  
Bit  
23:16  
Function  
Header Type  
Type  
R/O  
Description  
Read as 01h to indicate that the register layout conforms to the  
standard PCI-to-PCI bridge layout.  
14.1.10  
PRIMARY BUS NUMBER REGISTSER – OFFSET 18h  
Bit  
7:0  
Function  
Primary Bus  
Number  
Type  
R/W  
Description  
Indicates the number of the PCI bus to which the primary interface  
is connected. The value is set in software during configuration.  
Reset to 0  
14.1.11  
14.1.12  
14.1.13  
SECONDARY BUS NUMBER REGISTER – OFFSET 18h  
Bit  
15:8  
Function  
Secondary Bus  
Number  
Type  
R/W  
Description  
Indicates the number of the PCI bus to which the secondary  
interface is connected. The value is set in software during  
configuration.  
Reset to 0  
SUBORDINATE BUS NUMBER REGISTER – OFFSET 18h  
Bit  
23:16  
Function  
Subordinate Bus  
Number  
Type  
R/W  
Description  
Indicates the number of the PCI bus with the highest number that is  
subordinate to the bridge. The value is set in software during  
configuration.  
Reset to 0  
SECONDARY LATENCY TIMER REGISTER – OFFSET 18h  
66  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Bit  
31:24  
Function  
Secondary  
Latency Timer  
Type  
R/W  
Description  
Designated in units of PCI bus clocks. Latency timer checks for  
master accesses on the secondary bus interfaces that remain  
unclaimed by any target.  
Reset to 0  
14.1.14  
14.1.15  
14.1.16  
I/O BASE REGISTER – OFFSET 1Ch  
Bit  
3:0  
7:4  
Function  
Type  
Description  
32-bit Indicator  
R/O  
Read as 01h to indicate 32-bit I/O addressing  
I/O Base Address R/W  
[15:12]  
Defines the bottom address of the I/O address range for the bridge  
to determine when to forward I/O transactions from one interface to  
the other. The upper 4 bits correspond to address bits [15:12] and  
are writable. The lower 12 bits corresponding to address bits [11:0]  
are assumed to be 0. The upper 16 bits corresponding to address  
bits [31:16] are defined in the I/O base address upper 16 bits address  
register  
Reset to 0  
I/O LIMIT REGISTER – OFFSET 1Ch  
Bit  
11:8  
15:12  
Function  
Type  
Description  
32-bit Indicator  
R/O  
Read as 01h to indicate 32-bit I/O addressing  
I/O Base Address R/W  
[15:12]  
Defines the top address of the I/O address range for the bridge to  
determine when to forward I/O transactions from one interface to  
the other. The upper 4 bits correspond to address bits [15:12] and  
are writable. The lower 12 bits corresponding to address bits [11:0]  
are assumed to be FFFh. The upper 16 bits corresponding to  
address bits [31:16] are defined in the I/O base address upper 16 bits  
address register  
Reset to 0  
SECONDARY STATUS REGISTER – OFFSET 1Ch  
Bit  
20:16  
21  
Function  
Type  
R/O  
R/O  
Description  
Reserved  
Reset to 0  
66MHz Capable  
Set to 1 to enable 66MHz operation on the secondary interface  
Reset to 1  
22  
23  
Reserved  
R/O  
R/O  
Reset to 0  
Set to 1 to enable decoding of fast back-to-back transactions on the  
secondary interface to different targets  
Fast Back-to-  
Back Capable  
Reset to 0  
Set to 1 when S_PERR_L is asserted and bit 6 of command register  
is set  
Data Parity Error  
Detected  
24  
R/WC  
Reset to 0  
67  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
DEVSEL# timing (medium decoding)  
00: fast DEVSEL_L decoding  
01: medium DEVSEL_L decoding  
10: slow DEVSEL_L decoding  
11: reserved  
DEVSEL_L  
timing  
26:25  
R/O  
Reset to 01  
Set to 1 (by a target device) whenever a target abort cycle occurs on  
its secondary interface  
Signaled Target  
Abort  
27  
28  
R/WC  
R/WC  
Reset to 0  
Set to 1 (by a master device) whenever transactions on its secondary  
interface are terminated with target abort  
Received Target  
Abort  
Reset to 0  
Set to 1 (by a master) when transactions on its secondary interface  
are terminated with Master Abort  
Received Master  
Abort  
29  
30  
31  
R/WC  
R/WC  
R/WC  
Reset to 0  
Set to 1 when S_SERR_L is asserted  
Received System  
Error  
Reset to 0  
Set to 1 when address or data parity error is detected on the  
secondary interface  
Detected Parity  
Error  
Reset to 0  
14.1.17  
MEMORY BASE REGISTER – OFFSET 20h  
Bit  
3:0  
Function  
Type  
R/O  
Description  
Lower four bits of register are read only and return 0.  
Reset to 0  
15:4  
Memory Base  
Address [15:4]  
R/W  
Defines the bottom address of an address range for the bridge to  
determine when to forward memory transactions from one interface  
to the other. The upper 12 bits correspond to address bits [31:20]  
and are writable. The lower 20 bits corresponding to address bits  
[19:0] are assumed to be 0.  
Reset to 0  
14.1.18  
14.1.19  
MEMORY LIMIT REGISTER – OFFSET 20h  
Bit  
19:16  
Function  
Type  
R/O  
Description  
Lower four bits of register are read only and return 0.  
Reset to 0  
31:20  
Memory Limit  
Address [31:20]  
R/W  
Defines the top address of an address range for the bridge to  
determine when to forward memory transactions from one interface  
to the other. The upper 12 bits correspond to address bits [31:20]  
and are writable. The lower 20 bits corresponding to address bits  
[19:0] are assumed to be FFFFFh.  
PEFETCHABLE MEMORY BASE REGISTER – OFFSET 24h  
Bit  
Function  
Type  
Description  
68  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
3:0  
64-bit addressing R/O  
Indicates 64-bit addressing  
0000: 32-bit addressing  
0001: 64-bit addressing  
Reset to 1  
Defines the bottom address of an address range for the bridge to  
determine when to forward memory read and write transactions from  
one interface to the other. The upper 12 bits correspond to address  
bits [31:20] and are writable. The lower 20 bits are assumed to be 0.  
15:4  
Prefetchable  
R/W  
Memory Base  
Address [31:20]  
14.1.20  
PREFETCHABLE MEMORY LIMIT REGISTER – OFFSET 24h  
Bit  
19:16  
Function  
Type  
Description  
Indicates 64-bit addressing  
64-bit addressing R/O  
0000: 32-bit addressing  
0001: 64-bit addressing  
Reset to 1  
31:20  
Prefetchable  
R/W  
Defines the top address of an address range for the bridge to  
determine when to forward memory read and write transactions from  
one interface to the other. The upper 12 bits correspond to address  
bits [31:20] and are writable. The lower 20 bits are assumed to be  
FFFFFh.  
Memory Limit  
Address [31:20]  
14.1.21  
14.1.22  
14.1.23  
PREFETCHABLE MEMORY BASE ADDRESS UPPER 32-BITS  
REGISTER – OFFSET 28h  
Bit  
31:0  
Function  
Type  
R/W  
Description  
Prefetchable  
Memory Base  
Address, Upper  
32-bits [63:32]  
Defines the upper 32-bits of a 64-bit bottom address of an address  
range for the bridge to determine when to forward memory read and  
write transactions from one interface to the other.  
Reset to 0  
PREFETCHABLE MEMORY LIMIT ADDRESS UPPER 32-BITS  
REGISTER – OFFSET 2Ch  
Bit  
31:0  
Function  
Type  
R/W  
Description  
Prefetchable  
Memory Limit  
Address, Upper  
32-bits [63:32]  
Defines the upper 32-bits of a 64-bit top address of an address range  
for the bridge to determine when to forward memory read and write  
transactions from one interface to the other.  
Reset to 0  
I/O BASE ADDRESS UPPER 16-BITS REGISTER – OFFSET 30h  
Bit  
Function  
Type  
Description  
69  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
15:0  
I/O Base  
R/W  
Defines the upper 16-bits of a 32-bit bottom address of an address  
range for the bridge to determine when to forward I/O transactions  
from one interface to the other.  
Address, Upper  
16-bits [31:16]  
Reset to 0  
14.1.24  
I/O LIMIT ADDRESS UPPER 16-BITS REGISTER – OFFSET 30h  
Bit  
31:0  
Function  
Type  
R/W  
Description  
I/O Limit  
Defines the upper 16-bits of a 32-bit top address of an address range  
for the bridge to determine when to forward I/O transactions from  
one interface to the other.  
Address, Upper  
16-bits [31:16]  
Reset to 0  
14.1.25  
14.1.26  
ECP POINTER REGISTER – OFFSET 34h  
Bit  
7:0  
Function  
Type  
R/W  
Description  
Enhanced  
Enhanced capabilities port offset pointer. Read as DCh to indicate  
that the first item resides at that configuration offset.  
Capabilities Port  
Pointer  
INTERRUPT LINE REGISTER – OFFSET 3Ch  
Bit  
7:0  
Function  
Interrupt Line  
Type  
R/W  
Description  
For POST to program to FFh, indicating that the PI7C8150 does not  
implement an interrupt pin.  
14.1.27  
14.1.28  
INTERRUPT PIN REGISTER – OFFSET 3Ch  
Bit  
15:8  
Function  
Interrupt Pin  
Type  
R/O  
Description  
Interrupt pin not supported on the PI7C8150  
BRIDGE CONTROL REGISTER – OFFSET 3Ch  
Bit  
16  
Function  
Parity Error  
Response  
Type  
R/W  
Description  
Controls the bridge’s response to parity errors on the secondary  
interface.  
0: ignore address and data parity errors on the secondary interface  
1: enable parity error reporting and detection on the secondary  
interface  
Reset to 0  
17  
S_SERR_L  
enable  
R/W  
Controls the forwarding of S_SERR_L to the primary interface.  
0: disable the forwarding of S_SERR_L to primary interface  
1: enable the forwarding of S_SERR_L to primary interface  
Reset to 0  
70  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
18  
ISA enable  
R/W  
Modifies the bridge’s response to ISA I/O addresses, applying only  
to those addresses falling within the I/O base and limit address  
registers and within the first 64KB or PCI I/O space.  
0: forward all I/O addresses in the range defined by the I/O base and  
I/O limit registers  
1: blocks forwarding of ISA I/O addresses in the range defined by the  
I/O base and I/O limit registers that are in the first 64KB of I/O space  
that address the last 768 bytes in each 1KB block. Secondary I/O  
transactions are forwarded upstream if the address falls within the  
last 768 bytes in each 1KB block  
Reset to 0  
19  
VGA enable  
R/W  
Controls the bridge’s response to VGA compatible addresses.  
0: does not forward VGA compatible memory and I/O  
addresses from primary to secondary  
1: forward VGA compatible memory and I/O addresses from  
primary to secondary regardless of other settings  
Reset to 0  
20  
21  
Reserved  
Master Abort  
Mode  
R/O  
R/W  
Reserved. Returns 0 when read. Reset to 0  
Control’s bridge’s behavior responding to master aborts on  
secondary interface.  
0: does not report master aborts (returns FFFF_FFFFh on reads and  
discards data on writes)  
1: reports master aborts by signaling target abort if possible by the  
assertion of P_SERR_L if enabled  
Reset to 0  
22  
23  
Secondary  
R/W  
R/W  
Controls the assertion of S_RESET_L signal pin on the secondary  
interface  
Interface Reset  
0: does not force the assertion of S_RESET_L pin  
1: forces the assertion of S_RESET_L  
Reset to 0  
Fast Back-to-  
Back Enable  
Controls bridge’s ability to generate fast back-to-back transactions to  
different devices on the secondary interface.  
0: does not allow fast back-to-back transactions  
1: enables fast back-to-back transactions  
Reset to 0  
24  
25  
26  
Reserved  
Reserved  
Master Timeout  
Status  
R/W  
R/W  
Reserved. Reset to 0  
Reserved. Reset to 0  
R/WC This bit is set to 1 when either the primary master timeout counter or  
secondary master timeout counter expires.  
Reset to 0  
27  
Discard Timer  
P_SERR_L  
enable  
R/W  
R/O  
This bit is set to 1 and P_SERR_L is asserted when either the  
primary discard timer or the secondary discard timer expire.  
Reset to 0  
31-28  
Reserved  
Reserved. Returns 0 when read. Reset to 0.  
14.1.29  
DIAGNOSTIC / CHIP CONTROL REGISTER – OFFSET 40h  
71  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Bit  
0
1
Function  
Reserved  
Memory Write  
Disconnect  
Control  
Type  
R/O  
R/W  
Description  
Reserved. Returns 0 when read. Reset to 0  
Controls when the bridge (as a target) disconnects memory write  
transactions.  
0: memory write disconnects at 4KB aligned address boundary  
1: memory write disconnects at cache line aligned address boundary  
Reset to 0  
3:2  
4
Reserved  
R/O  
R/W  
Reserved. Returns 0 when read. Reset to 0.  
Controls whether the bridge supports memory read flow-through  
Memory Read  
Flow-Through  
Control  
0: Enable  
1: Disable  
Reset to 0  
5
Live Insertion  
Mode  
R/W  
Enables hardware control of transaction forwarding.  
0: GPIO[3] has no effect on the I/O, memory, and master enable bits  
1: If GPIO[3] is set to input mode, this bit enables GPIO[3] to mask  
I/O enable, memory enable and master enable bits to 0. PI7C8150  
will stop accepting I/O and memory transactions as a result.  
Reset to 0  
7:6  
8
Reserved  
Chip Reset  
R/O  
Reserved. Returns 0 when read. Reset to 0  
R/WR Controls the chip and secondary bus reset.  
0: PI7C8150 is ready for operation  
1: Causes PI7C8150 to perform a chip reset  
Controls the testability of the bridge’s internal counters.  
The bits are used for chip test only.  
10:9  
Test Mode For  
All Counters at P  
and S1  
R/O  
00: all bits are exercised  
01: byte 1 is exercised  
10: byte 2 is exercised  
11: byte 3 is exercised  
Reset to 0  
15:11  
Reserved  
R/O  
Reserved. Returns 0 when read. Reset to 0.  
14.1.30  
ARBITER CONTROL REGISTER – OFFSET 40h  
Bit  
24:16  
Function  
Arbiter Control  
Type  
R/W  
Description  
Each bit controls whether a secondary bus master is assigned to the  
high priority group or the low priority group.  
Bits [24:16] correspond to request inputs S_REQ[8:0]  
0: low priority  
1: high priority  
Reset to 0  
72  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
25  
Priority of  
Secondary  
Interface  
R/W  
R/O  
Controls whether the secondary interface of the bridge is in the high  
priority group or the low priority group.  
0: low priority  
1: high priority  
Reset to 1  
31:26  
Reserved  
Reserved. Returns 0 when read. Reset to 0.  
14.1.31  
EXTENDED CHIP CONTROL REGISTER – OFFSET 48h  
Bit  
Function  
Type  
Description  
Controls ability to do memory read flow through  
Memory Read  
Flow Through  
Disable  
0: Enable flow through during a memory read transaction  
1: Disables flow through during a memory read transaction  
0
R/W  
Reset to 0  
Controls bus arbiter’s park function  
0: Park to last master  
1
Park  
R/W  
R/O  
1: Park to secondary bus  
Reset to 0  
15:2  
Reserved  
Reserved. Returns 0 when read. Reset to 0  
14.1.32  
14.1.33  
UPSTREAM MEMORY CONTROL REGISTER – OFFSET 48h  
Bit  
Function  
Type  
R/W  
R/O  
Description  
0: Upstream memory is the entire range except the down stream  
memory channel  
Upstream (S to  
P) Memory Base  
and Limit Enable  
16  
1: Upstream memory is confined to upstream Memory Base and  
Limit (See offset 50th and 54th for upstream memory range)  
Reset to 0  
31:17  
Reserved  
Reserved. Returns 0 when read. Reset to 0  
SECONDARY BUS ARBITER PREEMPTION CONTROL  
REGISTER – OFFSET 4Ch  
Bit  
Function  
Type  
Description  
73  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Controls the number of clock cycles after frame is asserted before  
preemption is enabled.  
1xxx: Preemption off  
0000: Preemption enabled after 0 clock cycles after FRAME asserted  
0001: Preemption enabled after 1 clock cycle after FRAME asserted  
0010: Preemption enabled after 2 clock cycles after FRAME asserted  
0011: Preemption enabled after 4 clock cycles after FRAME asserted  
0100: Preemption enabled after 8 clock cycles after FRAME asserted  
Secondary bus  
arbiter  
31:28  
R/W  
preemption  
contorl  
0101: Preemption enabled after 16 clock cycles after FRAME  
asserted  
0110: Preemption enabled after 32 clock cycles after FRAME  
asserted  
0111: Preemption enabled after 64 clock cycles after FRAME  
asserted  
14.1.34  
14.1.35  
14.1.36  
UPSTREAM (S TO P) MEMORY BASE REGISTER – OFFSET 50h  
Bit  
Function  
Type  
Description  
0: 32 bit addressing  
3:0  
64 bit addressing  
R/O  
1: 64 bit addressing  
Reset to 1  
Upstream  
Memory Base  
Address  
Controls upstream memory base address.  
15:4  
R/W  
Reset to 00000000h  
UPSTREAM (S TO P) MEMORY LIMIT REGISTER – OFFSET 50h  
Bit  
Function  
Type  
Description  
0: 32 bit addressing  
19:16  
64 bit addressing  
R/O  
1: 64 bit addressing  
Reset to 1  
Upstream  
Controls upstream memory limit address.  
31:20  
Memory Limit  
Address  
R/W  
Reset to 000FFFFFh  
UPSTREAM (S TO P) MEMORY BASE UPPER 32-BITS REGISTER  
– OFFSET 54h  
Bit  
Function  
Upstream  
Memory Base  
Address  
Type  
Description  
Defines bits [63:32] of the upstream memory base  
31:0  
R/W  
Reset to 0  
74  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
14.1.37  
14.1.38  
UPSTREAM (S TO P) MEMORY LIMIT UPPER 32-BITS  
REGISTER – OFFSET 58h  
Bit  
Function  
Upstream  
Memory Limit  
Address  
Type  
Description  
Defines bits [63:32] of the upstream memory limit  
31:0  
R/W  
Reset to 0  
P_SERR_L EVENT DISABLE REGISTER – OFFSET 64h  
Bit  
0
Function  
Reserved  
Type  
R/O  
Description  
Reserved. Returns 0 when read. Reset to 0  
Controls PI7C8150’s ability to assert P_SERR_L when it is unable to  
transfer any read data from the target after 224 attempts.  
0: P_SERR_L is asserted if this event occurs and the SERR_L enable  
bit in the command register is set.  
Posted Write  
Parity Error  
1
2
3
4
5
R/W  
R/W  
R/W  
R/W  
R/W  
1: P_SERR_L is not assert if this event occurs.  
Reset to 0  
Controls PI7C8150’s ability to assert P_SERR_L when it is unable to  
transfer delayed write data after 224 attempts.  
0: P_SERR_L is asserted if this event occurs and the SERR_L enable  
bit in the command register is set  
Posted Write  
Non-Delivery  
1: P_SERR_L is not asserted if this event occurs  
Reset to 0  
Controls PI7C8150’s ability to assert P_SERR_L when it receives a  
target abort when attempting to deliver posted write data.  
Target Abort  
During Posted  
Write  
0: P_SERR_L is asserted if this event occurs and the SERR_L enable  
bit in the command register is set  
1: P_SERR_L is not asserted if this event occurs  
Reset to 0  
Controls PI7C8150’s ability to assert P_SERR_L when it receives a  
master abort when attempting to deliver posted write data.  
0: P_SERR# is asserted if this event occurs and the SERR# enable bit  
in the command register is set  
Master Abort On  
Posted Write  
1: P_SERR# is not asserted if this event occurs  
Reset to 0  
Controls PI7C8150’s ability to assert P_SERR# when it is unable to  
transfer delayed write data after 224 attempts.  
0: P_SERR_L is asserted if this event occurs and the SERR_L enable  
bit in the command register is set  
Delayed Write  
Non-Delivery  
1: P_SERR_L is not asserted if this event occurs  
Reset to 0  
75  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Controls PI7C8150’s ability to assert P_SERR_L when it is unable to  
transfer any read data from the target after 224 attempts.  
Delayed Read –  
No Data From  
Target  
0: P_SERR_L is asserted if this event occurs and the SERR_L enable  
bit in the command register is set  
6
7
R/W  
R/O  
1: P_SERR_L is not asserted if this event occurs  
Reset to 0  
Reserved  
Reserved. Returns 0 when read. Reset to 0  
14.1.39  
GPIO DATA AND CONTROL REGISTER – OFFSET 64h  
Bit  
Function  
Type  
Description  
Writing 1 to any of these bits drives the corresponding bit LOW on  
the GPIO[3:0] bus if it is programmed as bidirectional. Data is  
driven on the PCI clock cycle following completion of the  
configuration write to this register. Bit positions corresponding to  
GPIO pins that are programmed as input only are not driven. Writing  
0 has no effect and will show last the last value written when read.  
GPIO Output  
11:8  
R/WC  
Write-1-to-Clear  
Reset to 0.  
Writing 1 to any of these bits drives the corresponding bit HIGH on  
the GPIO[3:0] bus if it is programmed as bidirectional. Data is  
driven on the PCI clock cycle following completion of the  
configuration write to this register. Bit positions corresponding to  
GPIO pins that are programmed as input only are not driven. Writing  
0 has no effect and will show last the last value written when read.  
GPIO Output  
Write-1-to-Set  
15:12  
R/WS  
Reset to 0.  
Writing 1 to and of these bits configures the corresponding  
GPIO[3:0] pin as an input only. The output driver is tristated.  
Writing 0 to this register has no effect and will reflect the last value  
written when read.  
GPIO Output  
Enable Write-1-  
to-Clear  
19:16  
23:20  
R/WC  
R/WS  
Reset to 0.  
Writing 1 to and of these bits configures the corresponding  
GPIO[3:0] pin as bidirectional. The output driver is enabled and  
drives the value set in the output data register (65h). Writing 0 to this  
register has no effect and will reflect the last value written when read.  
GPIO Output  
Enable Write-1-  
to-Set  
Reset to 0.  
14.1.40  
SECONDARY CLOCK CONTROL REGISTER – OFFSET 68h  
Bit  
Function  
Type  
Description  
If either bit is 0, then S_CLKOUT [0] is enabled.  
If both bits are 1, then S_CLKOUT [0] is disabled.  
If either bit is 0, then S_CLKOUT [1] is enabled.  
If both bits are 1, then S_CLKOUT [1] is disabled.  
If either bit is 0, then S_CLKOUT [2] is enabled.  
If both bits are 1, then S_CLKOUT [2] is disabled.  
If either bit is 0, then S_CLKOUT [3] is enabled.  
If both bits are 1, then S_CLKOUT [3] is disabled.  
If bit is 0, then S_CLKOUT [4] is enabled.  
1:0  
Clock 0 disable  
R/W  
3:2  
5:4  
7:6  
8
Clock 1 disable  
Clock 2 disable  
Clock 3 disable  
Clock 4 disable  
Clock 5 disable  
Clock 6 disable  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
If bit is 1, then S_CLKOUT [4] is disabled and driven low.  
If bit is 0, then S_CLKOUT [5] is enabled.  
9
If bit is 1, then S_CLKOUT [5] is disabled and driven low.  
If bit is 0, then S_CLKOUT [6] is enabled.  
10  
If bit is 1, then S_CLKOUT [6] is disabled and driven low.  
76  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
If bit is 0, then S_CLKOUT [7] is enabled.  
11  
12  
Clock 7 disable  
Clock 8 disable  
R/W  
R/W  
If bit is 1, then S_CLKOUT [7] is disabled and driven low.  
If bit is 0, then S_CLKOUT [8] is enabled.  
If bit is 1, then S_CLKOUT [8] is disabled and driven low.  
If bit is 0, then S_CLKOUT [9] is enabled.  
13  
Clock 9 disable  
Reserved  
R/W  
RO  
If bit is 1, then S_CLKOUT [9] is disabled and driven low.  
Reserved. Returns 00 when read.  
15:14  
14.1.41  
P_SERR_L STATUS REGISTER – OFFSET 68h  
Bit  
Function  
Type  
Description  
1: Signal P_SERR_L was asserted because an address parity error  
was detected on P or S bus.  
Address Parity  
Error  
16  
R/WC  
Reset to 0  
1: Signal P_SERR_L was asserted because a posted write data parity  
error was detected on the target bus.  
Posted Write  
17  
18  
19  
20  
21  
22  
23  
R/WC  
R/WC  
R/WC  
R/WC  
R/WC  
R/WC  
R/WC  
Data Parity Error  
Reset to 0  
1: Signal P_SERR_L was asserted because the bridge was unable to  
Posted Write  
Non-delivery  
deliver post memory write data to the target after 224 attempts.  
Reset to 0  
1: Signal P_SERR_L was asserted because the bridge received a  
target abort when delivering post memory write data.  
Target Abort  
during Posted  
Write  
Reset to 0.  
1: Signal P_SERR_L was asserted because the bridge received a  
master abort when attempting to deliver post memory write data  
Master Abort  
during Posted  
Write  
Reset to 0.  
1: Signal P_SERR_L was asserted because the bridge was unable to  
Delayed Write  
Non-delivery  
deliver delayed write data after 224 attempts.  
Reset to 0  
1: Signal P_SERR_L was asserted because the bridge was unable to  
Delayed Read –  
No Data from  
Target  
read any data from the target after 224 attempts.  
Reset to 0.  
1: Signal P_SERR_L was asserted because a master did not repeat a  
read or write transaction before master timeout.  
Delayed  
Transaction  
Master Timeout  
Reset to 0.  
14.1.42  
PORT OPTION REGISTER – OFFSET 74h  
Bit  
0
Function  
Reserved  
Type  
R/O  
Description  
Reserved. Returns 0 when read. Reset to 0.  
Controls PI7C8150’s detection mechanism for matching memory  
read retry cycles from the initiator on the primary interface  
0: exact matching for non-posted memory write retry cycles from  
initiator on the primary interface  
Primary MEMR  
Command Alias  
Enable  
1
R/W  
1: alias MEMRL or MEMRM to MEMR for memory read retry  
cycles from the initiator on the primary interface  
Reset to 0  
77  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Controls PI7C8150’s detection mechanism for matching non-posted  
memory write retry cycles from the initiator on the primary interface  
0: exact matching for non-posted memory write retry cycles from  
initiator on the primary interface  
Primary MEMW  
Command Alias  
Enable  
2
3
4
R/W  
R/W  
R/W  
1: alias MEMWI to MEMW for non-posted memory write retry  
cycles from initiator on the primary interface  
Reset to 0  
Controls PI7C8150’s detection mechanism for matching memory  
read retry cycles from the initiator on the secondary  
Secondary  
MEMR  
0: exact matching for memory read retry cycles from initiator on the  
secondary interface  
Command Alias  
Enable  
1: alias MEMRL or MEMRM to MEMR for memory read retry  
cycles from initiator on the secondary interface  
Reset to 0  
Controls PI7C8150’s detection mechanism for matching non-posted  
memory write retry cycles from the initiator on the primary interface  
Secondary  
MEMW  
0: exact matching for non-posted memory write retry cycles from  
initiator on the secondary interface  
Command Alias  
Enable  
1: alias MEMWI to MEMW for non-posted memory write retry  
cycles from initiator on the secondary interface  
Reset to 0  
8:5  
9
Reserved  
R/O  
Reserved. Returns 0 when read. Reset to 0.  
Controls PI7C8150’s ability to enable long requests for lock cycles  
0: normal lock operation  
Enable Long  
Request  
R/W  
1: enable long request for lock cycle  
Reset to 0  
Control’s PI7C8150’s ability to enable the secondary bus to hold  
requests longer.  
Enable  
0: internal secondary master will release REQ_L after FRAME_L  
assertion  
Secondary To  
Hold Request  
Longer  
10  
R/W  
1: internal secondary master will hold REQ_L until there is no  
transactions pending in FIFO or until terminated by target  
Reset to 1  
Control’s PI7C8150’s ability to hold requests longer at the Primary  
Port.  
0: internal Primary master will release REQ_L after FRAME_L  
assertion  
Enable Primary  
To Hold Request  
Longer  
11  
R/W  
R/O  
1: internal Primary master will hold REQ_L until there is no  
transactions pending in FIFO or until terminated by target  
Reset to 1  
15:12  
Reserved  
Reserved. Returns 0 when read. Reset to 0.  
14.1.43  
RETRY COUNTER REGISTER – OFFSET 78h  
Bit  
Function  
Type  
Description  
78  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Holds the maximum number of attempts that PI7C8150 will try  
before reporting retry timeout. Retry count set at 224 PCI clocks.  
Default is 0100 0000h.  
31:0  
Retry Counter  
R/W  
14.1.44  
14.1.45  
14.1.46  
PRIMARY MASTER TIMEOUT COUNTER – OFFSET 80h  
Bit  
Function  
Type  
Description  
Primary timeout occurs after 215 PCI clocks.  
15:0  
Primary Timeout  
R/W  
Reset to 8000h.  
SECONDARY MASTER TIMEOUT COUNTER – OFFSET 80h  
Bit  
Function  
Type  
Description  
Secondary timeout occurs after 215 PCI clocks.  
Secondary  
Timeout  
31:16  
R/W  
Reset to 8000h.  
CAPABILITY ID REGISTER – OFFSET B0h  
Bit  
Function  
Type  
Description  
Capability ID for slot identification  
00h: Reserved  
01h: PCI Power Management (PCIPM)  
02h: Accelerated Graphics Port (AGP)  
03h: Vital Product Data (VPD)  
04h: Slot Identification (SI)  
05h: Message Signaled Interrupts (MSI)  
06h: Compact PCI Hot Swap (CHS)  
07h – 255h: Reserved  
7:0  
Capability ID  
R/O  
Reset to 04h  
14.1.47  
14.1.48  
NEXT POINTER REGISTER – OFFSET B0h  
Bit  
Function  
Type  
Description  
Reset to 1100 0000: next pointer (C0h if HS_EN is 1)  
15:8  
Next Pointer  
R/O  
0000 0000: next pointer (00h if HS_EN is 0)  
SLOT NUMBER REGISTER – OFFSET B0h  
Bit  
Function  
Type  
Description  
79  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Determines expansion slot number  
Expansion Slot  
Number  
20:16  
R/W  
Reset to 0  
First in chassis  
21  
First in Chassis  
Reserved  
R/W  
R/O  
Reset to 0  
23:22  
Reserved. Returns 0 when read. Reset to 0.  
14.1.49  
CHASSIS NUMBER REGISTER – OFFSET B0h  
Bit  
Function  
Type  
Description  
Chassis number register.  
Chassis Number  
Register  
31:24  
R/W  
Reset to 0  
14.1.50  
14.1.51  
14.1.52  
CAPABILITY ID REGISTER – OFFSET DCh  
Bit  
Function  
Type  
Description  
Enhanced  
Read as 01h to indicate that these are power management enhanced  
capability registers.  
7:0  
R/O  
Capabilities ID  
NEXT ITEM POINTER REGISTER – OFFSET DCh  
Bit  
Function  
Next Item  
Pointer  
Type  
Description  
Points to slot number register (0Bh).  
15:8  
R/O  
POWER MANAGEMENT CAPABILITIES REGISTER – OFFSET  
DCh  
Bit  
Function  
Power  
Type  
Description  
Read as 001 to indicate the device is compliant to Revision 1.0 of  
PCI Power Management Interface Specifications.  
18:16  
Management  
Revision  
R/O  
19  
20  
PME# Clock  
R/O  
R/O  
Read as 0 to indicate PI7C8150 does not support the PME# pin.  
Read as 0 to indicate PI7C8150 does not support the PME# pin or an  
auxiliary power source.  
Auxiliary Power  
Device Specific  
Initialization  
Reserved  
Read as 0 to indicate PI7C8150 does not have device specific  
initialization requirements.  
21  
R/O  
R/O  
R/O  
24:22  
25  
Read as 0  
D1 Power State  
Support  
Read as 0 to indicate PI7C8150 does not support the D1 power  
management state.  
D2 Power State  
Support  
Read as 0 to indicate PI7C8150 does not support the D2 power  
management state.  
26  
R/O  
R/O  
31:27  
PME# Support  
Read as 0 to indicate PI7C8150 does not support the PME# pin.  
14.1.53  
POWER MANAGEMENT DATA REGISTER – OFFSET E0h  
Bit  
Function  
Type  
Description  
80  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Indicates the current power state of PI7C8150. If an unimplemented  
power state is written to this register, PI7C8150 completes the write  
transaction, ignores the write data, and does not change the value of  
the field. Writing a value of D0 when the previous state was D3  
cause a chip reset without asserting S_RESET_L  
00: D0 state  
1:0  
Power State  
R/W  
01: not implemented  
10: not implemented  
11: D3 state  
Reset to 0  
7:2  
8
12:9  
14:13  
15  
Reserved  
R/O  
R/O  
R/O  
R/O  
R/O  
Read as 0  
PME# Enable  
Data Select  
Data Scale  
PME status  
Read as 0 as PI7C8150 does not support the PME# pin.  
Read as 0 as the data register is not implemented.  
Read as 0 as the data register is not implemented.  
Read as 0 as the PME# pin is not implemented.  
14.1.54  
CAPABILITY ID REGISTER – OFFSET E4h  
Bit  
Function  
Type  
Description  
00h: Reserved.  
01h: PCI Power Management (PCIPM)  
02h: Accelerated Graphics Port (AGP)  
03h: Vital Product Data (VPD)  
04h: Slot Identification (SI)  
7:0  
Capability ID  
R/O  
05h: Message Signaled Interrupts (MSI)  
06h: Compact PCI Hot Swap  
07h-255h: Reserved  
14.1.55  
15  
NEXT POINTER REGISTER – OFFSET E4h  
Bit  
15:8  
Function  
Next Pointer  
Type  
R/O  
Description  
End of pointer (00h)  
BRIDGE BEHAVIOR  
A PCI cycle is initiated by asserting the FRAME_L signal. In a bridge, there are a number  
of possibilities. Those possibilities are summarized in the table below:  
15.1  
BRIDGE ACTIONS FOR VARIOUS CYCLE TYPES  
Initiator  
Target  
Response  
Master on Primary  
Target on Primary  
PI7C8150 does not respond. It detects  
this situation by decoding the address as  
81  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
well as monitoring the P_DEVSEL_L for  
other fast and medium devices on the  
Primary Port.  
Master on Primary  
Target on Secondary  
PI7C8150 asserts P_DEVSEL_L,  
terminates the cycle normally if it is able  
to be posted, otherwise return with a retry.  
It then passes the cycle to the appropriate  
port. When the cycle is complete on the  
target port, it will wait for the initiator to  
repeat the same cycle and end with normal  
termination.  
Master on Primary  
Master on Secondary  
Master on Secondary  
Target not on Primary nor  
Secondary Port  
PI7C8150 does not respond and the cycle  
will terminate as master abort.  
PI7C8150 does not respond.  
Target on the same  
Secondary Port  
Target on Primary or the  
other Secondary Port  
PI7C8150 asserts S_DEVSEL_L,  
terminates the cycle normally if it is able  
to be posted, otherwise returns with a  
retry. It then passes the cycle to the  
appropriate port. When cycle is complete  
on the target port, it will wait for the  
initiator to repeat the same cycle and end  
with normal termination.  
Master on Secondary  
Target not on Primary nor  
the other Secondary Port  
PI7C8150 does not respond.  
15.2  
ABNORMAL TERMINATION (INITIATED BY BRIDGE  
MASTER)  
15.2.1  
MASTER ABORT  
Master abort indicates that when PI7C8150 acts as a master and receives no response (i.e.,  
no target asserts DEVSEL_L or S_DEVSEL_L) from  
a target, the bridge de-asserts FRAME_L and then de-asserts IRDY_L.  
15.2.2  
15.2.3  
PARITY AND ERROR REPORTING  
Parity must be checked for all addresses and write data. Parity is defined on the P_PAR,  
and S_PAR signals. Parity should be even (i. e. an even number of‘1’s) across AD, CBE,  
and PAR. Parity information on PAR is valid the cycle after AD and CBE are valid. For  
reads, even parity must be generated using the initiators CBE signals combined with the  
read data. Again, the PAR signal corresponds to read data from the previous data phase  
cycle.  
REPORTING PARITY ERRORS  
For all address phases, if a parity error is detected, the error should be reported on the  
P_SERR_L signal by asserting P_SERR_L for one cycle and then 3-stating two cycles  
after the bad address. P_SERR_L can only be asserted if bit 6 and 8 in the Command  
Register are both set to 1. For write data phases, a parity error should be reported by  
asserting the P_PERR_L signal two cycles after the data phase and should remain asserted  
for one cycle when bit 6 in the Command register is set to a 1.  
82  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
The target reports any type of data parity errors during write cycles, while the master  
reports data parity errors during read cycles.  
Detection of an address parity error will cause the PCI-to-PCI Bridge target to not claim  
the bus (P_DEVSEL_L remains inactive) and the cycle will then terminate with a Master  
Abort. When the bridge is acting as master, a data parity error during a read cycle results in  
the bridge master initiating a Master Abort.  
15.2.4  
SECONDARY IDSEL MAPPING  
When PI7C8150 detects a Type 1 configuration transaction for a device connected to  
the secondary, it translates the Type 1 transaction to Type 0 transaction on the downstream  
interface. Type 1 configuration format uses a 5-bit field at P_AD[15:11] as a device  
number. This is translated to S_AD[31:16] by PI7C8150.  
16  
IEEE 1149.1 COMPATIBLE JTAG CONTROLLER  
An IEEE 1149.1 compatible Test Access Port (TAP) controller and associated TAP pins  
are provided to support boundary scan in PI7C8150 for board-level continuity test and  
diagnostics. The TAP pins assigned are TCK, TDI, TDO, TMS and TRST_L. All digital  
input, output, input/output pins are tested except TAP pins.  
The IEEE 1149.1 Test Logic consists of a TAP controller, an instruction register, and  
a group of test data registers including Bypass and Boundary Scan registers. The TAP  
controller is a synchronous 16-state machine driven by the Test Clock (TCK) and the Test  
Mode Select (TMS) pins. An independent power on reset circuit is provided to ensure the  
machine is in TEST_LOGIC_RESET state at power-up. The JTAG signal lines are not  
active when the PCI resource is operating PCI bus cycles.  
PI7C8150 implements 3 basic instructions: BYPASS, SAMPLE/PRELOAD, and  
EXTEST.  
16.1  
BOUNDARY SCAN ARCHITECTURE  
Boundary-scan test logic consists of a boundary-scan register and support logic. These are  
accessed through a Test Access Port (TAP). The TAP provides a simple serial interface  
that allows all processor signal pins to be driven and/or sampled, thereby providing direct  
control and monitoring of processor pins at the system level.  
This mode of operation is valuable for design debugging and fault diagnosis since it  
permits examination of connections not normally accessible to the test system. The  
following subsections describe the boundary-scan test logic elements: TAP pins,  
instruction register, test data registers and TAP controller. Figure 16-1 illustrates how these  
pieces fit together to form the JTAG unit.  
83  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Figure 16-1. Test Access Port Block Diagram  
16.1.1  
16.1.2  
TAP PINS  
The PI7C8150’s TAP pins form a serial port composed of four input connections (TMS,  
TCK, TRST_L and TDI) and one output connection (TDO). These pins are described in  
Table 17-1. The TAP pins provide access to the instruction register and the test data  
registers.  
INSTRUCTION REGISTER  
The Instruction Register (IR) holds instruction codes. These codes are shifted in through  
the Test Data Input (TDI) pin. The instruction codes are used to select the specific test  
operation to be performed and the test data register to be accessed.  
The instruction register is a parallel-loadable, master/slave-configured 5-bit wide, serial-  
shift register with latched outputs. Data is shifted into and out of the IR serially through the  
TDI pin clocked by the rising edge of TCK. The shifted-in instruction becomes active upon  
latching from the master stage to the slave stage. At that time the IR outputs along with the  
TAP finite state machine outputs are decoded to select and control the test data register  
selected by that instruction. Upon latching, all actions caused by any previous instructions  
terminate.  
The instruction determines the test to be performed, the test data register to be accessed, or  
both. The IR is two bits wide. When the IR is selected, the most significant bit is connected  
to TDI, and the least significant bit is connected to TDO. The value presented on the TDI  
pin is shifted into the IR on each rising edge of TCK. The TAP controller captures fixed  
parallel data (1101 binary). When a new instruction is shifted in through TDI, the value  
1101(binary) is always shifted out through TDO, least significant bit first. This helps  
identify instructions in a long chain of serial data from several devices.  
84  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Upon activation of the TRST_L reset pin, the latched instruction asynchronously changes  
to the id code instruction. When the TAP controller moves into the test state other than by  
reset activation, the opcode changes as TDI shifts, and becomes active on the falling edge  
of TCK.  
16.2  
BOUNDARY SCAN INSTRUCTION SET  
The PI7C8150 supports three mandatory boundary-scan instructions (BYPASS, SAMPLE  
and EXTEST). The table shown below lists the PI7C8150’s boundary-scan instruction  
codes.  
Table 16-1. TAP Pins  
Instruction  
/
Opcode (binary)  
Description  
Requisite  
EXTEST  
00000  
EXTEST initiates testing of external circuitry, typically board-  
level interconnects and off chip circuitry. EXTEST connects the  
boundary-scan register between TDI and TDO. When EXTEST  
is selected, all output signal pin values are driven by values  
shifted into the boundary-scan register and may change only of  
the falling edge of TCK. Also, when EXTEST is selected, all  
system input pin states must be loaded into the boundary-scan  
register on the rising-edge of TCK.  
IEEE 1149.1  
Required  
SAMPLE  
IEEE 1149.1  
Required  
0001  
SAMPLE performs two functions:  
C
A snapshot of the sample instruction is captured on the  
rising edge of TCK without interfering with normal  
operation. The instruction causes boundary-scan register  
cells associated with outputs to sample the value being  
driven.  
C
On the falling edge of TCK, the data held in the boundary-  
scan cells is transferred to the slave register cells.  
Typically, the slave latched data is applied to the system  
outputs via the EXTEST instruction.  
INTSCAN  
CLAMP  
00010  
00100  
Enable internal SCAN test  
CLAMP instruction allows the state of the signals driven from  
component pins to be determined from the boundary-scan  
register while the bypass register is selected as the serial path  
between TDI and TDO. The signal driven from the component  
pins will not change while the CLAMP instruction is selected.  
BYPASS instruction selects the one-bit bypass register between  
TDI and TDO pins. 0 (binary) is the only instruction that  
accesses the bypass register. While this instruction is in effect,  
all other test data registers have no effect on system operation.  
Test data registers with both test and system functionality  
performs their system functions when this instruction is selected.  
BYPASS  
11111  
16.3  
TAP TEST DATA REGISTERS  
The PI7C8150 contains two test data registers (bypass and boundary-scan). Each test data  
register selected by the TAP controller is connected serially between TDI and TDO. TDI is  
connected to the test data register’s most significant bit. TDO is connected to the least  
significant bit. Data is shifted one bit position within the register towards TDO on each  
rising edge of TCK. While any register is selected, data is transferred from TDI to TDO  
without inversion. The following sections describe each of the test data registers.  
85  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
16.4  
16.5  
BYPASS REGISTER  
The required bypass register, a one-bit shift register, provides the shortest path between  
TDI and TDO when a bypass instruction is in effect. This allows rapid movement of test  
data to and from other components on the board. This path can be selected when no test  
operation is being performed on the PI7C8150.  
BOUNDARY-SCAN REGISTER  
The boundary-scan register contains a cell for each pin as well as control cells for I/O and  
the high-impedance pin.  
Table 16-1 shows the bit order of the PI7C8150 boundary-scan register. All table cells that  
contain “Control” select the direction of bi-directional pins or high-impedance output pins.  
When a “1” is loaded into the control cell, the associated pin(s) are high-impedance or  
selected as output.  
The boundary-scan register is a required set of serial-shiftable register cells, configured in  
master/slave stages and connected between each of the PI7C8150’s pins and on-chip  
system logic. The VDD, GND, and JTAG pins are NOT in the boundary-scan chain.  
The boundary-scan register cells are dedicated logic and do not have any system function.  
Data may be loaded into the boundary-scan register master cells from  
the device input pins and output pin-drivers in parallel by the mandatory SAMPLE and  
EXTEST instructions. Parallel loading takes place on the rising edge of TCK.  
Data may be scanned into the boundary-scan register serially via the TDI serial input pin,  
clocked by the rising edge of TCK. When the required data has been loaded into the  
master-cell stages, it can be driven into the system logic at input pins or onto the output  
pins on the falling edge of TCK state. Data may also be shifted out of the boundary-scan  
register by means of the TDO serial output pin at the falling edge of TCK.  
16.6  
TAP CONTROLLER  
The TAP (Test Access Port) controller is a 4-state synchronous finite state machine that  
controls the sequence of test logic operations. The TAP can be controlled via a bus master.  
The bus master can be either automatic test equipment or a component (i.e., PLD) that  
interfaces to the TAP. The TAP controller changes state only in response to a rising edge of  
TCK. The value of the test mode state (TMS) input signal at a rising edge of TCK controls  
the sequence of state changes. The TAP controller is initialized after power-up by applying  
a low to the TRST_L pin. In addition, the TAP controller can be initialized by applying a  
high signal level on the TMS input for a minimum of five TCK periods.  
For greater detail on the behavior of the TAP controller, test logic in each controller state  
and the state machine and public instructions, refer to the IEEE 1149.1 Standard Test  
Access Port and Boundary-Scan Architecture document (available from the IEEE).  
Table 16-2. JTAG Boundary Register Order  
Boundary-Scan  
Register Number  
Pin Name  
Pin Number  
Type  
86  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Boundary-Scan  
Pin Name  
Pin Number  
Type  
Register Number  
0
S_AD[0]  
S_AD[1]  
S_AD[2]  
S_AD[3]  
S_AD[4]  
S_AD[5]  
S_AD[6]  
S_AD[7]  
S_CBE[0]  
S_AD[8]  
S_AD[9]  
S_M66EN  
S_AD[10]  
S_AD[11]  
S_AD[12]  
S_AD[13]  
S_AD[14]  
S_AD[15]  
137  
138  
140  
141  
143  
144  
146  
147  
149  
150  
152  
153  
154  
159  
161  
162  
164  
165  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
OUTPUT  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
BIDIR  
BIDIR  
INPUT  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
BIDIR  
INPUT  
INPUT  
INPUT  
INPUT  
INPUT  
INPUT  
INPUT  
INPUT  
INPUT  
OUTPUT  
OUTPUT  
CONTROL  
OUTPUT  
1
2
3
4
5
6
7
8
9
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
S_CBE[1]  
S_PAR  
S_SERR_L  
S_PERR_L  
S_LOCK_L  
S_STOP_L  
167  
168  
169  
171  
172  
173  
S_DEVSEL_L  
S_TRDY_L  
S_IRDY_L  
S_FRAME_L  
S_CBE[2]  
S_AD[16]  
S_AD[17]  
S_AD[18]  
S_AD[19]  
S_AD[20]  
S_AD[21]  
S_AD[22]  
S_AD[23]  
S_CBE[3]  
S_AD[24]  
S_AD[25]  
S_AD[26]  
S_AD[27]  
S_AD[28]  
S_AD[29]  
S_AD[30]  
175  
176  
177  
179  
180  
182  
183  
185  
186  
188  
189  
191  
192  
194  
195  
197  
198  
200  
201  
203  
204  
S_AD[31]  
206  
207  
2
S_REQ_L[0]  
S_REQ_L[1]  
S_REQ_L[2]  
S_REQ_L[3]  
S_REQ_L[4]  
S_REQ_L[5]  
S_REQ_L[6]  
S_REQ_L[7]  
S_REQ_L[8]  
S_GNT_L[0]  
S_GNT_L[1]  
3
4
5
6
7
8
9
10  
11  
S_GNT_L[2]  
13  
87  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Boundary-Scan  
Pin Name  
Pin Number  
Type  
Register Number  
62  
S_GNT_L[3]  
S_GNT_L[4]  
S_GNT_L[5]  
S_GNT_L[6]  
S_GNT_L[7]  
S_GNT_L[8]  
S_CLKIN  
14  
15  
16  
17  
18  
19  
21  
22  
23  
24  
25  
27  
28  
29  
30  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
INPUT  
63  
64  
65  
66  
67  
68  
69  
S_RESET_L  
S_CFN_L  
OUTPUT  
INPUT  
70  
71  
GPIO[3]  
BIDIR  
72  
GPIO[2]  
BIDIR  
73  
GPIO[1]  
BIDIR  
74  
GPIO[0]  
BIDIR  
75  
S_CLKOUT[0]  
S_CLKOUT[1]  
OUTPUT  
OUTPUT  
CONTROL  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
OUTPUT  
INPUT  
76  
77  
78  
S_CLKOUT[2]  
S_CLKOUT[3]  
S_CLKOUT[4]  
S_CLKOUT[5]  
S_CLKOUT[6]  
S_CLKOUT[7]  
S_CLKOUT[8]  
S_CLKOUT[9]  
P_RESET_L  
BPCCE  
32  
33  
35  
36  
38  
39  
41  
42  
43  
44  
45  
46  
47  
79  
80  
81  
82  
83  
84  
85  
86  
87  
INPUT  
88  
P_CLK  
INPUT  
89  
P_GNT_L  
INPUT  
90  
P_REQ_L  
OUTPUT  
CONTROL  
BIDIR  
91  
92  
P_AD[31]  
P_AD[30]  
P_AD[29]  
P_AD[28]  
P_AD[27]  
P_AD[26]  
P_AD[25]  
P_AD[24]  
P_CBE[3]  
P_IDSEL  
P_AD[23]  
P_AD[22]  
P_AD[21]  
P_AD[20]  
P_AD[19]  
P_AD[18]  
P_AD[17]  
P_AD[16]  
49  
50  
55  
57  
58  
60  
61  
63  
64  
65  
67  
68  
70  
71  
73  
74  
76  
77  
93  
BIDIR  
94  
BIDIR  
95  
BIDIR  
96  
BIDIR  
97  
BIDIR  
98  
BIDIR  
99  
BIDIR  
100  
101  
102  
103  
104  
105  
106  
107  
108  
109  
110  
111  
112  
113  
114  
115  
116  
117  
118  
119  
120  
121  
122  
123  
BIDIR  
INPUT  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
BIDIR  
P_CBE[2]  
P_FRAME_L  
P_IRDY_L  
P_TRDY_L  
P_DEVSEL_L  
P_STOP_L  
79  
80  
82  
83  
84  
85  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
INPUT  
P_LOCK_L  
P_PERR_L  
P_SERR_L  
P_PAR  
P_CBE[1]  
P_AD[15]  
87  
88  
89  
90  
92  
93  
BIDIR  
OUTPUT  
BIDIR  
BIDIR  
BIDIR  
88  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
Boundary-Scan  
Pin Name  
Pin Number  
Type  
Register Number  
124  
125  
126  
127  
128  
129  
130  
131  
132  
133  
134  
135  
136  
137  
138  
139  
140  
141  
142  
143  
P_AD[14]  
P_AD[13]  
P_AD[12]  
P_AD[11]  
P_AD[10]  
P_M66EN  
P_AD[9]  
P_AD[8]  
P_CBE[0]  
P_AD[7]  
P_AD[6]  
P_AD[5]  
P_AD[4]  
P_AD[3]  
P_AD[2]  
P_AD[1]  
P_AD[0]  
95  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
INPUT  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
BIDIR  
CONTROL  
INPUT  
INPUT  
96  
98  
99  
101  
102  
107  
109  
110  
112  
113  
115  
116  
118  
119  
121  
122  
CFG66  
MSK_IN  
125  
126  
89  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
17  
ELECTRICALAND TIMING SPECIFICATIONS  
17.1  
MAXIMUM RATINGS  
(Above which the useful life may be impaired. For user guidelines, not tested).  
Storage Temperature  
-65LC to 150LC  
0LC to 85LC  
-0.3V to 3.6V  
-0.5V to 3.6V  
Ambient Temperature with Power Applied  
Supply Voltage to Ground Potentials (Inputs and AVCC, VDD only]  
DC Input Voltage  
Note:  
Stresses greater than those listed under MAXIMUM RATINGS may cause permanent  
damage to the device. This is a stress rating only and functional operation of the device at  
these or any conditions above those indicated in the operational sections of this  
specification is not implied. Exposure to absolute maximum rating conditions for extended  
periods of time may affect reliability.  
17.2  
DC SPECIFICATIONS  
Symbol  
Parameter  
Condition  
Min.  
3
Max.  
3.6  
Units  
V
Notes  
VDD  
,
Supply Voltage  
AVCC  
Vih  
Input HIGH Voltage  
Input LOW Voltage  
0.5 VDD  
-0.5  
VDD + 0.5  
0.3 VDD  
VDD + 0.5  
0.3 VDD  
V
3, 4  
3, 4  
1, 4  
1, 4  
3
Vil  
V
Vih  
CMOS Input HIGH Voltage  
CMOS Input LOW Voltage  
Input Pull-up Voltage  
Input Leakage Current  
Output HIGH Voltage  
Output LOW Voltage  
CMOS Output HIGH Voltage  
CMOS Output LOW Voltage  
Input Pin Capacitance  
CLK Pin Capacitance  
IDSEL Pin Capacitance  
Pin Inductance  
0.7 VDD  
-0.5  
V
Vil  
V
Vipu  
Iil  
0.7 VDD  
V
0 < Vin < VDD  
3
M10  
A  
V
Voh  
Vol  
0.9VDD  
3
I
out = -500A  
0.1 VDD  
3
V
I
out = 1500A  
out = -500A  
out = 1500A  
Voh  
Vol  
VDD – 0.5  
2
V
I
I
0.5  
10  
12  
8
2
V
Cin  
pF  
pF  
pF  
nH  
3
CCLK  
CIDSEL  
Lpin  
5
3
3
20  
3
Notes:  
1. CMOS Input pins: S_CFN_L, TCK, TMS, TDI, TRST_L, SCAN_EN, SCAN_TM_L  
2. CMOS Output pin: TDO  
3. PCI pins: P_AD[31:0], P_CBE[3:0], P_PAR, P_FRAME_L, P_IRDY_L, P_TRDY_L,  
P_DEVSEL_L, P_STOP_L, P_LOCK_L, PIDSEL_L, P_PERR_L, P_SERR_L,  
P_REQ_L, P_GNT_L, P_RESET_L, S_AD[31:0], S_CBE[3:0], S_PAR, S_FRAME_L,  
S_IRDY_L, S_TRDY_L, S_DEVSEL_L, S_STOP_L, S_LOCK_L, S_PERR_L,  
S_SERR_L, S_REQ[7:0]_L, S_GNT[7:0]_L, S_RESET_L, S_EN, HSLED, HS_SW_L,  
HS_EN, ENUM_L.  
4. VDD is in reference to the VDD of the input device.  
90  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
17.3  
AC SPECIFICATIONS  
Figure 17-1. PCI Signal Timing Measurement Conditions  
66 MHz  
33 MHz  
Symbol  
Tsu  
Parameter  
Min.  
Max.  
Min.  
Max.  
Units  
Input setup time to CLK – bused signals 1,2,3  
Input setup time to CLK – point-to-point 1,2,3  
Input signal hold time from CLK 1,2  
CLK to signal valid delay – bused signals 1,2,3  
CLK to signal valid delay – point-to-point 1,2,3  
Float to active delay 1,2  
3
5
0
2
2
2
-
-
7
-
Tsu(ptp)  
Th  
-
10, 124  
-
-
0
2
2
2
-
-
Tval  
6
6
-
11  
12  
-
ns  
Tval(ptp)  
Ton  
Toff  
Active to float delay 1,2  
14  
28  
1. See Figure 17-1 PCI Signal Timing Measurement Conditions.  
2. All primary interface signals are synchronized to P_CLK. All secondary interface  
signals are synchronized to S_CLKOUT.  
3. Point-to-point signals are P_REQ_L, S_REQ_L[7:0], P_GNT_L, S_GNT_L[7:0],  
HSLED, HS_SW_L, HS_EN, and ENUM_L. Bused signals are P_AD, P_BDE_L, P_PAR,  
P_PERR_L, P_SERR_L, P_FRAME_L, P_IRDY_L, P_TRDY_L, P_LOCK_L,  
P_DEVSEL_L, P_STOP_L, P_IDSEL, S_AD, S_CBE_L, S_PAR, S_PERR_L,  
S_SERR_L, S_FRAME_L, S_IRDY_L, S_TRDY_L, S_LOCK_L, S_DEVSEL_L, and  
S_STOP_L.  
4. REQ_L signals have a setup of 10 and GNT_L signals have a setup of 12.  
17.4  
66MHZ TIMING  
Symbol  
TSKEW  
TDELAY  
TCYCLE  
THIGH  
Parameter  
Condition  
Min.  
0
Max.  
0.250  
5.5  
Units  
SKEW among S_CLKOUT[9:0]  
DELAY between PCLK and S_CLKOUT[9:0]  
PCLK, S_CLKOUT[9:0] cycle time  
PCLK, S_CLKOUT[9:0] HIGH time  
PCLK, S_CLKOUT[9:0] LOW time  
20pF load  
4.6  
15  
6
30  
ns  
TLOW  
6
91  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
17.5  
17.6  
33MHZ TIMING  
Symbol  
TSKEW  
TDELAY  
TCYCLE  
THIGH  
Parameter  
Condition  
Min.  
0
Max.  
0.250  
5.5  
Units  
SKEW among S_CLKOUT[9:0]  
DELAY between PCLK and S_CLKOUT[9:0]  
PCLK, S_CLKOUT[9:0] cycle time  
PCLK, S_CLKOUT[9:0] HIGH time  
PCLK, S_CLKOUT[9:0] LOW time  
20pF load  
4.6  
30  
ns  
11  
11  
TLOW  
POWER CONSUMPTION  
Parameter  
Typical  
1.39  
420  
Units  
W
mA  
Power Consumption at 66MHz  
Supply Current, ICC  
18  
PACKAGE INFORMATION  
18.1  
208-PIN FQFP PACKAGE DIAGRAM  
Figure 18-1. 208-pin FQFP Package Outline  
92  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
18.2  
256-BALL PBGA PACKAGE DIAGRAM  
Figure 18-2. 256-ball PBGA Package Outline  
Thermal characteristics can be found on the web: http://www.pericom.com/packaging/mechanicals.php  
18.3  
PART NUMBER ORDERING INFORMATION  
Part Number  
PI7C8150MA  
PI7C8150MA-33  
PI7C8150ND  
Speed  
Pin – Package  
208 – FQFP  
208 – FQFP  
256 – PBGA  
256 – PBGA  
Temperature  
0°C to 85°C  
0°C to 85°C  
0°C to 85°C  
0°C to 85°C  
66MHz  
33MHz  
66MHz  
33MHz  
PI7C8150ND-33  
93  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
NOTES:  
94  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
NOTES:  
95  
August 22, 2002 – Revision 1.02  
PI7C8150  
2-PORT PCI-TO-PCI BRIDGE  
ADVANCE INFORMATION  
96  
August 22, 2002 – Revision 1.02  

相关型号:

PI7C8150ND-33

2-Port PCI-to-PCI Bridge
PERICOM

PI7C8150ND-33E

PCI Bus Controller, CMOS, PBGA256, PLASTIC, BGA-256
PERICOM

PI7C8150NDE

PCI Bus Controller, CMOS, PBGA256, PLASTIC, BGA-256
PERICOM

PI7C8150NDE-33

PCI Bus Controller, CMOS, PBGA256, PLASTIC, BGA-256
PERICOM

PI7C8152

ENHANCED 2- PORT TO PCI BRIDGE INTEL 21152 COMPORISON
PERICOM

PI7C8152A

ENHANCED 2- PORT TO PCI BRIDGE INTEL 21152 COMPORISON
PERICOM

PI7C8152AMA

2-Port PCI-to-PCI Bridge
PERICOM

PI7C8152AMAE

暂无描述
PERICOM

PI7C8152A_07

2-Port PCI-to-PCI Bridge
PERICOM

PI7C8152B

2-Port PCI-to-PCI Bridge
PERICOM

PI7C8152BMA

2-Port PCI-to-PCI Bridge
PERICOM

PI7C8152BMAE

PCI Bus Controller, CMOS, PQFP160, MQFP-160
PERICOM