PCI2031PGF [TI]
暂无描述;型号: | PCI2031PGF |
厂家: | TEXAS INSTRUMENTS |
描述: | 暂无描述 PC |
文件: | 总70页 (文件大小:917K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
PCI Power Management Compliant
ACPI 1.0 Compliant
Secondary Positive Decode
Independent Read and Write Buffers for
Each Direction
Supports PCI Local Bus Specification 2.1
and PCI-to-PCI Bridge Specification 1.0
Predictable Latency: Compliant With PCI
Local Bus Specification 2.1
3.3-V Core Logic With Universal PCI
Interfaces Compatible With 3.3-V and 5-V
PCI Signaling Environments
External Arbiter Option
Provides Concurrent Operation
Serial IRQ Bridging
Supports Two 32-Bit, 33-MHz PCI Buses
Provides Internal Arbitration for Up to Six
Secondary Bus Masters With
Programmable Control
Propagates Bus Locking
Supports PCI Clock Run
Secondary Bus Driven Low During Reset
Docking Connect Detects
Provides Six Secondary PCI Bus Clock
Outputs
PCI Local Bus Specification 2.0-Compliant
Device Optimization
Supports Burst Transfers to Maximize Data
Throughput on Both PCI Buses
Advanced Submicron, Low-Power CMOS
Technology
Provides Two Extension Windows
EEPROM Interface for Loading Texas
Instruments (TI ) Subsystem ID and
Subsystem Vendor ID
Provides VGA/Palette Memory and I/O, and
Subtractive Decoding Options
Packaged in 176-Pin Plastic Quad Flatpack
Four Primary and Four Secondary
General-Purpose I/Os
Table of Contents
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Extension Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . 65
Signal Name/Terminal Number Sort Table . . . . . . . . . . . . . . . . . . 4 Recommended Operating Conditions for PCI Interface . . . . . . . . 65
Terminal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 PCI Clock/Reset Timing Requirements . . . . . . . . . . . . . . . . . . . . . . 66
Introduction to the PCI2031 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 PCI Timing Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
PCI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Parameter Measurement Information . . . . . . . . . . . . . . . . . . . . . . . . 67
Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 PCI Bus Parameter Measurement Information . . . . . . . . . . . . . . . . 68
Bridge Configuration Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
TI is a trademark of Texas Instruments Incorporated.
Copyright 1998, Texas Instruments Incorporated
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
1
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
description
The TI PCI2031 PCI-to-PCI bridge provides a high-performance connection path between two peripheral
component interconnect (PCI) buses. Transactions can occur between a master on one PCI bus and a target
on another PCI bus. The bridge supports burst-mode transfers to maximize data throughput, and the two bus
traffic paths through the bridge act independently.
The PCI2031 bridge is compliant with the PCI Local Bus Specification 2.1, and can be used to overcome the
electrical loading limit of ten devices per PCI bus by creating hierarchical buses. Furthermore, add-in cards
requiring multiple PCI devices can use the bridge to overcome the electrical loading limit of one PCI device
per slot.
The PCI2031 bridge is also compliant with the PCI-to-PCI Bridge Specification 1.0, and implements many
additional features that make it an ideal solution for bridging two PCI buses. It can be configured for subtractive
decoding, and negative decoding can be disabled on the secondary interface. Two extension windows are also
included for special decoding purposes. The serial- and parallel-port addresses can also be programmed for
positive decoding on the primary interface. The bridge implements many other features, listed above, that add
performance and flexibility.
An advanced CMOS process is utilized to achieve low system-power consumption while operating at PCI clock
rates up to 33 MHz.
system block diagram
Primary PCI Bus
Video Controller
South Bridge
IDE Controller
PCI2031
PCI-To-PCI Bridge
Secondary PCI Bus
Add-In Card
Add-In Card
2
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
terminal assignments
PGF PACKAGE
(TOP VIEW)
S_GPIO1
S_GPIO2
S_GPIO3
GND
S_PCLK0
S_PCLK1
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
S_AD16
S_C/BE2
GND
Secondary
S_FRAME
V
CC
S_IRDY
V
S_TRDY
S_DEVSEL
S_STOP
CC
S_PCLK2
S_V
CCP
S_PCLK3
S_PCLK4
S_V
S_LOCK
GND
CCP
V
CC
S_PCLK5
GND
S_PERR
S_SERR
S_PAR
S_C/BE1
S_AD15
S_AD14
RST_MODE
P_CLKRUN
P_V
P_RST
GND
CCP
V
CC
P_PCLK
PCI2031
S_AD13
S_AD12
S_AD11
V
CC
P_GNT
P_REQ
V
CC
P_V
P_AD31
S_AD10
S_AD9
GND
CCP
V
CC
P_AD30
P_AD29
GND
S_AD8
S_C/BE0
S_AD7
P_AD28
P_AD27
P_AD26
GND
P_AD25
P_AD24
P_C/BE3
GND
S_V
S_AD6
S_AD5
CCP
V
CC
S_AD4
S_AD3
GND
S_AD2
S_AD1
S_AD0
GND
P_GPIO0
P_GPIO1
P_GPIO2
P_GPIO3
P_IDSEL
P_AD23
V
CC
P_AD22
P_V
CCP
Primary
P_AD21
P_AD20
3
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 1. Signal Names Sorted by Terminal Number
NO.
1
SIGNAL NAME
P_AD19
NO.
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
SIGNAL NAME
P_GPIO3
NO.
89
SIGNAL NAME
NO.
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
SIGNAL NAME
S_GPIO1
V
CC
2
P_AD18
P_AD17
P_AD16
GND
P_GPIO2
P_GPIO1
P_GPIO0
GND
90
S_AD17
S_AD18
S_AD19
GND
S_GPIO2
S_GPIO3
GND
3
91
4
92
5
93
S_PCLK0
S_PCLK1
6
P_C/BE2
P_FRAME
P_IRDY
P_TRDY
P_DEVSEL
P_STOP
S_AD0
S_AD1
S_AD2
GND
94
S_AD20
S_AD21
S_AD22
S_AD23
7
95
V
CC
S_PCLK2
S_V
8
96
9
97
CCP
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
S_AD3
S_AD4
98
S_V
CCP
S_PCLK3
S_PCLK4
99
S_C/BE3
V
V
CC
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
V
V
CC
CC
P_LOCK
P_V
CC
S_AD5
S_AD6
S_AD24
S_AD25
GND
S_PCLK5
GND
CCP
P_PERR
P_SERR
P_PAR
P_C/BE1
GND
S_V
CCP
RST_MODE
P_CLKRUN
S_AD7
S_C/BE0
S_AD8
GND
S_AD26
S_AD27
S_AD28
GND
P_V
CCP
P_RST
GND
P_AD15
P_AD14
GND
S_AD9
S_AD10
S_AD29
S_AD30
S_AD31
S_REQ0
S_REQ1
S_REQ2
P_PCLK
V
CC
V
CC
P_GNT
P_REQ
P_AD13
P_AD12
P_AD11
S_AD11
S_AD12
S_AD13
P_V
CCP
P_AD31
V
V
CC
V
V
CC
CC
P_AD10
P_V
CC
S_AD14
S_AD15
S_C/BE1
S_PAR
S_REQ3
S_REQ4
P_AD30
P_AD29
GND
CCP
P_AD9
GND
S_V
CCP
S_REQ5
S_GNT0
S_GNT1
GND
P_AD28
P_AD27
P_AD26
GND
P_AD8
P_C/BE0
GND
S_SERR
S_PERR
GND
P_AD7
P_AD6
S_LOCK
S_VCCP
S_STOP
S_DEVSEL
S_TRDY
S_IRDY
S_GNT2
S_GNT3
S_GNT4
S_GNT5
S_RST
P_AD25
P_AD24
P_C/BE3
GND
V
CC
P_AD5
P_AD4
P_AD3
P_IDSEL
P_AD23
S_CLKRUN
V
CC
V
CC
V
V
CC
CC
P_AD22
P_V
P_AD2
S_FRAME
GND
S_EXTARB
S_FLSHACK
S_FLSHREQ
S_GPIO0
P_VCCP
P_AD1
CCP
S_C/BE2
S_AD16
P_AD21
P_AD20
P_AD00
4
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Terminal Functions
primary PCI system
TERMINAL
I/O
TYPE
FUNCTION
NAME
NO.
Primary PCI bus clock. P_CLK provides timing for all transactions on the primary PCI bus. All primary PCI signals
are sampled at rising edge of P_CLK.
P_CLK
152
I
I
PCI reset. When the primary PCI bus reset is asserted, P_RST causes the bridge to 3-state all output buffers
and reset all internal registers. When asserted, the device is completely nonfunctional. During P_RST, the
secondary interface is driven low. After P_RST is deasserted, the bridge is in its default state.
150
P_RST
primary PCI address and data
TERMINAL
NAME
I/O
TYPE
FUNCTION
NO.
P_AD31
P_AD30
P_AD29
P_AD28
P_AD27
P_AD26
P_AD25
P_AD24
P_AD23
P_AD22
P_AD21
P_AD20
P_AD19
P_AD18
P_AD17
P_AD16
P_AD15
P_AD14
P_AD13
P_AD12
P_AD11
P_AD10
P_AD9
157
159
160
162
163
164
166
167
171
173
175
176
1
2
3
4
20
21
23
24
25
Primaryaddress/data bus. These signals make up the multiplexed PCI address and data bus on theprimary
interface. During the address phase of a primary bus PCI cycle, P_AD31–P_AD0 contain a 32-bit address
or other destination information. During the data phase, P_AD31–P_AD0 contain data.
I/O
27
29
P_AD8
31
P_AD7
34
P_AD6
35
P_AD5
37
P_AD4
38
P_AD3
39
P_AD2
41
P_AD1
43
P_AD0
44
Primarybuscommandsandbyteenables. ThesesignalsaremultiplexedonthesamePCIterminals. During
the address phase of a primary bus PCI cycle, P_C/BE3–P_C/BE0 define the bus command. During the
data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths of the full
32-bit data bus carry meaningful data. P_C/BE0 applies to byte 0 (P_AD7–P_AD0), P_C/BE1 applies to
byte 1 (P_AD15–P_AD8), P_C/BE2 applies to byte 2 (P_AD23–P_AD16), and P_C/BE3 applies to byte 3
(P_AD31–P_AD24).
168
6
18
32
P_C/BE3
P_C/BE2
P_C/BE1
P_C/BE0
I/O
I/O
Primary PCI bus clock run. P_CLKRUN is used by the central resource to request permission to stop the
PCI clock or to slow it down.
P_CLKRUN
148
5
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Terminal Functions (Continued)
primary PCI interface control
TERMINAL
I/O
TYPE
FUNCTION
NAME
NO.
Primary device select. The bridge asserts P_DEVSEL to claim a PCI cycle as the target device. As a PCI
initiator on the primary bus, the bridge monitors P_DEVSEL until a target responds. If no target responds
before time-out occurs, then the bridge terminates the cycle with an initiator abort.
P_DEVSEL
P_FRAME
P_GNT
10
I/O
I/O
I
Primary cycle frame. P_FRAME is driven by the initiator of a primary bus cycle. P_FRAME is asserted to
indicate that a bus transaction is beginning, and data transfers continue while this signal is asserted. When
P_FRAME is deasserted, the primary bus transaction is in the final data phase.
7
Primary bus grant to bridge. P_GNT is driven by the primary PCI bus arbiter to grant the bridge access to the
primary PCI bus after the current data transaction has completed. P_GNT may or may not follow a primary
bus request, depending on the primary bus parking algorithm.
154
P_GPIO0
P_GPIO1
P_GPIO2
P_GPIO3
48
47
46
45
Primary bus general-purpose I/O terminals. These terminals are provided for general input/output use in
system design.
I/O
I
Initialization device select. P_IDSEL selects the bridge during configuration space accesses. P_IDSEL can
be connected to one of the upper 24 PCI address lines on the primary PCI bus.
P_IDSEL
170
Note: There is no IDSEL signal interfacing the secondary PCI bus; thus, the entire configuration space of the
bridge can only be accessed from the primary bus.
Primary initiator ready. P_IRDY indicates the primary bus initiator’s ability to complete the current data phase
of the transaction. A data phase is completed on a rising edge of P_CLK where both P_IRDY and P_TRDY
are asserted. Until P_IRDY and P_TRDY are both sampled asserted, wait states are inserted.
P_IRDY
P_LOCK
8
I/O
I/O
13
Primary PCI bus lock. P_LOCK is used to lock the primary bus and gain exclusive access as an initiator.
Primary parity. In all primary bus read and write cycles, the bridge calculates even parity across the P_AD
and P_C/BE buses. As an initiator during PCI write cycles, the bridge outputs this parity indicator with a
one-P_CLKdelay. As a target during PCI read cycles, the calculated parity is compared to the initiator’s parity
indicator; a misdemeanor can result in a parity error assertion (P_PERR).
P_PAR
17
I/O
Primary parity error indicator. P_PERR is driven by a primary bus PCI device to indicate that calculated parity
does not match P_PAR when P_PERR is enabled through bit 6 of the command register.
15
I/O
O
P_PERR
P_REQ
Primary PCI bus request. P_REQ is asserted by the bridge to request access to the primary PCI bus as an
initiator.
155
Primary system error. Output pulsed from the bridge when enabled through the command register indicating
a system error has occurred. The bridge need not be the target of the primary PCI cycle to assert P_SERR.
When bit 6 is enabled in the bridge control register, P_SERR pulses, indicating that a system error has
occurred on one of the subordinate buses downstream from the bridge.
P_SERR
P_STOP
16
O
Primary cycle stop signal. P_STOP is driven by a PCI target to request the initiator to stop the current primary
bus transaction. P_STOP is used for target disconnects and is commonly asserted by target devices that do
not support burst data transfers.
11
147
9
I/O
I
If RST_MODE is asserted during P_RST, it causes S_RST to be asserted and the secondary clocks to be
turned off.
RST_MODE
P_TRDY
Primary target ready. P_TRDY indicates the primary bus target’s ability to complete the current data phase
of the transaction. A data phase is completed on a rising edge of P_CLK where both P_IRDY and P_TRDY
are asserted. Until both P_IRDY and P_TRDY are asserted, wait states are inserted.
I/O
6
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Terminal Functions (Continued)
secondary PCI system
TERMINAL
I/O
TYPE
FUNCTION
NAME
NO.
145
143
142
140
138
137
S_PCLK5
S_PCLK4
S_PCLK3
S_PCLK2
S_PCLK1
S_PCLK0
Secondary PCI bus clock. Provides timing for all transactions on the secondary PCI bus. All secondary PCI
signals are sampled at the rising edge of S_CLK5–S_CLK0.
O
Secondary PCI bus clock run. S_CLKRUN is output by the bridge to indicate that S_PCLKn is to be stopped.
S_CLKRUN is driven by secondary bus PCI devices to request that S_PCLKn be stopped.
127
129
I/O
I
S_CLKRUN
S_EXTARB
Secondary external arbiter enable. When S_EXTARB is asserted, the secondary external arbiter is enabled.
When the external arbiter is enabled, S_REQ0 is reconfigured as a secondary bus grant input to the bridge
and S_GNT0 is reconfigured as a secondary bus master request to the external arbiter on the secondary bus.
Secondary PCI reset. S_RST is a logical OR of P_RST and the state of the secondary bus reset bit of the
bridge control register. S_RST is asynchronous with respect to the state of the secondary interface CLK
signal.
S_RST
126
O
7
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Terminal Functions (Continued)
secondary PCI address and data
TERMINAL
I/O
TYPE
FUNCTION
NAME
NO.
110
109
108
106
105
104
102
101
97
96
95
94
92
91
90
88
72
71
69
68
67
S_AD31
S_AD30
S_AD29
S_AD28
S_AD27
S_AD26
S_AD25
S_AD24
S_AD23
S_AD22
S_AD21
S_AD20
S_AD19
S_AD18
S_AD17
S_AD16
S_AD15
S_AD14
S_AD13
S_AD12
S_AD11
S_AD10
S_AD9
Secondary address/data bus. These signals make up the multiplexed PCI address and data bus on the
secondary interface. During the address phase of a secondary bus PCI cycle, S_AD31–S_AD0 contain a
32-bit address or other destination information. During the data phase, S_AD31–S_AD0 contain data.
I/O
65
64
62
S_AD8
60
S_AD7
58
S_AD6
57
S_AD5
55
S_AD4
54
S_AD3
52
S_AD2
51
S_AD1
50
S_AD0
Secondary bus commands and byte enables. These signals are multiplexed on the same PCI terminals.
During the address phase of a secondary bus PCI cycle, S_C/BE3–S_C/BE0 define the bus command.
During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths
of the full 32-bit data bus carry meaningful data. S_C/BE0 applies to byte 0 (S_AD7–S_AD0), S_C/BE1
applies to byte 1 (S_AD15–S_AD8), S_C/BE2 applies to byte 2 (S_AD23–S_AD16), and S_C/BE3 applies
to byte 3 (S_AD31–S_AD24).
S_C/BE3
S_C/BE2
S_C/BE1
S_C/BE0
99
87
73
61
I/O
Secondary device select. The bridge asserts S_DEVSEL to claim a PCI cycle as the target device. As a PCI
initiator on the secondary bus, the bridge monitors S_DEVSEL until a target responds. If no target responds
before timeout occurs, then the bridge terminates the cycle with an initiator abort.
S_DEVSEL
S_FRAME
81
85
I/O
I/O
Secondary cycle frame. S_FRAME is driven by the initiator of a secondary bus cycle. S_FRAME is asserted
to indicate that a bus transaction is beginning and data transfers continue while S_FRAME is asserted. When
S_FRAME is deasserted, the secondary bus transaction is in the final data phase.
S_GNT5
S_GNT4
S_GNT3
S_GNT2
S_GNT1
S_GNT0
125
124
123
122
120
119
Secondarybus grant to thebridge. Thebridgeprovidesinternalarbitrationandthesesignalsareusedtogrant
potential secondary PCI bus masters access to the bus. Seven potential initiators (including the bridge) can
be located on the secondary PCI bus.
O
When the internal arbiter is disabled, S_GNT0 is reconfigured as an external secondary bus request signal
for the bridge.
8
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Terminal Functions (Continued)
secondary PCI interface control
TERMINAL
NAME
I/O
TYPE
FUNCTION
NO.
132
133
134
135
S_GPIO0
S_GPIO1
S_GPIO2
S_GPIO3
Secondary general-purpose I/O terminals. These terminals are provided for general-purpose input/output
use in system design.
I/O
Secondaryinitiatorready. S_IRDYindicatesthesecondarybusinitiator’sabilitytocompletethecurrentdata
phase of the transaction. A data phase is completed on a rising edge of S_PCLKn where both S_IRDY and
S_TRDY are asserted; until S_IRDY and S_TRDY are asserted, wait states are inserted.
S_IRDY
S_LOCK
83
78
I/O
I/O
Secondary lock S_LOCK is used to lock the secondary bus and gain exclusive access as an initiator.
Secondary parity. In all secondary bus read and write cycles, the bridge calculates even parity across the
S_AD and S_C/BE buses. As an initiator during PCI write cycles, the bridge outputs this parity indicator with
a one-S_PCLKn delay. As a target during PCI read cycles, the calculated parity is compared to the initiator’s
parity indicator. A miscompare can result in a parity error assertion (S_PERR).
S_PAR
74
I/O
I/O
Secondary parity error indicator. S_PERR is driven by a secondary bus PCI device to indicate that
calculated parity does not match S_PAR when enabled through the command register.
76
S_PERR
S_REQ5
S_REQ4
S_REQ3
S_REQ2
S_REQ1
S_REQ0
118
116
115
113
112
111
Secondary PCI bus request signals. The bridge provides internal arbitration, and these signals are used as
inputs from secondary PCI bus initiators requesting the bus. Seven potential initiators (including the bridge)
can be located on the secondary PCI bus.
I
When the internal arbiter is disabled, S_REQ0 is reconfigured as an external secondary bus grant for the
bridge.
111
75
S_REQ0
S_SERR
Secondary system error. S_SERR is passed through the primary interface by the bridge if enabled through
the bridge control register. S_SERR is never asserted by the bridge.
I
Secondary cycle stop signal. S_STOP is driven by a PCI target to request the initiator to stop the current
secondary bus transaction. S_STOP is used for target disconnects and is commonly asserted by target
devices that do not support burst data transfers.
S_STOP
S_TRDY
80
82
I/O
Secondary target ready. S_TRDY indicates the secondary bus target’s ability to complete the current data
phase of the transaction. A data phase is completed on a rising edge of S_PCLKn where both S_IRDY and
S_TRDY are asserted; until S_IRDY and S_TRDY are asserted, wait states are inserted.
I/O
Flush request. When S_FLSHREQ is asserted, it signals a request to the PCI2031 to suspend internal write
posting. When the bridge is ready to suspend internal write posting, it responds by asserting S_FLSHACK.
S_FLSHACK remains asserted until the write posting buffers are empty.
S_FLSHREQ
S_FLSHACK
131
130
I
Flush acknowledge. S_FLSHACK is asserted by the PCI2031 to indicate that the internal write posting is
suspended. S_FLSHACK remains asserted until the write posting buffers are empty.
O
power supply
TERMINAL
FUNCTION
NAME
NO.
5, 19, 22, 30, 33, 49, 53, 63, 77, 86, 93, 103,
107, 121, 136, 146, 151, 161, 165, 169
GND
Device ground terminals
12, 26, 36, 40, 56, 66, 70, 84, 89, 100, 114,
128, 139, 144, 153, 158, 172
V
CC
Power-supply terminal for core logic (3.3 V)
Primarybus-signalingenvironmentsupply. P_V
on primary bus I/O signals.
isusedinprotectioncircuitry
CCP
P_V
14, 28, 42, 149, 156, 174
59, 79, 98, 117, 141
CCP
CCP
Secondary bus-signaling environment supply. S_V
circuitry on primary bus I/O signals.
is used in protection
CCP
S_V
9
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
architecture
This section provides an overview of the PCI2031 PCI-to-PCI bridge features and functionality. Detailed
descriptions of the bridge’s internal registers and extension registers are also provided.
introduction to the PCI2031
The PCI2031 is a bridge between two PCI buses, and is compliant with both the PCI Local Bus Specification 2.1
and the PCI-to-PCI Bridge Specification 1.0. The bridge supports two 32-bit PCI buses operating at a maximum
of 33 MHz. The primary and secondary buses operate independently in either a 3.3-V or 5-V signaling
environment. The core logic of the bridge, however, is powered at 3.3 V to reduce power consumption.
Host software interacts with the bridge through internal registers. These internal registers provide the standard
PCI status and control for both the primary and secondary buses. There are many vendor-specific features
included in the bridge that exist in the TI extension register set. The PCI configuration header of the bridge is
only accessible from the primary PCI interface.
The bridge provides internal arbitration for the six possible secondary bus masters, and provides each with a
dedicated active low request/grant pair (REQ/GNT). The arbiter features a two-tier rotational scheme with the
PCI2031 bridge defaulting to the highest priority tier. The bus parking scheme is also configurable and can be
set to either park grant (GNT) on the bridge or on the last mastering device.
Upon system power up, power-on self-test (POST) software configures the bridge according to the devices that
exist on subordinate buses, and enables performance-enhancing features of the PCI2031. In a typical system,
this is the only communication with the bridge’s internal register set.
serial EEPROM interface
The PCI2031 uses a serial EEPROM interface for loading the bridge’s subsystem vendor ID register and
subsystem ID register from an EEPROM after a reset on the primary bus. This interface also loads the slot
number register, the device mask register, and the device-type register after a primary reset. The PCI2031 can
trap accesses to the subsystem vendor ID register and subsystem ID register of devices sitting on its secondary
bus, based on the settings of these two registers.
While the EEPROM is loading data into the PCI2031 subsystem vendor ID register and slot number register,
all configuration read accesses to these registers are retried. All configuration reads to registers 2Ch and 40h
of devices (0–7) behind the bridge are also retried. The interface uses general-purpose I/O terminals S_GPIO0
for the clock and S_GPIO1 for data.
The device-type register represents up to six devices on the secondary bus of the PCI2031. Each bit in this
register corresponds to one device. During the address phase of a type 1 configuration cycle, if the value of bit
0 of the device-type register is 1, it implies that the device corresponding to device number 00000 (see bits
AD15–AD11 in Figure 2 on page 13) is a CardBus controller. If the value of bit 0 is 0, it indicates that the device
is a standard PCI device. Bit 1 in the device-type register corresponds to device number 00001, bit 2
corresponds to device number 00010, bit 3 corresponds to device number 00011, and so on.
The device-type and device mask registers control configuration read accesses to a device’s subsystem vendor
ID register. See device mask register and device-type register.
10
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
ThePCI2031readsdatafromtheserialEEPROMstartingataddress00000000. Theslaveaddressoftheserial
EEPROM must be at 10100000 for the PCI2031 to see it. The PCI2031 then reads seven bytes of data from
the EEPROM. The PCI2031 reads the data in the following order:
1. High byte of the subsystem ID
2. Low byte of the subsystem ID
3. High byte of the subsystem vendor ID.
4. Low byte of the subsystem vendor ID
5. Device mask
6. Device type
7. Slot number
The only register that is not programmed in the serial EEPROM is the chassis number register.
11
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
PCI commands
The bridge responds as a PCI target device to PCI bus cycles based on the decoding of each address phase
and internal register settings. Table 2 lists the valid PCI bus cycles and their encoding on the command/byte
enables (C/BE) bus during the address phase of a bus cycle.
Table 2. PCI Command Definition
COMMAND
Interrupt acknowledge
Special cycle
C/BE3–C/BE0
0000
0001
0010
0011
I/O read
I/O write
0100
0101
0110
Reserved
Reserved
Memory read
0111
Memory write
1000
1001
1010
1011
Reserved
Reserved
Configuration read
Configuration write
Memory read multiple
Dual address cycle
Memory read line
Memory write and invalidate
1100
1101
1110
1111
The bridge never responds as a PCI target to the interrupt acknowledge, special cycle, dual address cycle, or
reserved commands. The bridge does, however, initiate special cycles on both interfaces when a type 1
configuration cycle issues the special cycle request. The remaining PCI commands address either memory, I/O,
or configuration space. The bridge accepts PCI cycles by asserting DEVSEL as a medium-speed device, i.e.,
DEVSEL is asserted two clock cycles after the address phase.
configuration cycles
PCI Local Bus Specification 2.1 defines two types of PCI configuration read and write cycles: type 0 and type 1.
The bridge decodes each type differently. Type 0 configuration cycles are intended for devices on the primary
bus, while type 1 configuration cycles are intended for devices at some hierarchically subordinate bus. The
difference between these two types of cycles is the encoding of the primary PCI (P_AD) bus during the address
phase of the cycle. The P_AD bus encoding during the address phase of a type 0 configuration cycle is shown
in Figure 1. The 6-bit register number field represents an 8-bit address with the two lower bits masked to 0,
indicating a double-word boundary. This results in a 256-byte configuration address space per function per
device. Individual byte accesses may be selected within a word by using the P_C/BE signals during the data
phase of the cycle.
31
11
10
Function
number
8
7
2
1
0
Register
number
Reserved
0
0
Figure 1. PCI AD31–AD0 During Address Phase of a Type 0 Configuration Cycle
12
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
configuration cycles (continued)
The bridge claims only type 0 configuration cycles when its P_IDSEL terminal is asserted during the address
phase of the cycle and the PCI function number encoded in the cycle is 0. If the function number is 1 or greater,
the bridge does not recognize the configuration command. In this case, the bridge does not assert DEVSEL and
the configuration transaction results in a master abort. The bridge services valid type 0 configuration read or
write cycles by accessing internal registers from the configuration header (see Table 3).
Becausetype 1 configuration cycles are issued to devices on subordinate buses, the bridge claims type 1 cycles
based on the bus number of the destination bus. The P_AD bus encoding during the address phase of a type 1
cycle is shown in Figure 2. The device number and bus number fields define the destination bus and device for
the cycle.
31
24
23
16
15
11
10
Function
number
8
7
2
1
0
Device
number
Register
number
Reserved
Bus number
0
1
Figure 2. PCI AD31–AD0 During Address Phase of a Type 1 Configuration Cycle
Several bridge configuration registers shown in Table 3 are significant when decoding and claiming type 1
configuration cycles. The destination bus number encoded on the P_AD bus is compared to the values
programmed in the bridge configuration registers 18h, 19h, and 1Ah, which are the primary bus number,
secondary bus number, and subordinate bus number registers, respectively. These registers default to 00h and
are programmed by host software to reflect the bus hierarchy in the system (seeFigure 3 for an example of a
system bus hierarchy and how the PCI2031 bus number registers would be programmed in this case).
PCI Bus 0
PCI2031
Primary Bus
Secondary Bus
Subordinate Bus
PCI2031
Primary Bus
Secondary Bus
Subordinate Bus
00h
01h
02h
00h
03h
03h
PCI Bus 1
PCI Bus 3
PCI2031
Primary Bus
Secondary Bus
Subordinate Bus
01h
02h
02h
PCI Bus 2
Figure 3. Bus Hierarchy and Numbering
13
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
special cycle generation
The bridge is designed to generate special cycles on both buses through a type 1 cycle conversion. During a
type 1 configuration cycle, if the bus number field matches the bridge’s secondary bus number, the device
number field is 1Fh, and the function number field is 07h, the bridge generates a special cycle on the secondary
bus with a message that matches the type 1 configuration cycle data. If the bus number is a subordinate bus
and not the secondary, then the bridge passes the type 1 special cycle request through to the secondary
interface along with the proper message.
Special cycles are never passed through the bridge. Type 1 configuration cycles with a special cycle request
can propagate in both directions.
PCI Local Bus Specification 2.1 compliance
The most significant additions to the PCI Local Bus Specification 2.1 are the latency requirements placed on
PCI peripherals. Minimum response times are specified for a PCI device to respond with valid data. These
requirements are intended to improve throughput and reduce latencies on the PCI bus. The PCI2031 bridge
is fully compliant with these guidelines.
Other additions to revision 2.1 of the PCI specification include the subsystem ID and subsystem vendor ID
registers in the PCI configuration header. The PCI2031 bridge includes these features, as well.
PCI clock run feature
The PCI2031 supports the PCI clock run protocol as defined in the PCI Mobile Design Guide, Revision 1.0.
When the system’s central resource signals to the system that it wants to stop the PCI clock (PCLK) by driving
the primary clock run (P_CLKRUN) signal high, the bridge either signals that it is OK to stop the PCI clock by
leaving P_CLKRUN deasserted (high), or signals to the system to keep the clock running by driving
P_CLKRUN low.
The PCI2031 clock run control register provides a clock run enable bit for the primary bus and a separate clock
run enable bit for the secondary bus. The bridge’s P_CLKRUN and secondary clock run (S_CLKRUN) feature
are enabled by setting bits 3 and 1, respectively, in the clock run control register. Bit 2 of the clock run control
register allows software to enable the bridge’s keep clock running mode to prevent the system from stopping
the PCI clock. There are two conditions for restarting the secondary clock: a downstream transaction restarts
the secondary clock; on the secondary, if S_CLKRUN is asserted, the secondary clock is restarted.
There are two clock run modes supported on the secondary bus. The bridge can be configured to stop the
secondary PCI clock only in response to a request from the primary bus to stop the clock, or it can be configured
to stop the secondary clock whenever the secondary bus is idle and there are no transaction requests from the
primary bus, regardless of the primary clock (see clock run control register).
bus arbitration
The PCI2031 implements bus request (P_REQ) and bus grant (P_GNT) terminals for primary PCI bus
arbitration. Six secondary bus requests and six secondary bus grants are provided on the secondary of the
PCI2031. Seven potential initiators, including the bridge, can be located on the secondary bus. The PCI2031
provides a two-tier arbitration scheme on the secondary bus for priority bus-master handling.
The two-tier arbitration scheme improves performance in systems in which master devices do not all require
the same bandwidth. Any master that requires frequent use of the bus can be programmed to be in the higher
priority tier.
primary bus arbitration
The PCI2031, acting as an initiator on the primary bus, asserts P_REQ when forwarding transactions upstream
to the primary bus. In the upstream direction, as long as a posted write data or a delayed transaction request
is in the queue, the PCI2031 keeps P_REQ asserted. If a target disconnect, a target retry, or a target abort is
received in response to a transaction initiated on the primary bus by the PCI2031, the device deasserts P_REQ
for two PCI clock cycles.
14
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
primary bus arbitration (continued)
When the primary bus arbiter asserts P_GNT in response to a P_REQ from the PCI2031, the device initiates
a transaction on the primary bus during the next PCI clock cycle.
When P_REQ is not asserted and the primary bus arbiter asserts P_GNT to the PCI2031, the device responds
byparkingtheP_AD31–P_AD0bus, theC/BE3–C/BE0 bus, and primary parity (P_PAR) by driving them to valid
logic levels. If the PCI2031 is parking the primary bus and wants to initiate a transaction on the primary, it can
start the transaction on the next PCI clock by asserting the primary cycle frame (P_FRAME) while P_GNT is
still asserted. If P_GNT is deasserted, the bridge must rearbitrate for the bus to initiate a transaction.
internal secondary bus arbitration
Bit 6 of the secondary clock/arbiter disable register at configuration offset 6Ch controls the state of the internal
secondary arbiter. By default, the PCI2031 internal secondary bus arbiter is enabled (bit 6 is 0). The internal
arbiter can be disabled by setting bit 6 to 1. The PCI2031 provides six secondary bus request terminals and six
secondary bus grant terminals. Including the bridge itself, there are a total of seven potential secondary bus
masters. These request and grant signals are connected to the internal arbiter. When an external arbiter is
implemented, S_REQ5–S_REQ1 and S_GNT5–S_GNT1 are 3-stated.
external secondary bus arbitration
An external secondary bus arbiter can be used instead of the PCI2031 internal bus arbiter. When using an
external arbiter, the PCI2031 internal arbiter should be disabled either by using the secondary external arbiter
enable (S_EXTARB) input, or by setting bit 6 of the secondary clock/arbiter disable register (at offset 6Ch) to 1.
When an external secondary bus arbiter is used, the PCI2031 internally reconfigures the S_REQ0 andS_GNT0
signals so that S_REQ0 becomes the secondary bus master grant for the bridge and S_GNT0 becomes the
secondary bus master request for the PCI2031. This is done because S_REQ0 is an input and can thus be used
to provide the grant input to the bridge, and S_GNT0 is an output and can thus provide the request output from
the bridge.
When an external arbiter is used, all unused secondary bus grant outputs (S_GNT5–S_GNT1) are 3-stated.
Any unused secondary bus request inputs (S_REQ5–S_REQ1) should be pulled high to prevent the inputs
from oscillating.
decode options
The PCI2031 supports positive, subtractive, and negative decoding. Positive decoding is a method of address
decoding in which a device responds only to accesses within an assigned address range. Negative decoding
is a method of address decoding in which a device responds only to accesses outside of an assigned address
range. Subtractive decoding is a method of address decoding in which a device responds to accesses not
claimed by any other devices on the bus. Subtractive decoding can be enabled on the primary bus or the
secondary bus.
extension windows with programmable decoding
The PCI2031 provides two programmable 32-bit extension windows. Each window can be programmed to be
a prefetchable memory window, a nonprefetchable memory window, or an I/O window. The TI extension
memory windows have a 4K-byte granularity, and the I/O windows have a double-word granularity. These
extension windows can be positively decoded either on the primary bus or on the secondary bus.
The standard PCI-to-PCI bridge memory and I/O windows specified by the PCI-to-PCI Bridge Specification 1.0
have a 1M-byte and 4K-byte granularity, respectively (see memory base register and I/O base register). The
TI extension windows provide smaller granularity for memory and I/O windows. The extension windows’
granularity matches the requirements of CardBus card windows, which also have 4K-byte granularity for
memory windows and double-word granularity for I/O windows. When a CardBus I/O card is sitting behind the
bridge, the smaller double-word I/O window granularity with the extension windows allows a smaller I/O window
than the 4K-byte window with the standard I/O base and limit registers.
15
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
extension windows with programmable decoding (continued)
A common I/O base address for popular sound cards is 300h–303h. Using the TI extension windows and
configuring the base I/O address for 300h establishes a 4-byte I/O address window from 300h–303h for
communicating with the sound card. Using the bridge’s standard I/O base register requires a minimum 4K-byte
window of memory.
The extension windows can be excluded from the primary bus decoding, thus creating a hole in a primary
window address range.
system error handling
The PCI2031 can be configured to signal a system error (SERR) for a variety of conditions. The SERR control
and status registers, configuration offset 60h and 61h, respectively, provide individual SERR control/status bits
for each condition for which the bridge can signal SERR. These individual bits enable SERR reporting for both
downstream and upstream transactions.
With the exception of the master retry timeout and address parity errors, SERR is signaled on the primary bus
for the following conditions, only if the corresponding bit in the SERR control register is set and the SERR enable
bit in the command register (configuration offset 04h, bit 8) is set. The system error signal (bit 14) in the primary
status register is set whenever the PCI2031 signals SERR.
Whenever the PCI2031 signals SERR on the primary bus, bit 14 in its status register gets set. Whenever the
PCI2031 detects SERR on the secondary bus, bit 14 in the secondary status register gets set (see status
register and secondary status register).
arbiter timeout
If a master on the secondary bus does not start a transaction within 16 clock cycles after receiving the bus grant,
the arbiter times out and generates SERR. When the bridge signals SERR due to an arbiter timeout, bit 0 of
the SERR status register is set. This bit can be cleared by writing a 1.
parity error on posted writes
If bit 1 in the SERR control register is set, parity errors on the target bus can be passed back to the initiator bus
as SERRs, only if the error is not detected by the bridge. For example, if the bridge accepts a posted write
transaction and does not detect a parity error, but the target of the posted write does detect bad parity and
asserts PERR on the target bus, the bridge passes the parity error (PERR) back to the initiator side as SERR.
When this occurs, bit 1 of the SERR status register gets set. The status bit is cleared by writing a 1.
target abort on posted writes
If bit 2 of the SERR control register is set and the bridge gets a target abort during a posted write transaction,
itsignalsSERRontheinitiatorbus. Asaresult, bit2oftheSERRstatusregistergetsset. Thestatusbitiscleared
by writing a 1.
master abort on posted writes
If bit 3 of the SERR control register is set and a posted write transaction results in a master abort, the bridge
signals SERR on the initiator bus. As a result, bit 3 of the SERR status register gets set. The status bit is cleared
by writing a 1.
discard timeout on nonprefetchable reads
If bit 4 of the SERR control register is set and the bridge discard timer expires during a nonprefetchable read
transaction, the bridge signals SERR. As a result, bit 4 of the SERR status register gets set. The status bit is
cleared by writing a 1.
16
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
data parity errors when the PCI2031 is mastering
If bit 5 of the SERR control register is set, the PCI2031 signals SERR when it detects a parity error while it is
mastering the bus. As a result, bit 5 of the SERR status register gets set. The status bit is cleared by writing a 1.
This bit should be enabled only when the bridge is configured for fixing parity.
address parity errors
Iftheparityerrorresponsebit(bit6)ofthecommandregisterisset, thePCI2031signalsSERRonaddressparity
errors and target abort. As a result, bit 6 of the SERR status register gets set. The status bit is cleared by writing
a 1. There is no separate control bit in the SERR control register for reporting this error.
master retry timeout
If the PCI2031 is configured for master retry timeout (bit 15 in the diagnostic register is 1), the PCI2031 signals
SERR when it is mastering the bus and the master retry timer times out. As a result, bit 7 of the SERR status
register gets set. The status bit is cleared by writing a 1. There is no separate control bit in the SERR control
register for reporting this error.
secondary SERR
The PCI2031 passes SERR from the secondary bus to the primary bus if it is enabled for SERR response (bit 8
in the command register is 1), and bit 1 in the bridge control register (configuration offset 03eh) is set.
parity handling and parity error reporting
The PCI2031 can be configured to pass parity or provide parity via bit 14 of the diagnostic register. When this
bit is cleared to 0, the bridge is enabled for passing parity errors. Parity error passing is the default mode in the
bridge. Parity error passing is recommended only if devices in the system are capable of error recovery. The
following parity conditions result in the bridge signaling an error.
address parity error
Iftheparityerrorresponsebit(bit6)inthecommandregisterisset, thePCI2031signalsSERRonaddressparity
errors and target abort transactions. As a result, bit 6 in the SERR status register is set. The status bit is cleared
by writing a 1.
data parity error
If the parity error response bit (bit 6) in the command register is set, the PCI2031 signals PERR when it receives
bad data. When the bridge detects bad parity, bit 15 (detected parity error) in the PCI status register is set.
If the bridge is configured to respond to parity errors via bit 6 in the command register, the data parity error
detected bit (bit 8 in the status register) is set when the bridge detects bad parity. The data parity error detected
bit is also set when the bridge, as a bus master, asserts PERR or detects PERR.
master and target abort handling
If the PCI2031 receives a target abort during a write burst, it signals target abort back on the initiator bus. If it
receives a target abort during a read burst, it provides all of the valid data on the initiator bus and disconnects.
Target aborts for posted and nonposted transactions are reported as specified in the PCI-to-PCI Bridge
Specification 1.0.
Master aborts for posted and nonposted transactions are reported as specified in the PCI-to-PCI Bridge
Specification 1.0. If a transaction is attempted on the primary bus after a secondary reset is asserted, the
PCI2031 follows the master abort mode bit setting (bit 5 in the bridge control register) for reporting errors.
17
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
serialized interrupts
The PCI2031 supports serialized IRQs for systems that support the serialized interrupt standard defined in the
Serialized IRQ Support for PCI Systems Specification 6.0. This specification defines IRQ support for two
PCI-to-PCI bridges connected serially. The specification states that PCI-to-PCI bridges must buffer the
serialized IRQ stream from the secondary PCI bus to the primary PCI bus. The PCI2031 serializer provides the
required buffering.
Bit 0 of the Serialized IRQ Support register (configuration offset 79h) must be set to enable serialized IRQ
support. This register also controls the number of start pulses and the number of data frames. The PCI2031
can be programmed to provide a start pulse of 4 clocks or 6 clocks and the number of IRQ/data frames is
programmable from 17 to 32.
The PCI2031 buffers IRQ data upstream and IRQ stop pulses downstream. In continuous mode, the PCI2031
initiates and completes a start on the secondary side when a start is initiated on the primary side. In quiet mode,
the PCI2031 completes a start initiated by an IRQSER device on its secondary side and also initiates a start
on the primary side.
After a power up or reset in a two-bridge system, both bridges must have IRQ support enabled (bit 0 of the
Serialized IRQ Support register) before any data streams are initiated by the host controller.
The serialized IRQ implementation uses the P_GPIO1 general purpose I/O pin for the primary IRQSER
signaling and the S–GPIO2 general purpose I/O pin for the secondary IRQSER signaling.
discard timer
The PCI2031 is free to discard the data or status of a delayed transaction that was completed with a delayed
10
15
transaction termination when a bus master has not repeated the request within 2 or 2 PCI clocks
(approximately 30 µs and 993 µs, respectively). PCI Local Bus Specification 2.1 recommends that a bridge wait
15
2
PCI clocks before discarding the transaction data or status.
The PCI2031 implements a discard timer for use in delayed transactions. After a delayed transaction is
completed on the destination bus, the bridge may discard it under two conditions. The first condition occurs
when a read transaction is made to a region of memory that the bridge knows is prefetchable, or the command
is a memory read line or a memory read multiple, implying that the memory region is prefetchable. The other
condition occurs when the master originating the transaction (either a read or a write, prefetchable or
10
15
nonprefetchable) has not retried the transaction within 2 or 2 clocks. The number of clocks is tracked by
a timer referred to as the discard timer. When the discard timer expires, the bridge is required to discard the data.
15
10
The PCI2031 default value for the discard timer is 2 clocks; however, this value can be set to 2 clocks by
clearing bit 1 in the diagnostic register (configuration offset 70h–71h). For more information on the discard timer,
see error conditions in PCI Local Bus Specification 2.1.
delayed transactions
The bridge supports delayed transactions as defined in PCI Local Bus Specification 2.1. A target must be able
to complete the initial data phase in 16 PCI clocks or less from the assertion of the cycle frame (FRAME), and
subsequent data phases must complete in eight PCI clocks or less. A delayed transaction consists of
three phases:
An initiator device issues a request.
The target completes the request on the destination bus and signals the completion to the initiator.
The initiator completes the request on the originating bus.
18
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
delayed transactions (continued)
If the bridge is the target of a PCI transaction and it must access a slow device to write or read the requested
data, and the transaction takes longer than 16 clocks, the bridge must latch the address, the command, and
the byte enables, then issue a retry to the initiator. The initiator must end the transaction without any transfer
of data and is required to retry the transaction later using the same address, command, and byte enables. This
is the first phase of the delayed transaction.
During the second phase, if the transaction is a read cycle, the bridge fetches the requested data on the
destination bus, stores it internally, and obtains the completion status, thus completing the transaction on the
destination bus. If it is a write transaction, the bridge writes the data and obtains the completion status, thus
completing the transaction on the destination bus. The bridge stores the completion status until the master on
the initiating bus retries the initial request.
During the third phase, the initiator rearbitrates for the bus. When the bridge sees the initiator retry the
transaction, it compares the second request to the first request. If the address, command, and byte enables
match the values latched in the first request, the completion status (and data if the request was a read) is
transferred to the initiator. At this point, the delayed transaction is complete. If the second request from the
initiator does not match the first request exactly, the bridge issues another retry to the initiator.
When bit 2 of the diagnostic register is 0, the PCI2031 is configured for immediate retry mode. In immediate
retry mode, the bridge issues a retry immediately, instead of after 16 clocks, on delayed transactions.
flush request/flush acknowledge
The bridge implements two active-low signals on the secondary interface for write-posting buffer control. These
signals are secondary flush request (S_FLSHREQ) and secondary flush acknowledge (S_FLSHACK).
S_FLSHREQ is an input to the secondary interface of the bridge to request that internal write posting, in both
directions, be disabled. When the bridge detects S_FLSHREQ is asserted, it responds with an S_FLSHACK
acknowledgment. S_FLSHACK remains asserted (low) until the write-posting buffers are empty.
general-purpose input/output terminals
The PCI2031 provides four primary and four secondary general-purpose input/output (I/O) terminals for design
flexibility. The general-purpose I/O terminals can be used for turning LEDs and other components on and off,
and switching power on and off for different planes in the system and other similar uses. For example:
P_GPIO0 can be configured as an output and used as an interrupt request from the PCI2031 when docking
support is enabled.
P_GPIO2 and P_GPIO3 can be configured as input pins and used as docking station support detect pins
1 and 2, respectively.
S_GPIO0 and S_GPIO1 are used for the serial EEPROM interface between the EEPROM and the
PCI2031. S_GPIO0 serves as the clock line and S_GPIO1 serves as the data line.
P_GPIO1 and S_GPIO2 can be used as primary and secondary bus IRQSER pins, respectively.
slot numbers and chassis numbers
The PCI2031 contains two registers, slot number and chassis number, which help in identifying the physical
location of various controller devices in a server-based system.
In a desktop computer, there are typically just a few PCI expansion slots. These slots usually host a graphics
controller, disk drive controller, and a network controller. Generally, there is no duplication of functionality among
the devices. It is relatively easy to connect the appropriate cables to the devices and to configure this type of
system during power on.
19
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
slot numbers and chassis numbers (continued)
In a network server system, where the server might have multiple connections to several storage subsystems
and LAN segments, identifying a particular device in the network can be difficult. A server might contain several
PCI expansion slots, some of which contain multiple controllers. In this case, it is more difficult to identify a
particular chassis and slot within the chassis that contains a specific controller. In such a server system, if a
controller fails, software must have a way to determine which device failed and communicate this to the system
administrator so it can be replaced.
Atpoweron, thesystemconfigurationsoftwareassignseachsubsystemcabinetachassisnumber. Thenetwork
controllers (e.g., a PCI Ethernet controller) are also identified by slot number. The host server is assigned
chassis 0. The chassis number register in the PCI2031 contains an 8-bit number that designates the chassis
number in which the slots on its secondary bus reside. Multiple PCI buses in the same chassis are assigned
the same number.
For more information, refer to the chapter “Where Do I Plug the Cable?” in the PCI Spring Developers’
Conference and Expo Conference Proceedings published by Annabooks, ISBN 0-929392-34-5.
PCI power management
The PCI power management specification establishes the infrastructure required to let the operating system
control the power of PCI functions. This is done by defining a standard PCI interface and operations to manage
the power of PCI functions on the bus. The PCI bus and the PCI functions can be assigned one of four software
visible power management states, which result in varying levels of power savings.
The four power management states of PCI functions are D0 “Fully on” state, D1, D2 “intermediate states” and
D3 “Off” state. Similarly, bus power states of the PCI bus are B0–B3. The Bus power states B0–B3 are derived
from the device power state of the originating PCI2031 device.
For the operating system to power manage the device power states on the PCI bus, the PCI function supports
four power management operations:
Capabilities reporting
Power status reporting
Setting the power state
System wake–up
The operating system identifies the capabilities of the PCI function by traversing the new capabilities list. The
presence of new capabilities is indicated by a bit in the PCI status register and by providing a access to a
capabilities list.
behavior in low power states
The PCI2031 supports D0, D1, D2, D3 cold, and D3 hot power states. The PCI2031 is fully functional only in
D0 state. In the lower power states, the bridge does not accept any memory or I/O transactions. These
transactions are aborted by the master. The bridge accepts Type 0 configuration cycles in all power states
except D3 cold. The bridge also accepts Type 1 configuration cycles but does not pass these cycles to the
secondary bus in any of the lower power states. Type 1 configuration writes are discarded and reads return all
1’s. All error reporting is done in the low power states. When in D2 and D3 hot states, the bridge turns off all
secondary clocks for further power savings.
When going from D3 hot to D0, an internal reset is generated. This reset initializes all PCI configuration registers
to their default values. All TI specific registers (40h – FFh) are not reset. Power Management registers are also
not reset.
20
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
typical applications
Figure 4 shows two typical applications for the PCI2031 PCI-to-PCI bridge. A system that requires more than
ten PCI loads requires a PCI-to-PCI bridge to overcome the electrical loading limits laid out in the PCI Local Bus
Specification2.1. Since option card slots require two loads each, bridging is necessary on large and expandable
systems. Furthermore, option cards using more than one PCI device require a PCI-to-PCI bridge to limit the load
to the option slot.
Host Bus
Memory
CPU
Host
PCI
PCI
Bridge
Device
Device
PCI Bus 0
PCI Option Card
PCI Option Card
PCI2031
PCI Bus 2
PCI Bus 1
PCI
Device
PCI
Device
(Option)
PCI2031
PCI Option Slot
Figure 4. Typical Bridge Application
21
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
bridge configuration header
The PCI2031 bridge is a single-function PCI device. The configuration header is in compliance with the
PCI-to-PCI Bridge Architecture Specification 1.0, April 5, 1994. Table 3 shows the PCI configuration header,
which includes the predefined portion of the bridge’s configuration space. The PCI configuration offset is shown
in the right column under the OFFSET heading.
Table 3. Bridge Configuration Header
REGISTER NAME
OFFSET
00h
Device ID
Status
Vendor ID
Command
04h
Class code
Header type
Revision ID
08h
BIST
Latency timer
Cache line size
0Ch
10h
Base address 0
Base address 1
14h
Secondary bus latency timer
Subordinate bus number
Secondary bus number
I/O limit
Primary bus number
I/O base
18h
Secondary status
1Ch
20h
Memory limit
Memory base
Prefetchable memory limit
Prefetchable memory base
24h
Prefetchable base upper 32 bits
Prefetchable limit upper 32 bits
28h
2Ch
30h
I/O limit upper 16 bits
I/O base upper 16 bits
Reserved
Expansion ROM base address
Interrupt pin
Capability pointer
34h
38h
Bridge control
Subsystem ID
Interrupt line
Subsystem vendor ID
3Ch
40h
Extension window base 0
Extension window limit 0
Extension window base 1
Extension window limit 1
Reserved
44h
48h
4Ch
50h
54h–5Ch
60h
Reserved
Primary decode control
Reserved
SERR status
SERR control
Secondary decode control
Extension window map
Extension window enable
64h
Port decode map
Port decode enable
68h
Clock run control
Bridge arbitration
Buffer control
Secondary clock/arbiter disable
6Ch
70h
Diagnostic status
Diagnostic control
GPIO output data
GPIO direction control
Arbiter request mask
GPIO input data
GPIO output select
Docking support
74h
Arbiter timeout status
Serialized IRQ support
78h
Reserved
7Ch
80h
Power management capabilities
Next item pointer
Capability ID
Reserved
PMCSR Bridge Support
Power management control/status
84h
Reserved
Reserved
88h–EFh
F0h
Device type
Device mask
Chassis number
Slot number
F4h–FFh
22
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
vendor ID register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Vendor ID
R
0
R
0
R
0
R
1
R
0
R
0
R
0
R
0
R
0
R
1
R
0
R
0
R
1
R
1
R
0
R
0
Register:
Type:
Offset:
Default:
Vendor ID
Read only
00h
104Ch
Description: This 16-bit value is allocated by the PCI SIG (special interest group) and identifies TI as the
manufacturer of this device. The vendor ID assigned to TI is 104Ch.
device ID register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Device ID
R
1
R
0
R
1
R
0
R
1
R
1
R
0
R
0
R
0
R
0
R
1
R
0
R
0
R
0
R
0
R
1
Register:
Type:
Offset:
Default:
Device ID
Read only
02h
AC21h
Description: This 16-bit value is allocated by the vendor and identifies the PCI device. The device ID for the
PCI2031 is AC21h.
23
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
command register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Command
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
R
0
R/W
0
R/W
0
R
0
R
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Command
Read only, read/write (see individual bit descriptions)
Offset:
Default:
04h
0000h
Description: The command register provides control over the bridge’s interface to the primary PCI bus.
Palette snooping is enabled through this register, and all other bits adhere to the definitions in
the PCI Local Bus Specification 2.1. Table 4 describes the bit functions in the
command register.
Table 4. Command Register
BIT
TYPE
FUNCTION
15–10
R
Reserved
Fast back-to-back enable. The bridge does not generate fast back-to-back transactions on the primary PCI bus. Bit 9 is
read/write, but does not affect the bridge when set. This bit defaults to 0.
9
8
7
6
R/W
R/W
R
System error (SERR) enable. Bit 8 controls the enable for the SERR driver on the primary interface.
0 = Disable SERR driver on primary interface (default)
1 = Enable the SERR driver on primary interface
Wait cycle control. Bit 7 controls address/data stepping by the bridge on both interfaces. The bridge does not support
address/data stepping and this bit is hardwired to 0.
Parity error response enable. Bit 6 controls the bridge’s response to parity errors.
0 = Parity error response disabled (default)
R/W
1 = Parity error response enabled
VGA palette snoop enable. When set, the bridge passes I/O writes on the primary PCI bus with addresses 3C6h, 3C8h,
and 3C9h inclusive of ISA aliases (i.e., only bits AD9–AD0 are included in the decode).
5
4
3
R/W
R
Memory write and invalidate enable. In a PCI-to-PCI bridge, bit 4 must be read only and return 0 when read.
Special cycle enable. A PCI-to-PCI bridge cannot respond as a target to special cycle transactions, so bit 3 is defined as
read only and must return 0 when read.
R
Bus master enable. Bit 2 controls the bridge’s ability to initiate a cycle on the primary PCI bus. When bit 2 is 0, the bridge
does not respond to any memory or I/O transactions on the secondary interface since they cannot be forwarded to the
primary PCI bus.
2
R/W
0 = Bus master capability disabled (default)
1 = Bus master capability enabled
Memory space enable. Bit 1 controls the bridge’s response to memory accesses for both prefetchable and
nonprefetchable memory spaces on the primary PCI bus. Only when bit 1 is set will the bridge forward memory accesses
to the secondary bus from a primary bus initiator.
1
0
R/W
R/W
0 = Memory space disabled (default)
1 = Memory space enabled
I/O space enable. Bit 0 controls the bridge’s response to I/O accesses on the primary interface. Only when bit 0 is set will
the bridge forward I/O accesses to the secondary bus from a primary bus initiator.
0 = I/O space disabled (default)
1 = I/O space enabled
24
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
status register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Status
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
1
R/W
0
R
0
R
0
R
0
R
1
R
0
R
0
R
0
R
0
Register:
Type:
Status
Read only, read/write (see individual bit descriptions)
Offset:
Default:
06h
0210h
Description: The status register provides device information to the host system. This register is read only.
Bits in this register are cleared by writing a 1 to the respective bit; writing a 0 to a bit location
has no effect. Table 5 describes the status register.
Table 5. Status Register
BIT
TYPE
FUNCTION
15
R/W
Detected parity error. Bit 15 is set when a parity error is detected.
Signaled system error (SERR). Bit 14 is set if SERR is enabled in the command register and the bridge signals a system
error (SERR). See system error handling.
0 = No SERR signaled (default)
1 = Signals SERR
14
13
12
R/W
R/W
R/W
Received master abort. Bit 13 is set when a cycle initiated by the bridge on the primary bus has been terminated by a
master abort.
0 = No master abort received (default)
1 = Master abort received
Received target abort. Bit 12 is set when a cycle initiated by the bridge on the primary bus has been terminated by a target
abort.
0 = No target abort received (default)
1 = Target abort received
Signaled target abort. Bit 11 is set by the bridge when it terminates a transaction on the primary bus with a target abort.
0 = No target abort signaled by the bridge (default)
11
R/W
R
1 = Target abort signaled by the bridge
DEVSEL timing. These read-only bits encode the timing of P_DEVSEL and are hardwired 01b, indicating that the bridge
asserts this signal at a medium speed.
01 = Hardwired (default)
10–9
Data parity error detected. Bit 8 is encoded as:
0 = The conditions for setting this bit have not been met. No parity error detected. (default)
1 = A data parity error occurred and the following conditions were met:
a. P_PERR was asserted by any PCI device including the bridge.
b. The bridge was the bus master during the data parity error.
c. The parity error response bit is set in the command register.
8
7
R/W
R
Fast back-to-back capable. The bridge does not support fast back-to-back transactions as a target; therefore, bit 7 is
hardwired to 0.
User-definable feature (UDF) support. The PCI2031 does not support the user-definable features; therefore, bit 6 is
hardwired to 0.
6
5
R
R
R
R
66 MHz capable. The PCI2031 operates at a maximum P_CLK frequency of 33 MHz; therefore, bit 5 is hardwired to 0.
Capabilities list. Bit 4 is read only and is hardwired to 1, indicating that capabilities additional to standard PCI are
implemented. The linked list of PCI power managment capabiities is implemented by this function.
4
3–0
Reserved
25
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
revision ID register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Revision ID
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Revision ID
Read only
08h
00h (reflects the current revision of the silicon)
Description: The revision ID register indicates the silicon revision of the PCI2031.
class code register
Bit
23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Name
Class code
Sub class
Base class
Programming interface
Type
R
0
R
0
R
0
R
0
R
0
R
1
R
1
R
0
R
0
R
0
R
0
R
0
R
0
R
1
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Default
Register:
Type:
Offset:
Default:
Class code
Read only
09h
060400h
Description: TheclasscoderegistercategorizesthePCI2031asaPCI-to-PCIbridgedevice(0604h)witha
00h programming interface (lower byte = 00h).
cache line size register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Cache line size
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Cache line size
Read/write
0Ch
00h
Description: The cache line size register is programmed by host software to indicate the system cache line
size needed by the bridge on memory read line and memory read multiple transactions.
26
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
latency timer register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Latency timer
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Latency timer
Read/write
0Dh
00h
Description: The latency timer register specifies the latency timer for the bridge in units of PCI clock cycles.
When the bridge is a primary PCIbusinitiatorandassertsP_FRAME, thelatencytimerbegins
counting from 0. If the latency timer expires before the bridge transaction has terminated, the
bridge terminates the transaction when its P_GNT is deasserted.
header type register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Header type
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
1
Register:
Type:
Offset:
Default:
Header type
Read only
0Eh
01h
Description: The header type register is read only and returns 01h when read, indicating that the PCI2031
configuration space adheres to the PCI-to-PCI bridge configuration. Only the layout for bytes
10h–3Fh of configuration space is considered.
BIST register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
BIST
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
BIST
Read only
0Fh
00h
Description: The PCI2031 does not support built-in self test (BIST). The BIST register is read only and
returns the value 00h when read.
27
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
base address register 0
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Base address register 0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
9
R
0
8
R
0
7
R
0
6
R
0
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
15
14
13
12
11
10
Name
Type
Default
Base address register 0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Base address register 0 (BAR0)
Read only
10h
0000 0000h
Description: The bridge requires no additional resources. BAR0 is read only and returns 0s when read.
base address register 1
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Base address register 1
R
0
R
0
R
0
R
0
R
0
R
0
R
0
9
R
0
8
R
0
7
R
0
6
R
0
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
15
14
13
12
11
10
Name
Type
Default
Base address register 1
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Base address register 1 (BAR1)
Read only
14h
0000 0000h
Description: The bridge requires no additional resources. BAR1 is read only and returns 0s when read.
primary bus number register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Primary bus number
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Primary bus number
Read/write
18h
00h
Description: The primary bus number register indicates the primary bus number to which the bridge is
connected. The bridge uses this register, in conjunction with the secondary bus number and
subordinate bus number registers, to determine when to forward PCI configuration cycles to
the secondary buses.
28
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
secondary bus number register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Secondary bus number
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Secondary bus number
Read/write
19h
00h
Description: The secondary bus number register indicates the secondary bus number to which the bridge
is connected. The PCI2031 uses this register, in conjunction with the primary bus number and
subordinate bus number registers, to determine when to forward PCI configuration cycles to
the secondary buses. Configuration cycles directed to the secondary bus are converted to
type 0 configuration cycles.
subordinate bus number register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Subordinate bus number
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Subordinate bus number
Read/write
1Ah
00h
Description: The subordinate bus number register indicates the bus number of the highest numbered bus
beyond the primary bus existing behind the bridge. The PCI2031 uses this register, in
conjunction with the primary bus number and secondary bus number registers, to determine
when to forward PCI configuration cycles to the subordinate buses. Configuration cycles
directed to a subordinate bus (not the secondary bus) remain type 1 cycles as the cycle
crosses the bridge.
secondary bus latency timer register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Secondary bus latency timer
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Secondary bus latency timer
Read/write
1Bh
00h
Description: The secondary bus latency timer specifies the latency timer for the bridge in units of PCI clock
cycles. When the bridge is a secondary PCI bus initiator and asserts S_FRAME, the latency
timer begins counting from 0. If the latency timer expires before the bridge transaction has
terminated, the bridge terminates the transaction when its S_GNT is deasserted. The
PCI-to-PCIbridge’sS_GNTisaninternalsignal, andisremovedwhenanothersecondarybus
master arbitrates for the bus.
29
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
I/O base register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
I/O base
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
1
Register:
Type:
I/O base
Read only, read/write
Offset:
Default:
1Ch
01h
Description: The I/O base register is used in decoding I/O addresses to pass through the bridge. The
bridge supports 32-bit I/O addressing; thus, bits 3–0 are read only and default to 0001b. The
upper four bits are writable and correspond to address bits AD15–AD12. The lower
12 address bits of the I/O base address are considered 0. Thus, the bottom of the defined I/O
address range is aligned on a 4K-byte boundary. The upper 16 address bits of the 32-bit I/O
base address corresponds to the contents of the I/O base upper 16-bit register (register 30h).
I/O limit register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
I/O limit
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
1
Register:
Type:
I/O limit
Read only, read/write
Offset:
Default:
1Dh
01h
Description: The I/O limit register is used in decoding I/O addresses to pass through the bridge. The bridge
supports 32-bit I/O addressing; thus, bits 3–0 are read only and default to 0001b. The upper
four bits are writable and correspond to address bits AD15–AD12. The lower 12 address bits
of the I/O limit address are considered FFFh. Thus, the top of the defined I/O address range is
aligned on a 4K-byte boundary. The upper 16 address bits of the 32-bit I/O limit address
corresponds to the contents of the I/O limit upper 16-bit register (register 32h).
30
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
secondary status register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Secondary status
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
1
R/W
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Secondary status
Read only, read/write (see individual bit descriptions)
Offset:
Default:
1Eh
0200h
Description: The secondary status register is similar in function to the status register at configuration offset
06h; however, its bits reflect status conditions of the secondary interface. Bits in this register
are cleared by writing a 1 to the respective bit.
Table 6. Secondary Status Register
BIT
TYPE
FUNCTION
Detected parity error. Bit 15 is set when a parity error is detected on the secondary interface.
0 = No parity error detected on the secondary bus (default)
15
R/W
1 = Parity error detected on the secondary bus
Received system error. Bit 14 is set when the secondary interface detects S_SERR asserted. Note that the bridge never
asserts S_SERR.
14
13
12
R/W
R/W
R/W
0 = No S_SERR detected on the secondary bus (default)
1 = S_SERR detected on the secondary bus
Received master abort. Bit 13 is set when a cycle initiated by the bridge on the secondary bus has been terminated by
a master abort.
0 = No master abort received (default)
1 = Bridge master aborted the cycle
Received target abort. Bit 12 is set when a cycle initiated by the bridge on the secondary bus has been terminated by a
target abort.
0 = No target abort received (default)
1 = Bridge received a target abort
Signaled target abort. Bit 11 is set by the bridge when it terminates a transaction on the secondary bus with a target abort.
0 = No target abort signaled (default)
11
R/W
R
1 = Bridge signaled a target abort
DEVSELtiming. Theseread-onlybitsencodethetimingofS_DEVSELandarehardwiredto01b, indicatingthatthebridge
asserts this signal at a medium speed.
10–9
Data parity error detected.
0 = The conditions for setting this bit have not been met
1 = A data parity error occurred and the following conditions were met:
a. S_PERR was asserted by any PCI device including the bridge.
b. The bridge was the bus master during the data parity error.
c. The parity error response bit is set in the bridge control register.
8
R/W
7
6
R
R
R
R
Fast back-to-back capable. Bit 7 is hardwired to 0.
User-definable feature (UDF) support. Bit 6 is hardwired to 0.
66 MHz capable. Bit 5 is hardwired to 0.
Reserved
5
4–0
31
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
memory base register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Memory base
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
0
Register:
Type:
Memory base (memory-mapped I/O base)
Read only, read/write
Offset:
Default:
20h
0000h
Description: The memory base register defines the base address of a memory-mapped I/O address range
used by the bridge to determine when to forward memory transactions from one interface to
the other. The upper 12 bits of this register are read/write and correspond to the address bits
AD31–AD20. The lower 20 address bits are considered 0s; thus, the address range is aligned
to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
memory limit register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Memory limit
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
0
Register:
Type:
Memory limit (memory-mapped I/O limit)
Read only, read/write
Offset:
Default:
22h
0000h
Description: The memory limit register defines the upper-limit address of a memory-mapped I/O address
range used to determine when to forward memory transactions from one interface to the
other. The upper 12 bits of this register are read/write and correspond to the address bits
AD31–AD20. The lower 20 address bits are considered 1s; thus, the address range is aligned
to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
prefetchable memory base register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Prefetchable memory base
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
0
Register:
Type:
Prefetchable memory base
Read only, read/write
Offset:
Default:
24h
0000h
Description: The prefetchable memory base register defines the base address of a prefetchable memory
address range used by the bridge to determine when to forward memory transactions from
one interface to the other. The upper 12 bits of this register are read/write and correspond to
the address bits AD31–AD20. The lower 20 address bits are considered 0; thus, the address
range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s
when read.
32
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
prefetchable memory limit register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Prefetchable memory limit
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R
0
Register:
Type:
Prefetchable memory limit
Read only, read/write
Offset:
Default:
26h
0000h
Description: The prefetchable memory limit register defines the upper-limit address of a prefetchable
memory address range used to determine when to forward memory transactions from one
interface to the other. The upper 12 bits of this register are read/write and correspond to the
address bits AD31–AD20. The lower 20 address bits are considered 1s; thus, the address
range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s
when read.
prefetchable base upper 32-bits register
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Prefetchable base upper 32 bits
R
0
R
0
R
0
R
0
R
0
R
0
R
0
9
R
0
8
R
0
7
R
0
6
R
0
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
15
14
13
12
11
10
Name
Type
Default
Prefetchable base upper 32 bits
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Prefetchable base upper 32 bits
Read only
28h
0000 0000h
Description: The PCI2031 does not support 64-bit addressing; thus, the prefetchable base upper 32-bit
register is read only and returns 0s when read.
prefetchable limit upper 32-bits register
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Prefetchable limit upper 32 bits
R
0
R
0
R
0
R
0
R
0
R
0
R
0
9
R
0
8
R
0
7
R
0
6
R
0
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
15
14
13
12
11
10
Name
Type
Default
Prefetchable limit upper 32 bits
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Prefetchable limit upper 32 bits
Read only
2Ch
0000 0000h
Description: The PCI2031 does not support 64-bit addressing; thus the prefetchable limit upper 32-bit
register is read only and returns 0s when read.
33
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
I/O base upper 16-bits register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
I/O base upper 16 bits
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
I/O base upper 16 bits
Read only
30h
0000h
Description: The I/O base upper 16-bits register specifies the upper 16 bits corresponding to AD31–AD16
of the 32-bit address that specifies the base of the I/O range to forward from the primary PCI
bus to the secondary PCI bus.
I/O limit upper 16-bits register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
I/O limit upper 16 bits
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
I/O limit upper 16 bits
Read only
32h
0000h
Description: TheI/Olimitupper16-bitsregisterspecifiestheupper16bitscorrespondingtoAD31–AD16of
the 32-bit address that specifies the upper limit of the I/O range to forward from the primary
PCI bus to the secondary PCI bus.
capability pointer register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Capability pointer register
R
1
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
capability pointer
Read only
34h
80h
Description: The capability pointer register provides the pointer to the PCI configuration header where the
PCI power management register block resides. The capability pointer provides access to the
first item in the linked list of capabilities. The capability pointer register is read only and returns
80h when read, indicating the power management registers are located at PCI header offset
80h.
34
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
expansion ROM base address register
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Expansion ROM base address
R
0
R
0
R
0
R
0
R
0
R
0
R
0
9
R
0
8
R
0
7
R
0
6
R
0
5
R
0
4
R
0
3
R
0
2
R
0
1
R
0
0
15
14
13
12
11
10
Name
Type
Default
Expansion ROM base address
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Expansion ROM base address
Read only
38h
0000 0000h
Description: The PCI2031 does not implement the expansion ROM remapping feature. The expansion
ROM base address register returns all 0s when read.
interrupt line register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Interrupt line
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
Register:
Type:
Offset:
Default:
Interrupt line
Read/write
3Ch
FFh
Description: The interrupt line register is read/write and is used to communicate interrupt line routing
information. Since the bridge does not implement an interrupt signal pin, this register defaults
to FFh.
interrupt pin register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Interrupt pin
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
Interrupt pin
Read only
3Dh
00h
Description: The bridge default state does not implement any interrupt pins. Reads from bits 7–1 of this
registerreturn0s. Whendockingsupportisenabled, bit0ofthisregisteris1andbits7–1are0.
NOTE:
Whendockingsupportisenabled, bit0is1. P_GPIO0shouldberoutedtoINTAonthesystemboard
for docking interrupt support.
35
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
bridge control register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Bridge control
R
0
R
0
R
0
R
0
R
0
R
0
R
1
R
1
R
0
R/W
1
R/W
0
R
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Bridge control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
3Eh
0000h
Description: The bridge control register provides many of the same controls for the secondary interface
that are provided by the command register for the primary interface. Some bits affect the
operation of both interfaces.
36
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 7. Bridge Control Register
BIT
15–8
7
TYPE
FUNCTION
Reserved. These bits are read only and return 0s when read.
R
R
Fast back-to-back capable. The bridge never generates fast back-to-back transactions to different secondary devices.
Secondarybus reset. When bit 6 is set, the secondary reset signal (S_RST) is asserted. S_RSTisdeassertedbyresetting
this bit. Bit 6 is encoded as:
6
R/W
0 = Do not force the assertion of S_RST (default).
1 = Force the assertion of S_RST.
Masterabortmode.Bit5controlshowthebridgerespondstoamasterabortthatoccursoneitherinterfacewhenthebridge
is the master. If this bit is set and the posted write transaction has completed on the requesting interface, if enabled
P_SERR is asserted when a master abort occurs. If the transaction has not completed, a target abort is signaled. If the
bit is cleared, all 1s are returned on reads, and write data is accepted and discarded when a transaction that crosses the
bridge is terminated with master abort. The default state of bit 5 after a reset is 0.
5
4
3
R/W
R
0 = Do not report master aborts (return FFFF FFFFh on reads and discard data on writes) (default).
1 = Report master aborts by signaling target abort if possible, or if SERR is enabled via bit 1 of this register,
by asserting SERR.
Reserved. Returns 0 when read. Writes have no effect.
VGA enable. When bit 3 is set, the bridge positively decodes and forwards VGA-compatible memory addresses in the
video frame buffer range 000A0000h–000BFFFFh, I/O addresses in the range 03B0h–03BBh, and 03C0–03DFh from
theprimary to the secondary interface, independent of the I/O and memory address ranges. When this bit is set, the bridge
blocks forwarding of these addresses from the secondary to the primary. Reset clears this bit. Bit 3 is encoded as:
0 = Do not forward VGA-compatible memory and I/O addresses from the primary to the secondary interface.
(default).
R/W
1 = Forward VGA-compatible memory and I/O addresses from the primary to the secondary, independent
of the I/O and memory address ranges and independent of the ISA enable bit.
ISA enable. When bit 2 is set, the bridge blocks the forwarding of ISA I/O transactions from the primary to the secondary,
addressing the last 768 bytes in each 1K-byte block. This applies only to the addresses (defined by the I/O window
registers) that are located in the first 64K bytes of PCI I/O address space. From the secondary to the primary, I/O
transactions are forwarded if they address the last 768 bytes in each 1K-byte block in the address range specified in the
I/O window registers. Bit 2 is encoded as:
2
R/W
0 = Forward all I/O addresses in the address range defined by the I/O base and I/O limit registers (default).
1 = Block forwarding of ISA I/O addresses in the address range defined by the I/O base and I/O limit
registers when these I/O addresses are in the first 64K bytes of PCI I/O address space and address
the top 768 bytes of each 1K-byte block.
SERR enable. Bit 1 controls the forwarding of secondary interface SERR assertions to the primary interface. Only when
this bit is set will the bridge forward S_SERR to the primary bus signal P_SERR. For the primary interface to assert SERR,
bit 8 of the command register must be set.
0 = SERR disabled (default)
1 = SERR enabled
1
0
R/W
R/W
Parity error response enable. Bit 0 controls the bridge’s response to parity errors on the secondary interface. When this
bit is set, the bridge asserts S_PERR to report parity errors on the secondary interface.
0 = Ignore address and parity errors on the secondary interface (default).
1 = Enable parity error reporting and detection on the secondary interface.
37
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
extension registers
The TI extension registers are those registers that lie outside the standard PCI-to-PCI bridge device
configuration space (i.e., registers 40h–FFh in PCI configuration space in the PCI2031). These registers can
be accessed through configuration reads and writes. The TI extension registers add flexibility and performance
benefits to the standard PCI-to-PCI bridge.
subsystem vendor ID register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Subsystem vendor
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Subsystem vendor ID
Read/write
Offset:
Default:
40–41h
0000h
Description: The subsystem vendor ID register is read/write and has a default value of 0000h. An add-in
card manufacturer using the PCI2031 may write to this register via a device driver for
identification purposes. Optionally, this register can also be loaded from EEPROM by the
serial EEPROM interface. In this case, device drivers should not overwrite this value.
subsystem ID register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Subsystem ID
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Offset:
Default:
Subsystem ID
Read only
42h–43h
0000h
Description: The subsystem ID register is read/write and has a default value of 0000h. An add-in card
manufacturer using the PCI2031 may write to this register via a device driver for identification
purposes. Optionally, this register can also be loaded from EEPROM by the serial EEPROM
interface. In this case, device drivers should not overwrite this value.
38
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
extension window base registers 0,1
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Extension window base 0,1
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Extension window base 0,1
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
Register:
Type:
Offset:
Default:
Extension window base 0, 1
Read only, read/write
44h, 4Ch
0000 0000h
Description: The bridge supports two extension windows that define an address range decoded as
described in the window enable register and window map register. The extension window
base registers define the 32-bit base address of the window.
extension window limit registers 0,1
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Name
Type
Default
Bit
Extension window limit 0,1
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Extension window limit 0,1
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Extension window limit 0, 1
Read/write
Offset:
Default:
48h, 50h
0000 0000h
Description: The bridge supports two extension windows. Each window defines an address range that is
decoded as described in the window enable register and window map register. The extension
window limit registers define the 32-bit limit address of the window.
Bits0and1ofthisregisterdeterminewhethertheextensionwindowisaprefetchablememory
window, a nonprefetchable window, or an I/O window. These bits are encoded as:
00 = Nonprefetchable memory
01 = Prefetchable memory
1x = I/O
Memory windows have a 4K-byte granularity and I/O windows have a double-word (4 byte)
granularity. When a memory window is selected, bits 11–2 have no effect and are assumed to
be 1s for the limit register and 0s for the base register. This is consistent with the 4K-byte
granularity of the memory windows.
39
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
SERR control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
SERR control
R
0
R
0
R/W
0
R/W
1
R/W
1
R/W
1
R/W
1
R/W
0
Register:
Type:
SERR control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
60h
0Eh
Description: The system error (SERR) control register enables SERR reporting. The SERR status register
(configuration offset 61h) reflects the status of each bit in the SERR control register.
Table 8. SERR Control Register
BIT
TYPE
FUNCTION
7–6
R
Reserved
Data parity error. When set, bit 5 enables PERR reporting on transactions involving data parity errors when the bridge
is mastering the bus. This bit should be enabled only when the bridge is configured for fixing parity errors.
0 = Data parity error when bridge is mastering disabled (default)
5
4
R/W
R/W
1 = Data parity error when bridge is mastering enabled
Discard timeout on nonprefetchable reads. When set, bit 4 enables SERR reporting when the discard timer expires on
nonprefetchable reads.
0 = Discard timeout disabled
1 = Discard timeout enabled (default)
Master abort on posted write transactions. When set, bit 3 enables SERR reporting on master aborts on posted write
transactions.
3
2
1
0
R/W
R/W
R/W
R/W
0 = Master aborts on posted writes disabled
1 = Master aborts on posted writes enabled (default)
Target abort on posted writes. When set, bit 2 enables SERR reporting on target aborts on posted write transactions.
0 = Target aborts on posted writes disabled
1 = Target aborts on posted writes enabled (default)
Parity error on posted writes. When set, bit 1 enables SERR reporting when a parity error occurs during a posted write
transaction.
0 = Parity error on posted writes
1 = Parity error on posted writes (default)
Arbiter timeout. When set, bit 0 enables SERR reporting when the arbiter timer expires (times out).
0 = SERR on arbiter timeout disabled (default)
1 = SERR on arbiter timeout enabled
40
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
SERR status register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
SERR status
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
SERR status
Read only (see individual bit descriptions)
Offset:
Default:
61h
00h
Description: The SERR status register reflects the status of the SERR control register.
Table 9. SERR Status Register
BIT
TYPE
FUNCTION
Master timeout SERR status. When set, bit 7 indicates that SERR has occurred due to a master timeout. The master retry
enable bit (bit 15 of the diagnostic register) also enables the SERR response. Writing a 1 to this bit clears it.
0 = No SERR (default)
7
R
1 = Master timeout has caused SERR
AddressparityerrorSERRstatus. Whenset, bit6indicatesthatSERRhasoccurredduetoanaddressparityerror. Writing
a 1 to this bit clears it.
6
5
4
3
2
1
0
R
R
R
R
R
R
R
0 = No SERR (default)
1 = Address parity error has caused SERR
Data parity error SERR status. When set, bit 5 indicates that SERR has occurred on a transaction involving data parity
errors while the bridge was mastering the bus. Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = Data parity error while bridge was mastering has caused SERR
Discard timeout on nonprefetchable reads SERR status. When set, bit 4 indicates that SERR has occurred due to
expiration of the discard timer on nonprefetchable reads. Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = Discard timeout enabled has caused an SERR
Masterabort on posted write transactions SERR status. When set, bit 3 indicates that SERR has occurred due to a master
abort on a posted write transaction. Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = SERR occurred due to a master abort on a posted write transaction
Target abort on posted writes SERR status. When set, bit 2 indicates that SERR has occurred due to a target abort on
a posted write transaction. Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = SERR occurred due to a target abort on a posted write transaction
Parity error on posted writes SERR status. When set, bit 1 indicates that SERR has occurred due to a parity error during
a posted write transaction. Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = SERR occurred due to a parity error during a posted write transaction
Arbiter timeout SERR status. When set, bit 0 indicates that SERR has occurred due to the expiration of the arbiter timer.
Writing a 1 to this bit clears it.
0 = No SERR (default)
1 = SERR occurred due to an arbiter timeout
41
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
extension window enable register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Extension window enable
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
Register:
Type:
Extension window enable
Read only, read/write (see individual bit descriptions)
Offset:
Default:
64h
00h
Description: The decode of the extension windows is enabled through bits 0 and 1 of this register.
Table 10. Extension Window Enable Register
BIT
TYPE
FUNCTION
7–2
R
Reserved
Extension window 1 interface enable
0 – Disable window 1 (default)
1 – Enable window 1
1
0
R/W
R/W
Extension window 0 interface enable
0 – Disable window 0 (default)
1 – Enable window 0
extension window map register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Extension window map
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
Register:
Type:
Extension window map
Read only, read/write (see individual bit descriptions)
Offset:
Default:
65h
00h
Description: The inclusion or exclusion of the extension windows on the primary interface is selected
through bits 0 and 1 of this register. The bit descriptions discuss the decode in reference to the
primary interface. The secondary interface is the negative decode of the primary interface.
Regions excluded on the primary interface can be positively decoded on the secondary
interface if negative decoding is disabled on the secondary interface.
Table 11. Extension Window Map Register
BIT
TYPE
FUNCTION
7–2
R
Reserved
Extension window 1 interface include/exclude
0 = Extension window 1 included in primary interface decode (default)
1 = Extension window 1 excluded in primary interface decode
Extension window 0 interface include/exclude
1
0
R/W
R/W
0 = Extension window 0 included in primary interface decode (default)
1 = Extension window 0 excluded in primary interface decode
42
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
secondary decode control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Secondary decode control
R
0
R
0
R
0
R
0
R
0
R/W
1
R/W
1
R/W
0
Register:
Type:
Secondary decode control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
66h
06h
Description: The secondary decode control register is used to enable/disable the secondary-bus negative
decoding, and only through this register can an extension window be defined for positive
decoding or excluded from negative decoding from the secondary bus to the primary bus. The
window interface bits in the window control registers must be set for the extension window
definitions in this register to have meaning.
Table 12. Secondary Decode Control Register
BIT
TYPE
FUNCTION
7–3
R
Reserved
Secondary-bus subtractive decode speed. The bridge defaults to subtractive decoding after slow decode speed (four
clocks after FRAME is asserted). Bit 0 must be set to enable subtractive decoding. When bit 0 and this bit are set,
subtractive decoding is enabled at slow decode speed. This bit is encoded as:
0 = Selects normal subtractive decode speed.
2
1
R/W
R/W
1 = Selects subtractive decode in the slow decode time slot (default).
Secondary bus negative decode enable. The bridge defaults to negative decoding on the secondary PCI bus. All
transactions that do not fall into windows positively decoded from the primary to the secondary are passed through to the
primary bus. This bit is encoded as:
0 = Disable secondary-bus negative decoding.
1 = Enable secondary-bus negative decoding (default).
Secondary-bus subtractive decode enable. The bridge defaults to negative decoding on the secondary PCI bus. When
bit 0 is set, the bridge uses subtractive decoding on the secondary bus. When the bridge is using negative decoding on
the secondary, all transactions not claimed by a slow device on the secondary bus are passed through the bridge to the
primary bus. This bit is encoded as:
0
R/W
0 = Disable secondary bus subtractive decoding (default).
1 = Enable secondary bus subtractive decoding.
primary decode control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Primary decode control
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
Register:
Type:
Primary decode control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
67h
00h
Description: The primary decode control register is used to enable and disable the primary-bussubtractive
decoding and to select the primary-bus subtractive decode speed. The bridge defaults to
primary-bus subtractive decoding disabled (bit 0 is cleared).
43
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 13. Primary Decode Control Register
BIT
TYPE
FUNCTION
7–2
R
Reserved
Primary-bus subtractive decode speed. The bridge defaults to subtractive decoding after slow decode speed (four clocks
after FRAME is asserted). Bit 0 must be set to enable subtractive decoding. When bit 0 and this bit are set, subtractive
decoding is enabled at slow decode speed. This bit is encoded as:
1
0
R/W
R/W
0 = Selects normal subtractive decode speed on primary bus (default).
1 = Selects subtractive decode in the slow decode time slot on the primary bus.
Primary-bus subtractive decode enable. The bridge defaults to subtractive decoding disabled from the primary to
secondary PCI bus. Each PCI bus can have only one subtractive decode device.
0 = Disable primary bus subtractive decoding (default)
1 = Enable primary bus subtractive decoding
port decode enable register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Port decode enable
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Port decode enable
Read only, read/write (see individual bit descriptions)
Offset:
Default:
68h–69h
0000h
Description: The port decode enable register is used to select which serial and parallel port addresses are
positively decoded from the bridge’s primary bus to the secondary bus.
Table 14. Port Decode Enable Register
BIT
TYPE
FUNCTION
15–7
R
Reserved.
LPT3 enable. When bit 6 is set, the address ranges 278h–27Fh and 678h–67Bh are positively decoded and the cycles
passed to the secondary bus based on the setting of bit 6 of the port decode map register.
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
LPT2 enable. When bit 5 is set, the address ranges 378h–37Fh and 778h–77Bh are positively decoded and the cycles
passed to the secondary bus based on the setting of bit 5 of the port decode map register.
LPT1 enable. When bit 4 is set, the address ranges 3BCh–3BFh and 7BCh–7BFh are positively decoded and the cycles
passed to the secondary bus based on the setting of bit 4 of the port decode map register.
COM4 enable. When bit 3 is set, the address range 2E8h–2EFh is positively decoded and the cycles passed to the
secondary bus based on the setting of bit 3 of the port decode map register.
COM3 enable. When bit 2 is set, the address range 3E8h–3EFh is positively decoded and the cycles passed to the
secondary bus based on the setting of bit 2 of the port decode map register.
COM2 enable. When bit 1 is set, the address range 2F8h–2FFh is positively decoded and the cycles passed to the
secondary bus based on the setting of bit 1 of the port decode map register.
COM1 enable. When bit 0 is set, the address range 3F8h–3FFh is positively decoded and the cycles passed to the
secondary bus based on the setting of bit 0 of the port decode map register.
44
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
port decode map register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Port decode map
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Port decode map
Read only, read/write (see individual bit descriptions)
Offset:
Default:
6Ah–6Bh
0000h
Description: The port decode map register is used to select whether the serial- and parallel-port address
ranges positively decoded from the primary bridge interface to the secondary interface are
included or excluded from the primary interface. For example, if bit 0 is set, addresses in the
range of 3F8h–3FFh are positively decoded on the primary bus. If bit 0 is cleared and an I/O
window is enabled that covers the range from 3F8h–3FFh, these addresses are claimed by
the bridge.
Table 15. Port Decode Map Register
BIT
TYPE
FUNCTION
15–7
R
Reserved
LPT3 include/exclude. Bit 6 is encoded as:
0 = 278h–27Fh and 678h–67Bh excluded from the primary bus (default)
1 = 278h–27Fh and 678h–67Bh positively decoded on the primary bus
LPT2 include/exclude. Bit 5 is encoded as:
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 = 378h–37Fh and 778h–77Bh excluded from the primary bus (default)
1 = 378h–37Fh and 778h–77Bh positively decoded on the primary bus
LPT1 include/exclude. Bit 4 is encoded as:
0 = 3BCh–3BFh and 7BCh–7BFh excluded from the primary bus (default)
1 = 3BCh–3BFh and 7BCh–7BFh positively decoded on the primary bus
COM4 include/exclude. Bit 3 is encoded as:
0 = 2E8h–2EFh excluded from the primary bus (default)
1 = 2E8h–2EFh positively decoded on the primary bus
COM3 include/exclude. Bit 2 is encoded as:
0 = 3E8h–3EFh excluded from the primary bus (default)
1 = 3E8h–3EFh positively decoded on the primary bus
COM2 include/exclude. Bit 1 is encoded as:
0 = 2F8h–2FFh excluded from the primary bus (default)
1 = 2F8h–2FFh positively decoded on the primary bus
COM1 include/exclude. Bit 0 is encoded as:
0 = 3F8h–3FFh excluded from the primary bus (default)
1 = 3F8h–3FFh positively decoded on the primary bus
45
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
secondary clock/arbiter disable register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Secondary clock/arbiter disable
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Secondary clock/arbiter disable
Read/write (see individual bit descriptions)
Offset:
Default:
6Ch
00h
Description: The secondary clock/arbiter disable register is used to disable each external clock to the
secondary bus. Writing a 1 to the register bit forces the corresponding clock output low. This
register is also used to disable the bridge’s internal secondary bus arbiter.
Table 16. Secondary Clock/Arbiter Disable Register
BIT
TYPE
FUNCTION
Arbiter performance-enhancement feature. When enabled, this feature provides automatic tier operation for bus masters
thathavebeenretriedorwhohavependingdelayedtransactions. Inthiscase, thebusmastergetspromotedtothehighest
priority tier.
7
R/W
0 = Disabled (default)
1 = Enabled
Internal arbiter disable. Bit 6 is used to disable the bridge’s internal secondary bus arbiter. When the internal arbiter is
disabled, the S_GNT0 pin becomes the secondary bus master’s request signal. S_REQ0 becomes the secondary bus
master’s grant signal.
6
R/W
0 = Enable internal arbiter (default)
1 = Disable internal arbiter
Disable clock output 5
0 = Enable clock (default)
1 = Disable clock
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
Disable clock output 4
0 = Enable clock (default)
1 = Disable clock
Disable clock output 3
0 = Enable clock (default)
1 = Disable clock
Disable clock output 2
0 = Enable clock (default)
1 = Disable clock
Disable clock output 1
0 = Enable clock (default)
1 = Disable clock
Disable clock output 0
0 = Enable clock (default)
1 = Disable clock
46
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
buffer control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Buffer control
R
0
R
0
R/W
1
R/W
0
R/W
1
R/W
1
R/W
1
R/W
1
Register:
Type:
Buffer control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
6Dh
2Fh
Description: Thebuffercontrolregisterallowssoftwaretoenable/disablewritepostingandcontrolmemory
read burst prefetching. The buffer control register also enables/disables the posted memory
write reconnect feature.
Table 17. Buffer Control Register
BIT
TYPE
FUNCTION
7–6
R
Reserved
Posted write reconnect enable. The bridge defaults to posted write reconnect enabled. This feature allows for a more
efficient use of the bridge FIFOs. The bridge reconnects a new posted write transaction if the following conditions are met:
1. The new posted write transaction address is 1 doubleword greater than the transaction in the FIFO.
2. There are greater than four doublewords of data in the FIFO.
3. There are greater than 4 doublewords of free space in the FIFO.
When this feature is disabled, the bridge flushes the FIFO before accepting another transaction.
0 = Disabled.
5
4
R/W
R/W
1 = Enabled. (default)
UpstreamMRM/MRLreadburstenable. Bydefault, thePCI2031issettomemoryreadburstasinglecacheline. Bysetting
this bit to 1, the PCI2031 will memory read burst multiple cache lines or until the FIFO is full. To utilize this feature, bit 3
of this register must be set to 1.
0 = Disabled. (default)
1 = Enabled.
Upstream memory read burst enable. The bridge defaults to upstream memory read bursting disabled. Bit 3 enables
upstream memory read bursting and indicates upstream memory is prefetchable. This bit is encoded as:
3
2
R/W
R/W
0 = Disabled (default).
1 = Enabled.
Downstreammemory read burst enable. The bridge defaults to downstream memory read bursting enabled. Bit 2 enables
downstream memory read bursting in prefetchable windows. This bit is encoded as:
0 = Disabled.
1 = Enabled (default).
Secondary-to-primary write posting enable. Enables posting of write data to and from the primary interface. If bit 1 is not
set, the bridge must drain any data in its buffers before accepting data to or from the primary interface. Each data word
must then be accepted by the target before the bridge can accept the next word from the source master. The bridge must
not release the source master until the last word is accepted by the target. Operating with the write posting enabled
enhances system performance.
1
0
R/W
R/W
0 = Write posting disabled
1 = Write posting enabled (default)
Primary-to-secondary write posting enable. Enables posting of write data to and from the secondary interface. If bit 0 is
not set, then the bridge must drain any data in its buffers before accepting data to or from the secondary interface. Each
data word must then be accepted by the target before the bridge can accept the next word from the source master. The
bridge must not release the source master until the last word is accepted by the target. Operating with the write posting
enabled enhances system performance.
0 = Write posting disabled
1 = Write posting enabled (default)
47
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
bridge arbitration register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Bridge arbitration
R/W R/W
R/W
0
R/W
1
R/W
0
R/W
0
R/W
0
R/W
0
0
0
Register:
Type:
Bridge arbitration
Read/write (see individual bit descriptions)
Offset:
Default:
6Eh
40h
Description: The bridge arbitration register is used for the bridge’s internal arbiter. The arbitration scheme
used is a two-tier rotational arbitration. The PCI2031 bridge is the only secondary bus initiator
that defaults to the higher priority arbitration tier. The bus-parking scheme is configured in
this register.
Table 18. Bridge Arbitration Register
BIT
TYPE
FUNCTION
Busparking. Bit7determineswherethePCI2031’sinternalarbiterparksthesecondarybus. Whenthisbitisset, thearbiter
parks the secondary bus on the PCI2031 bridge. When this bit is cleared, the arbiter parks the secondary bus on the last
device mastering the secondary bus. This bit is encoded as:
7
R/W
0 = Park the secondary bus on the last secondary master (default).
1 = Park the secondary bus on the bridge.
Bridge tier select. Bit 6 determines in which tier the bridge is placed in the two-tier arbitration scheme. This bit is
encoded as:
6
R/W
0 = Lowest-priority tier
1 = Highest-priority tier (default)
GNT5 tier select. Bit 5 determines in which tier the S_GNT5 is placed in the arbitration scheme. This bit is encoded as:
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
0 = Lowest-priority tier (default)
1 = Highest-priority tier
GNT4 tier select. Bit 4 determines in which tier the S_GNT4 is placed in the arbitration scheme. This bit is encoded as:
0 = Lowest-priority tier (default)
1 = Highest-priority tier
GNT3 tier select. Bit 3 determines in which tier the S_GNT3 is placed in the arbitration scheme. This bit is encoded as:
0 = Lowest-priority tier (default)
1 = Highest-priority tier
GNT2 tier select. Bit 2 determines in which tier the S_GNT2 is placed in the arbitration scheme. This bit is encoded as:
0 = Lowest-priority tier (default)
1 = Highest-priority tier
GNT1 tier select. Bit 1 determines in which tier the S_GNT1 is placed in the arbitration scheme. This bit is encoded as:
0 = Lowest-priority tier (default)
1 = Highest-priority tier
GNT0 tier select. Bit 0 determines in which tier the S_GNT0 is placed in the arbitration scheme. This bit is encoded as:
0 = Lowest-priority tier (default)
1 = Highest-priority tier
48
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
clock run control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Clock run control
R/W R/W
R
0
R
0
R
0
R/W
0
R/W
0
R
0
0
0
Register:
Type:
Clock run control
Read only, read/write (see individual bit descriptions)
Offset:
Default:
6Fh
00h
Description: The clock run control register controls the PCI clock-run mode enable/disable. It is also used
to enable the keep-clock-running feature. Bit 0 reflects the status of the secondary clock.
There are two clock run modes supported on the secondary bus. The bridge can be
configured to stop the secondary PCI clock only in response to a request from the primary bus
to stop the clock, or it can be configured to stop the secondary clock whenever the secondary
bus is idle and there are no transaction requests from the primary bus.
There are two conditions for restarting the secondary clock. A downstream transaction
restarts the secondary clock, or if the S_CLKRUN signal is asserted, the secondary clock
is restarted.
Table 19. Clock Run Control Register
BIT
TYPE
FUNCTION
7–5
R
Reserved
Clock run mode. Bit 4 is encoded as:
0 = Stop the secondary clock only on request from the primary bus (default).
1 = Stop the secondary clock whenever the secondary bus is idle and there are no requests from theprimary
bus.
4
3
R/W
R/W
Primaryclockrunenable. Bit3mustbeenabledforthebridgetorespondtorequestsbythecentralresourceontheprimary
bus to stop the clock.
0 = Disable clock run (default)
1 = Enable clock run
Primary keep clock. When bit 2 is set, it causes the bridge to request that the central resource keep the PCI clock running.
2
1
0
R/W
R/W
R
.
0 = Allow primary clock to stop if secondary clock stopped (default)
1 = Always keep primary clock running
Secondary clock run enable
0 = Disable clock run for secondary (default)
1 = Enable clock run for secondary
Secondary clock status bit. If the clock is stopped, this bit is 1. If the clock is running, this bit is 0.
0 = Secondary clock not stopped (default)
1 = Secondary clock stopped
diagnostic control register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Diagnostic control
R/W
0
R/W
0
R/W
0
R/W
1
R/W
0
R/W
0
R/W
1
R/W
1
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Diagnostic control
Read/write (see individual bit descriptions)
Offset:
Default:
70h–71h
1340h
Description: The diagnostic control register is used for bridge diagnostics.
49
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 20. Diagnostic Control Register
BIT
TYPE
FUNCTION
Master retry timeout enable. When set, bit 15 enables master retry timer. This bit is encoded as:
0 = Master retry disabled (default)
15
R/W
1 = Master retry enabled
Parity mode. Bit 14 is encoded as:
0 = Parity error passing enabled (default)
1 = Parity error passing disabled
14
13
R/W
R/W
Upstreamlockenable. Thebridgedefaultistodisableupstreamlock. Whenset, bit13enablesupstreamresourcelocking.
This bit is encoded as:
0 = Selects upstream lock disabled (default)
1 = Selects upstream lock enabled
Downstreamlockenable.Thebridgedefaultistoenabledownstreamlock.Whenset,bit12enablesdownstreamresource
locking. This bit is encoded as:
12
11
R/W
R/W
0 = Selects downstream lock disabled
1 = Selects downstream lock enabled (default)
Secondary-bus decode speed. The bridge defaults to medium decode speed on the secondary bus. Bit 11 selects
between medium and slow decode speed. This bit is encoded as:
0 = Secondary bus decodes at medium decode speed (default)
1 = Secondary bus decodes at slow decode speed
Primary-bus decode speed. The bridge defaults to medium decode speed on the primary bus. Bit 10 selects between
medium and slow decode speed. This bit is encoded as:
10
9
R/W
R/W
0 = Primary bus decodes at medium decode speed (default)
1 = Primary bus decodes at slow decode speed
Secondary-slave discard timer enable
0 = Disable
1 = Enable (default)
Primary-slave discard timer enable
0 = Disable
8
7
6
R/W
R/W
R/W
1 = Enable (default)
Reserved
Transaction ordering enable
0 = Disabled
1 = Enabled (default)
Secondary initial data phase counter extension
0 = Normal 16 clock to initial data phase (default)
1 = Extends initial data phase to 64 clocks
5
4
R/W
R/W
Primary initial data phase counter disable
0 = Enable 16 clock initial data phase counter (default)
1 = Disable 16 clock initial data phase counter
Note: The secondary initial data phase counter is always enabled.
Primary initial data phase counter extension
0 = Normal 16 clocks to initial data phase (default)
1 = Extends initial data phase to 64 clocks
3
2
R/W
R/W
Immediate retry mode
0 = Immediate retry mode enabled (default)
1 = Immediate retry mode disabled
Discard timer test mode. Bit 1 selects the number of clock cycles that must expire before the bridge can discard status
or data from a delayed transaction. This bit is encoded as:
1
0
R/W
R/W
15
0 = Discard timer 2 clocks (default)
10
1 = Discard timer 2 clocks
NAND tree test enable
0 = NAND tree test not requested (default)
1 = Request NAND tree test
50
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
diagnostic status register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Diagnostic status
R
0
R
0
R
0
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R
0
R
0
R
0
R/W
0
R/W
0
R
0
R
0
R/W
0
Register:
Type:
Diagnostic status
Read only, read/write (see individual bit descriptions)
Offset:
Default:
72h–73h
0000h
Description: The diagnostic status register is used to reflect the bridge diagnostic status.
Table 21. Diagnostic Status Register
BIT
TYPE
FUNCTION
15–12
R
Reserved
Bridge detected a parity error while mastering on the secondary bus. When set, bit 11 indicates that the secondary bus
master detected a parity error. Writing a 1 to this bit clears it.
0 = No parity error detected
11
R/W
1 = Parity error detected
Bridge detected a parity error while mastering on the primary bus. When set, bit 10 indicates that the primary bus master
detected a parity error. Writing a 1 to this bit clears it.
0 = No parity error detected
10
9
R/W
R/W
1 = Parity error detected
Secondary-slave discard timer expired. Writing a 1 to this bit clears it.
0 = Discard timer not expired
1 = Discard timer expired
Primary-slave discard timer expired. Writing a 1 to this bit clears it.
0 = Discard timer not expired
8
R/W
R
1 = Discard timer expired
7–5
Reserved
Serial EEPROM detect status. When bit 4 is cleared, it indicates that the serial EEPROM block detected an EEPROM.
Writing a 1 to this bit clears it. This bit is encoded as:
4
R/W
0 = Serial EEPROM block detected an EEPROM.
1 = Serial EEPROM block did not detect an EEPROM.
Serial EEPROM block error status. Bit 3 indicates the error status of the serial EEPROM block. This bit is set when a data
error has occurred in the serial EEPROM block. Writing a 1 to this bit clears it. This bit is encoded as:
3
2
1
R/W
R
0 = No error detected.
1 = Data error detected.
External arbiter enable pin status. Bit 2 contains the current state of the external pin external arbiter enable.
0 = Signal low
1 = Signal high
Serial EEPROM block status. Bit 1 indicates the status of the serial EEPROM block. When set, bit 1 indicates that the
serial EEPROM block is busy.
0 = Serial EEPROM block not busy
1 = Serial EEPROM block busy
R
Arbiter timeout status. Bit 0 indicates the status of the arbiter timer. When set, bit 0 indicates that a bus master did not
begin the cycle within 16 clocks. Writing a 1 to this bit clears it. This bit is encoded as:
0 = No timeout (default).
0
R/W
1 = Master requesting the bus did not start cycle within 16 clocks.
51
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
GPIO output select register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
GPIO output select
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
GPIO output select
Read/write (see individual bit descriptions)
Offset:
Default:
74h
00h
Description: The GPIO output select register is used for debug purposes. P_GPIO0 can be configured as
an output and used as an interrupt request from the PCI2031 when docking support is
enabled. P_GPIO2andP_GPIO3canbeconfiguredasinputpinsandusedasdockingstation
support detect pins 1 and 2, respectively. S_GPIO0 and S_GPIO1 are used for the serial
EEPROM interface when implemented; S_GPIO0 serves as the clock line and S_GPIO1
serves as the data line. P_GPIO1 and S_GPIO2 can be used as the primary and secondary
bus IRQSER pins, respectively.
Table 22. GPIO Output Select Register
BIT
TYPE
FUNCTION
S_GPIO3. The value of bit 7 selects the function of S_GPIO3.
7
R/W
0 = Normal GPIO output data (default)
1 = Internal test signal that is asserted low when DEVSEL is driven by bridge on secondary bus
S_GPIO2. If serialized IRQ support is enabled via bit 0 of the serial IRQ support register, configuration offset 79h,
S_GPIO2 is used as the secondary IRQSER pin.
6
R/W
0 = Normal GPIO output data (default)
1 = Selects internal test signal that is asserted low when frame is driven by bridge on secondary bus
S_GPIO1. If an EEPROM is present in the system, S_PGIO1 is used for the serial EEPROM interface.
0 = Normal GPIO output data (default)
5
4
R/W
R/W
1 = Selects bridge grant signal to PCI secondary interface
S_GPIO0. If an EEPROM is present in the system, S_PGIO0 is used for the serial EEPROM interface.
0 = Normal GPIO output data (default)
1 = Selects bridge request signal from PCI secondary interface
P_GPIO3. Ifdockingsupportisenabledviabit0ofthedockingsupportregister, configurationoffset78h, P_GPIO3isused
as docking change detect pin 2.
3
2
1
0
R/W
R/W
R/W
R/W
0 = Normal GPIO output data (default)
1 = Selects internal test signal that is asserted low when DEVSEL is driven by bridge on primary bus
P_GPIO2. Ifdockingsupportisenabledviabit0ofthedockingsupportregister, configurationoffset78h, P_GPIO2isused
as docking change detect pin 1.
0 = Normal GPIO output data (default)
1 = Selects internal test signal that is asserted low when frame is driven by bridge on primary bus
P_GPIO1. If serialized IRQ support is enabled via bit 0 of the serial IRQ support register, configuration offset 79h,
P_GPIO1 is used as the primary IRQSER pin.
0 = Normal GPIO output data (default)
1 = Selects signal indicating the primary PCI interface is locked as a resource
P_GPIO0. Ifdockingsupportisenabledviabit0ofthedockingsupportregister, configurationoffset78h, P_GPIO0isused
as the interrupt request from the bridge.
0 = Normal GPIO output data (default)
1 = Selects internal test signal that is asserted high when 16 clock arbitration timeout occurs
52
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
GPIO input data register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
GPIO input data
R
X
R
X
R
X
R
X
R
X
R
X
R
X
R
X
Register:
Type:
GPIO input data
Read only (see individual bit descriptions)
Offset:
Default:
75h
XXh
Description: The GPIO input data register reflects the state of the GPIO pins.
Table 23. GPIO Input Data Register
BIT
TYPE
FUNCTION
S_GPIO3–S_GPIO0 pin state
7–4
R
0 = Low
1 = High
P_GPIO3–P_GPIO0 pin state
3–0
R
0 = Low
1 = High
GPIOx input data bit
Debug test data
GPIOx output data bit
GPIOx output select bit
0 = GPIOx output
1 = Other function
GPIOx direction control bit
0 = Input
1 = Output
Figure 5. GPIO Buffer
53
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
GPIO direction control register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
GPIO direction control
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
GPIO direction control
Read/write (see individual bit descriptions)
Offset:
Default:
76h
00h
Description: The GPIO direction control register controls the direction of the GPIO pins.
Table 24. GPIO Direction Control Register
BIT
TYPE
FUNCTION
S_GPIO3–S_GPIO0 pin state
0 = Input (default)
1 = Output
7–4
R/W
P_GPIO3–P_GPIO0 pin state
0 = Input (default)
1 = Output
3–0
R/W
GPIO output data register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
GPIO output data
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
GPIO output data
Read/write (see individual bit descriptions)
Offset:
Default:
77h
00h
Description: The GPIO output data register contains the output data for any selected GPIO pin.
Table 25. GPIO Output Data Register
BIT
TYPE
FUNCTION
S_GPIO3–S_GPIO0 output data
7–4
R/W
0 = Data-out value if selected is 0 (default)
1 = Data-out value if selected is 1
P_GPIO3–P_GPIO0 output data
3–0
R/W
0 = Data-out value if selected is 0 (default)
1 = Data-out value if selected is 1
54
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
docking support register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Docking support
R
0
R
0
R
0
R
0
R/W
R/W
0
R/W
0
R/W
0
0
Register:
Type:
Docking support
Read only, read/write (see individual bit descriptions)
Offset:
Default:
78h
00h
Description: The docking support register is used for docking support. A change in state on the P_GPIO3
pin or the P_GPIO2 pin is reflected as a change on the P_GPIO0 pin.
Table 26. Docking Support Register
BIT
TYPE
FUNCTION
7–4
R
Reserved
P_GPIO3 change detect status. A change in bit 3 is reflected on the P_GPIO0 pin.
0 = No change (default)
3
2
1
0
R/W
R/W
R/W
R/W
1 = Change has occurred. Write a 1 to clear this bit.
P_GPIO2 change detect status. A change in bit 2 is reflected on the P_GPIO0 pin.
0 = No change (default)
1 = Change has occurred. Write a 1 to clear this bit.
Single line select
0 = Single line connect detect (default)
1 = Two line connect detect
Docking support enable
0 = Disable (default)
1 = Enable
55
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
serialized IRQ support register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Serialized IRQ support
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Serialized IRQ support
Read/write (see individual bit descriptions)
Offset:
Default:
79h
00h
Description: The serialized IRQ support register is used to configure the serialized IRQ stream. Serialized
IRQ support is enabled/disabled via bit 0 of the serialized IRQ support register. The start
frame is variable from four to six PCI clocks wide. The bridge does not support an 8-clock start
frame. Bits 2 and 1 are used to configure the number of clocks in the start frame. Bits 6–3 are
used to configure the number of data frames in the serialized IRQ stream – up to 32 data
frames are permitted, including the start frame, the I/O channel check frame, and the stop
frame. The host controller must do one stream in continuous mode before switching to quiet
mode. The continuous stream must be for 17 data frames.
Table 27. Serialized IRQ Support Register
BIT
TYPE
FUNCTION
7
R
Reserved
Number of IRQ/data frames. These bits determine the number of IRQ/data frames for the serialized IRQ stream. The host
is required to support a minimum of 17 IRQ/data frames and a maximum of 32. These bits are encoded as:
0000 = 17 IRQ/data frames (default)
0001 = 18 IRQ/data frames
0010 = 19 IRQ/data frames
0011 = 20 IRQ/data frames
0100 = 21 IRQ/data frames
0101 = 22 IRQ/data frames
0110 = 23 IRQ/data frames
0111 = 24 IRQ/data frames
6–3
R/W
1000 = 25 IRQ/data frames
1001 = 26 IRQ/data frames
1010 = 27 IRQ/data frames
1011 = 28 IRQ/data frames
1100 = 29 IRQ/data frames
1101 = 30 IRQ/data frames
1110 = 31 IRQ/data frames
1111 = 32 IRQ/data frames
Start frame clock select. These bits determine the number of PCI clock cycles in the start frame. The PCI2031 bridge does
not support an 8-clock start frame. These bits are encoded as:
00 = 4 clock cycles per start frame (default)
2–1
0
R/W
R/W
01 = 6 clock cycles per start frame
10 = 4 clock cycles per start frame
11 = 6 clock cycles per start frame
Serialized IRQ support enable. Bit 0 is used to enable/disable serialized IRQ support. It is encoded as:
0 = Serialized IRQ support disabled (default)
1 = Serialized IRQ support enabled
56
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
arbiter request mask register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Arbiter request mask
R
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Arbiter request mask
Read/write (see individual bit descriptions)
Offset:
Default:
7Ah
00h
Description: The arbiter request mask register contains the SERR enable on arbiter timeouts and the
request mask controls.
Table 28. Arbiter Request Mask Register
BIT
TYPE
FUNCTION
7
R
Reserved
Timeout automatic masking enable
0 = Masking not automatic (default)
1 = Allow masking after 16 clock timeouts
Request 5 (REQ5) mask bit
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 = Use request 5 (default)
1 = Ignore request 5
Request 4 (REQ4) mask bit
0 = Use request 4 (default)
1 = Ignore request 4
Request 3 (REQ3) mask bit
0 = Use request 3 (default)
1 = Ignore request 3
Request 2 (REQ2) mask bit
0 = Use request 2 (default)
1 = Ignore request 2
Request 1 (REQ1) mask bit
0 = Use request 1 (default)
1 = Ignore request 1
Request 0 (REQ0) mask bit
0 = Use request 0 (default)
1 = Ignore request 0
57
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
arbiter timeout status register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Arbiter timeout status
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Arbiter timeout status
Read only (see individual bit descriptions)
Offset:
Default:
7Bh
00h
Description: The arbiter timeout status register contains the status of each request (request 5–0) timeout.
The timeout status bit for the respective request is set if the device did not assert FRAME after
16 clocks.
Table 29. Arbiter Timeout Status Register
BIT
TYPE
FUNCTION
7–6
R
Reserved
Request 5 timeout status. Cleared by writing a 1.
0 = No timeout (default)
5
4
3
2
1
0
R
R
R
R
R
R
1 = Timeout has occurred
Request 4 timeout status. Cleared by writing a 1.
0 = No timeout (default)
1 = Timeout has occurred
Request 3 timeout status. Cleared by writing a 1.
0 = No timeout (default)
1 = Timeout has occurred
Request 2 timeout status. Cleared by writing a 1.
0 = No timeout (default)
1 = Timeout has occurred
Request 1 timeout status. Cleared by writing a 1.
0 = No timeout (default)
1 = Timeout has occurred
Request 0 timeout status. Cleared by writing a 1.
0 = No timeout (default)
1 = Timeout has occurred
capability ID register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Capability ID
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
1
Register:
Type:
Offset:
Default:
Capability ID
Read only
80h
01h
Description: The cability ID register identifies the linked list item as the register for PCI Power
Management. The cability ID register returns 01h when read, which is the unique ID assigned
by the PCI SIG for PCI location of the capabilities pointer and the value.
58
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
next item pointer register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Next item pointer
R
0
R
0
R
0
R
R
0
R
0
R
0
R
0
0
Register:
Type:
Offset:
Default:
Next item pointer
Read only
81h
00h
Description: The next item pointer register is used to indicate the next item in the linked list of PCI power
management capabilities. Since the PCI2031 only provides one capabilities list item, this
register returns zeros when read.
power management capabilities register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Power management capabilities
R
0
R
0
R
0
R
0
R
0
R
1
R
1
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
1
Register:
Type:
Offset:
Default:
Power management capabilities
Read only
82h
0601h
Description: The power management capabilities register contains information on the capabilities of the
PCI2031 functions related to power management. The PCI2031 function supports D0, D1,
D2, and D3 power states.
Table 30. Power Management Capabilities Register
BIT
TYPE
FUNCTION
PME Support. This five bit field indicates the power states that the device supports asserting PME#. A ‘0’ for
any of these bits indicates that the PCI2031 cannot assert PME# signal from that power state. For the
PCI2031, these five bits return ‘00000b’ when read indicating that PME# is not supported.
15–11
10
R
D2 Support. This bit returns ‘1’ when read, indicating that the Bridge function supports the D2 device power
state.
R
D1 Support. This bit returns ‘1’ when read, indicating that the Bridge function supports the D1 device power
state.
9
R
R
8–6
Reserved.
Device Specific Initialization. This bit is read only and returns ‘0’ when read, indicating that the bridge function
does not require special initialization (beyond the standard PCI configuration header) before the generic class
device driver is able to use it.
5
R
Auxilliary Power Source. This bit is read only and returns a ‘0’ because the PCI2031 does not support PME#
signaling.
4
3
R
R
R
PMECLK. This bit is read only and returns a ‘0’ because the PME# signaling is not supported.
Version. This three bit register returns ‘001b’ when read, indicating Revision 1.0 of PCI Bus Power
Management Interface Specification.
2–0
59
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
power management control/status register
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Name
Type
Default
Power management control/status
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R/W
0
R/W
0
Register:
Type:
Power management control/status
Read only, Read/Write
Offset:
Default:
84h
0000h
Description: The power management control/status register determines and changes the current power
state of the PCI2031. The contents of this register are not affected by the internally generated
reset caused by the transition from D3hot to D0 state.
Table 31. Power Management Capabilities Register
BIT
TYPE
FUNCTION
15
R
PME Status. This bit is read only and returns a zero because the PCI2031 does not support PME#.
Data Scale. This two bit field is read only returning zeros when read. The PCI2031 function does not return
any dynamic data, as indicated by the DYNAMIC DATA bit.
14–13
R
R
Data Select. This four bit field is read only returning zeros when read. The PCI2031 function does not return
any dynamic data, as indicated by the DYNAMIC DATA bit.
12–9
8
R
R
PME Enable. This bit is read only and returns a zero because the PCI2031 does not support PME# signaling.
Reserved. These bits are read only and return zeros when read.
7–2
Power State. This two bit field is used both to determine the current power state of a function and to set the
function into a new power state. The definition of the two bit field is given below:
00 – D0
01 – D1
10 – D2
11 – D3hot
1–0
R/W
PMCSR bridge support
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
PMCSR bridge support
R
1
R
1
R
0
R
0
R
0
R
0
R
0
R
0
Register:
Type:
Offset:
Default:
PMCSR bridge support
Read only
86h
C0h
Description: The PMCSR bridge support register is required for all PCI bridges and supports PCI bridge
specific functionality.
60
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 32. PMCSR Bridge Support Register
BIT
TYPE
FUNCTION
Bus Power Control Enable. This bit is read only and returns a one when read indicating that the power
management state of the secondary bus follows that of the PCI2031 with one exception, D3hot state. The
action that occurs when the PCI2031 is programmed to D3hot state is determined by the B2/B3 Support bit.
7
R
B2/B3 Support for D3hot. This bit is read only and returns a one when read indicating that when the PCI2031
is programmed to D3hot state the secondary bus’s clock is stopped (B2).
6
R
R
5–0
Reserved.
slot number register
Bit
7
6
5
4
3
2
1
0
Name
Slot number
Type
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Default
Register:
Type:
Slot number
Read/write (see individual bit descriptions)
Offset:
Default:
F0h
00h
Description: The slot number register is configured by an EEPROM at system power up. While the
EEPROMisloadingdataintothisregister, thePCI2031retriesallconfigurationreadaccesses
to this register and to the subsystem vendor ID register (40h). Configuration read accesses to
register 2Ch and register 40h for devices 0–7 on the PCI2031 secondary are also retried while
the EEPROM is loading data into the PCI2031 subsystem vendor ID and slot
number registers.
Table 33. Slot Number Register
BIT
TYPE
FUNCTION
7–6
R/W
Reserved
Slots follow parent. If bit 5 is 0, it indicates that this bridge is a parent bridge. In this case, the slot number is equal to the
PCI device number. If bit 5 is 1 in this bridge configuration, software must calculate the slot number. See Appendix B, Slot
Numbering, in the PCI-to-PCI bridge specification for details on calculating the slot number.
5
R/W
R/W
Expansion slots provided. This value is used to calculate the slot number for a device in an expansion chassis. See
Appendix B, Slot Numbering, in the PCI-to-PCI bridge specification for details on calculating the slot number.
4–0
61
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
chassis number register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Chassis number
R/W R/W
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
0
0
Register:
Type:
Offset:
Default:
Chassis number
Read/write
F1h
00h
Description: This 8-bit register designates the chassis number in which the slots on the bridge’s secondary
bus reside. The chassis number register is configured by the system configuration software at
system power up and each time the system is reconfigured. The main chassis is always
chassis 0. Conflicts between chassis are resolved automatically every time the system is
powered up.
device mask register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Device mask
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Device mask
Read/write (see individual bit descriptions)
Offset:
Default:
F2h
00h
Description: The device mask register is configured from an EEPROM during system boot up. The bits in
this register control access to the subsystem vendor ID register of devices on the secondary
bus of the bridge. Each bit of this register corresponds to the device on the secondary of the
same number. For example, bit 0 of this register corresponds to device zero on the secondary
bus, bit 1 corresponds to device one on the secondary bus, and so on. If the bit value is 1, it
indicates that the corresponding device is masked. If the bit is 0, it indicates that the
corresponding device is not masked.
Table 34 describes the bits in the device mask register. The PCI2031 supports up to six
devices on its secondary bus – up to eight if an external arbiter is used. The device number is
encoded in bits 13–11 of the PCI AD bus during a configuration cycle.
Table 35 describes the results of configuration read accesses to the subsystem vendor ID
register of devices on the secondary based on the bits of this register and the corresponding
bits in the device-type register. For example, if bit 3 of the device mask register is 0, and bit 3 of
the device-type register is 1 (01), then read accesses to the subsystem vendor ID registers
(2Ch for nonbridge devices and 40h for bridge devices) of device number 3 are passed
through the bridge to the device 3 on the secondary bus. The bridge does not return any data.
If bit 5 of the device mask register is 1, and bit 5 of the device-type register is 1, read accesses
to register 40h of device 5 are masked and the bridge returns data from its own register 40h. In
Table 35, n = 0, 1, 2, 3, 4, 5, 6, or 7.
62
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
Table 34. Device Mask Register
BIT
TYPE
FUNCTION
Bit 7 corresponds to device 7 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
7
R/W
1 = Read accesses to register 2Ch/40h are masked
Bit 6 corresponds to device 6 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
1 = Read accesses to register 2Ch/40h are masked
Bit 5 corresponds to device 5 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch/40h are masked
Bit 4 corresponds to device 4 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch/40h are masked
Bit 3 corresponds to device 3 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch /40h are masked
Bit 2 corresponds to device 2 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch/40h are masked
Bit 1 corresponds to device 1 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch/40h are masked
Bit 0 corresponds to device 0 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to
register 2Ch of a nonbridge device or register 40h of a bridge device are masked.
0 = Read accesses to register 2Ch/40h are not masked (default)
1 = Read accesses to register 2Ch/40h are masked
Table 35. Configuration Read Access Results
REGISTER
RESULTS OF CONFIGURATION READ ACCESS
DEVICE MASK,
BIT n
DEVICE TYPE,
BIT n
Read accesses to registers 2Ch/40h of device number n on the secondary bus are passed through
the bridge. The bridge does not return any data.
0
0
1
1
0
1
0
1
Read accesses to registers 2Ch/40h of device number n on the secondary bus are passed through
the bridge. The bridge does not return any data.
Read accesses to registers 2Ch of device number n on the secondary bus are masked. The bridge
returns data from its own register 40h.
Read accesses to register 40h of device number n on the secondary bus are masked. The bridge
returns data from its own register 40h.
63
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
device-type register
Bit
7
6
5
4
3
2
1
0
Name
Type
Default
Device type
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Register:
Type:
Device type
Read/write (see individual bit descriptions)
Offset:
Default:
F3h
00h
Description: The device-type register is configured from an EEPROM during system boot up. Each bit of
this register corresponds to the device on the secondary bus of the same number. For
example, bit 0 corresponds to device 0 on the secondary bus, bit 1 corresponds to device 1 on
the secondary bus, bit 2 to device 2, and so on. If a bit value is 1, it indicates that the
corresponding device on the secondary bus is a CardBus controller. If the bit is 0, it indicates
that the corresponding device on the secondary bus is a standard PCI device.
Table 36. Device-Type Register
BIT
TYPE
FUNCTION
Bit 7 corresponds to device 7 on the secondary bus. When this bit is 1, it indicates that device 7 is a CardBus controller.
0 = Device 7 on the secondary bus is a standard PCI device
7
R/W
1 = Device 7 on the secondary bus is a CardBus controller
Bit 6 corresponds to device 6 on the secondary bus. When this bit is 1, it indicates that device 6 is a CardBus controller.
0 = Device 6 on the secondary bus is a standard PCI device
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
1 = Device 6 on the secondary bus is a CardBus controller
Bit 5 corresponds to device 5 on the secondary bus. When this bit is 1, it indicates that device 5 is a CardBus controller.
0 = Device 5 on the secondary bus is a standard PCI device
1 = Device 5 on the secondary bus is a CardBus controller
Bit 4 corresponds to device 4 on the secondary bus. When this bit is 1, it indicates that device 4 is a CardBus controller.
0 = Device 4 on the secondary bus is a standard PCI device
1 = Device 4 on the secondary bus is a CardBus controller
Bit 3 corresponds to device 3 on the secondary bus. When this bit is 1, it indicates that device 3 is a CardBus controller.
0 = Device 3 on the secondary bus is a standard PCI device
1 = Device 3 on the secondary bus is a CardBus controller
Bit 2 corresponds to device 2 on the secondary bus. When this bit is 1, it indicates that device 2 is a CardBus controller.
0 = Device 2 on the secondary bus is a standard PCI device
1 = Device 2 on the secondary bus is a CardBus controller
Bit 1 corresponds to device 1 on the secondary bus. When this bit is 1, it indicates that device 1 is a CardBus controller.
0 = Device 1 on the secondary bus is a standard PCI device
1 = Device 1 on the secondary bus is a CardBus controller
Bit 0 corresponds to device 0 on the secondary bus. When this bit is 1, it indicates that device 0 is a CardBus controller.
0 = Device 0 on the secondary bus is a standard PCI device
1 = Device 0 on the secondary bus is a CardBus controller
64
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
†
absolute maximum ratings over operating temperature ranges (unless otherwise noted)
Supply voltage range: V
V
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 4.6 V
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 6 V
CC
CCP
Input voltage range, V : Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to V
+ 0.5 V
+ 0.5 V
I
CC
CC
Output voltage range, V : Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to V
O
Input clamp current, I (V < 0 or V > V ) (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±20 mA
IK
I
I
CC
Output clamp current, I
Storage temperature range, T
(V < 0 or V > V ) (see Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±20 mA
OK
O O CC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –65°C to 150°C
stg
Virtual junction temperature, T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150°C
J
†
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTES: 1. Applies to external input and bidirectional buffers. V > V
does not apply to fail-safe terminals.
CC
CC
I
2. Applies to external output and bidirectional buffers. V > V
O
does not apply to fail-safe terminals.
recommended operating conditions
MIN NOM
MAX
4
UNIT
ns
t
Input transition (rise and fall) time
Operating ambient temperature range
Virtual junction temperature
CMOS compatible
Commercial
1
0
0
t
T
25
25
70
°C
A
‡
T
Commercial
115
°C
J
‡
These junction temperatures reflect simulation conditions. The customer is responsible for verifying junction temperature.
recommended operating conditions for PCI interface
OPERATION
3.3 V
3.3 V
5 V
MIN NOM
MAX
3.6
UNIT
V
V
Core voltage
Commercial
Commercial
3
3.3
3.3
5
V
CC
3
4.75
0
3.6
PCI supply voltage
V
V
V
V
V
CCP
5.25
3.3 V
5 V
V
CCP
CCP
CCP
CCP
V
I
Input voltage
0
V
V
V
3.3 V
5 V
0
§
Output voltage
V
V
V
O
0
3.3 V
5 V
0.5 V
CCP
2
¶
CMOS compatible
CMOS compatible
High-level input voltage
Low-level input voltage
IH
3.3 V
5 V
0.3 V
CCP
0.8
¶
IL
§
¶
Applies to external output buffers
Applies to external input and bidirectional buffers without hysteresis
65
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
electrical characteristics over recommended operating conditions (unless otherwise noted)
PARAMETER
SIDE
TEST CONDITIONS
OPERATION
3.3 V
MIN
MAX
UNIT
I
I
I
I
= –0.5 mA
0.9 V
OH
CC
2.4
V
V
V
High-level output voltage
OH
= –2 mA
= 1.5 mA
= 6 mA
5 V
OH
OL
OL
0.1 V
3.3 V
CC
V
Low-level output voltage
High-level input current
OL
0.55
5 V
3.6 V
10
20
†
Input pins
V = V
I
CC
5.25 V
I
IH
µA
3.6 V
20
‡
†
I/O pins
V = V
I
CC
5.25 V
25
Input pins
V = GND
I
3.6 V to 5.25 V
3.6 V to 5.25 V
–1
I
I
Low-level input current
µA
µA
IL
‡
V = GND
I
–20
±20
I/O pins
High-impedance output current
V
O
= V
or GND
CCP
OZ
†
‡
For PCI pins, V
CC
= V
.
CCP
For I/O pins, the input leakage current includes the off-state output current I
.
OZ
PCI clock/reset timing requirements over recommended ranges of supply voltage and operating
free-air temperature (see Figure 7 and Figure 8)
ALTERNATE
SYMBOL
MIN
MAX
UNIT
t
t
t
Cycle time, PCLK
t
30
11
11
1
∞
ns
ns
c
cyc
Pulse duration, PCLK high
Pulse duration, PCLK low
Slew rate, PCLK
t
high
wH
wL
t
ns
low
t , t
∆v/∆t
4
V/ns
ms
s
r f
t
t
Pulse duration, RSTIN
t
1
w
rst
Setup time, PCLK active at end of RSTIN (see Note 3 )
t
100
su
rst-clk
NOTE 3: The setup and hold times for the secondary are identical to those for the primary; however, the times are relative to the secondary PCI
close.
PCI timing requirements over recommended ranges of supply voltage and operating free-air
temperature (see Note 4 and Figure 6 and Figure 9)
ALTERNATE
SYMBOL
TEST CONDITIONS
MIN
MAX
UNIT
PCLK to shared signal
valid delay time
t
11
val
inv
t
Propagation delay time
Enable time,
C
= 50 pF, See Note 5
L
ns
pd
PCLK to shared signal
invalid delay time
t
2
2
t
t
t
ns
ns
en
on
off
high-impedance-to-active delay time from PCLK
Disable time,
t
28
dis
active-to-high-impedance delay time from PCLK
t
t
Setup time before PCLK valid
Hold time after PCLK high
t
, See Note 3
7
0
ns
ns
su
su
t , See Note 3
h
h
4. This data sheet uses the following conventions to describe time (t) intervals. The format is: t , where subscript A indicates the type
A
ofdynamicparameterbeingrepresented. Oneofthefollowingisused:t =propagationdelaytime, t = delay time, t = setup time,
pd su
d
and t = hold time.
h
5. PCI shared signals are AD31–AD0, C/BE3–C/BE0, FRAME, TRDY, IRDY, STOP, IDSEL, DEVSEL, and PAR.
66
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
PARAMETER MEASUREMENT INFORMATION
LOAD CIRCUIT PARAMETERS
†
I
OL
TIMING
C
I
I
V
LOAD
(pF)
OL
OH
LOAD
(V)
PARAMETER
(mA)
(mA)
t
0
3
PZH
Test
Point
t
50
8
–8
en
t
t
t
PZL
PHZ
PLZ
From Output
Under Test
V
LOAD
t
t
50
50
8
8
–8
–8
1.5
‡
dis
pd
C
LOAD
†
‡
C
V
includes the typical load-circuit distributed capacitance.
LOAD
LOAD
I
OH
– V
OL
= 50 Ω, where V
= 0.6 V, I
= 8 mA
OL
OL
I
OL
LOAD CIRCUIT
V
Timing
Input
(see Note A )
CC
V
CC
50% V
High-Level
Input
CC
50% V
50% V
CC
CC
0 V
0 V
t
t
h
su
t
w
Data
Input
V
CC
90% V
CC
V
CC
50% V
50% V
10% V
CC
CC
CC
t
Low-Level
Input
0 V
50% V
50% V
CC
CC
0 V
t
f
r
VOLTAGE WAVEFORMS
SETUP AND HOLD TIMES
VOLTAGE WAVEFORMS
PULSE DURATION
INPUT RISE AND FALL TIMES
V
CC
Output
Control
(low-level
enabling)
50% V
50% V
CC
CC
V
0 V
CC
Input
(see Note A)
t
50% V
50% V
CC
PZL
CC
t
PLZ
0 V
t
pd
V
t
CC
pd
≈ 50% V
V
Waveform 1
(see Note B)
CC
CC
OH
50% V
CC
In-Phase
Output
V
+ 0.3 V
OL
50% V
50% V
CC
CC
V
OL
V
OL
t
PHZ
t
pd
t
PZH
t
pd
V
OH
V
OH
V
– 0.3 V
OH
Out-of-Phase
Output
Waveform 2
(see Note B)
50% V
CC
50% V
50% V
CC
CC
≈ 50% V
0 V
V
OL
VOLTAGE WAVEFORMS
ENABLE AND DISABLE TIMES, 3-STATE OUTPUTS
VOLTAGE WAVEFORMS
PROPAGATION DELAY TIMES
NOTES: A. Phase relationships between waveforms were chosen arbitrarily. All input pulses are supplied by pulse generators having the
following characteristics: PRR = 1 MHz, Z = 50 Ω, t ≤ 6 ns, t ≤ 6 ns.
O
r
f
B. Waveform 1 is for an output with internal conditions such that the output is low except when disabled by the output control.
Waveform 2 is for an output with internal conditions such that the output is high except when disabled by the output control.
C. For t
and t
, V
PHZ OL
and V
are measured values.
OH
PLZ
Figure 6. Load Circuit and Voltage Waveforms
67
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
PCI BUS PARAMETER MEASUREMENT INFORMATION
t
wH
t
wL
2 V
0.8 V
2 V MIN Peak to Peak
t
t
f
r
t
c
Figure 7. PCLK Timing Waveform
PCLK
t
w
RSTIN
t
su
Figure 8. RSTIN Timing Waveforms
PCLK
1.5 V
t
t
pd
1.5 V
pd
t
Valid
PCI Output
PCI Input
t
on
off
Valid
t
su
t
h
Figure 9. Shared-Signals Timing Waveforms
68
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI2031
PCI-TO-PCI BRIDGE
SCPS017A – DECEMBER 1997 – REVISED JANUARY 1998
MECHANICAL DATA
PGF (S-PQFP-G176)
PLASTIC QUAD FLATPACK
132
89
133
88
0,27
M
0,08
0,17
0,50
0,13 NOM
176
45
1
44
Gage Plane
21,50 SQ
24,20
SQ
23,80
26,20
25,80
0,25
0,05 MIN
0°–7°
SQ
0,75
0,45
1,45
1,35
Seating Plane
0,08
1,60 MAX
4040134/B 11/96
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MS-026
69
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
IMPORTANT NOTICE
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue
any product or service without notice, and advise customers to obtain the latest version of relevant information
to verify, before placing orders, that information being relied on is current and complete. All products are sold
subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those
pertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent
TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily
performed, except those mandated by government requirements.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF
DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL
APPLICATIONS”). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR
WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER
CRITICAL APPLICATIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO
BE FULLY AT THE CUSTOMER’S RISK.
In order to minimize risks associated with the customer’s applications, adequate design and operating
safeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent
that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other
intellectual property right of TI covering or relating to any combination, machine, or process in which such
semiconductor products or services might be or are used. TI’s publication of information regarding any third
party’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
Copyright 1998, Texas Instruments Incorporated
相关型号:
©2020 ICPDF网 联系我们和版权申明