Beruflich Dokumente
Kultur Dokumente
Timing
Timing Mechanical
Mechanical
PCI
PCI
Specification
Specification
Electrical
Electrical Protocol
Protocol
ISA
System
MPEG
MPEG
Expansion
Expansion
Host
Host 3D
3D Sound
Sound Video
Video
Bus
Bus
Bridge
Bridge Card
Card Capture
Capture
Bridge
Bridge Card
Card
PCI
PCI Local
Local Bus
Bus
3D
3D
SCSI
SCSI 100
100 Mbit
Mbit Graphics
Graphics
Controller
Controller Ethernet
Ethernet Motherboard Card
Card
LAN
PCI Basics - Slide 6
2000 Xilinx, Inc.
All Rights Reserved
Sample Transaction PIO
Processor
Processor 56K
56K
System Modem
Modem
ISA
System
Target
MPEG
MPEG
Expansion
Expansion
Initiator Host
Host Video
Video 3D
3D Sound
Sound
Bus
Bus
Bridge
Bridge Capture
Capture Card
Card
Bridge
Bridge Card
Card
PCI
PCI Local
Local Bus
Bus
3D
3D
SCSI
SCSI 100
100 Mbit
Mbit Graphics
Graphics
Controller
Controller Ethernet
Ethernet Motherboard Card
Card
ISA
System
Large Block
Data Initiator
MPEG
MPEG
Expansion
Expansion
Host
Host Video
Video 3D
3D Sound
Sound
Target Bus
Bus
Bridge
Bridge Capture
Capture Card
Card
Bridge
Bridge Card
Card
PCI
PCI Local
Local Bus
Bus
3D
3D
SCSI
SCSI 100
100 Mbit
Mbit Graphics
Graphics
Controller
Controller Ethernet
Ethernet Motherboard Card
Card
C/BE#[3:0] I/O
4-bit command/byte enable bus
Defines the PCI command during address phase
Indicates byte enable during data phases
Each bit corresponds to a byte-lane in AD[31:0] for example,
C/BE#[0] is the byte enable for AD[7:0]
Initiator Target
PCIBUS
PCI BUS
CLK
Initiator deasserts
AD[31:0] Addr Data 1 D2 D3 D4 FRAME# to signal
the final data phase;
C/BE#[3:0] CMD Byte Enable 1 BE2 BE3 BE4
the transaction
FRAME#
completes when the
last piece of data
IRDY# is transferred
TRDY#
STOP#
DEVSEL#
Initiator Ready
Address Phase
Bus IDLE
Bus IDLE
Data Transfer 1
Data Transfer 2
Data Transfer 3
Data Transfer 4
Transaction Claimed
Initiator
Initiator asserts
asserts FRAME#
FRAME# Data
Data isis transferred
transferred on
on any
any clock
clock edge
edge
to
to start
start the
the transaction
transaction where
where both
both IRDY#
IRDY# && TRDY#
TRDY# are
are asserted
asserted
AD[31:0]
DEVSEL#
Initiator
Initiator
1 2 3 4 5 6 7 8
CLK
FRAME#
IRDY#
DEVSEL#
MASTER ABORT
FAST
SUBTRACTIVE
SLOW
MEDIUM
Initiator Target
PCI
PCIBUS
BUS
CLK
FRAME#
IRDY#
TRDY#
STOP#
Target
Target inserts
inserts aa wait
wait state
state
DEVSEL#
Master Completion
AD Turnaround
Address Phase
Bus IDLE
Wait State
Bus IDLE
Data Transfer 1
Data Transfer 2
Data Transfer 3
Target Termination
Initiator
Initiator asserts
asserts FRAME#
FRAME# Target
Target requests
requests
to
to start
start the
the transaction
transaction termination
termination
PCI Basics - Slide 31
2000 Xilinx, Inc.
All Rights Reserved
Target Read Things to Note
Wait states may be inserted dynamically by the initiator or
target by deasserting IRDY# or TRDY#
Either agent may signal the end of a transaction
The target signals termination by asserting STOP#
The initiator signals completion by deasserting FRAME#
I/O space
This space is where basic PC peripherals (keyboard, serial port,
etc.) are mapped
The PCI spec allows an agent to request 4 bytes to 2GB of I/O
space
For x86 systems, the maximum is 256 bytes because of legacy
ISA issues
Memory space
This space is used by most everything else its the general-
purpose address space
The PCI spec recommends that a device use memory space,
even if it is a peripheral
An agent can request between 16 bytes and 2GB of memory
space
The PCI spec recommends that an agent use at least 4kB of
memory space, to reduce the width of the agents address
decoder
Plug-and-Play (PNP)
Allows add-in cards to be plugged into any slot without changing
jumpers or switches
Address mapping, IRQs, COM ports, etc., are assigned
dynamically at system start-up
For PNP to work, add-in cards must contain basic information
for the BIOS and/or O/S, e.g.:
Type of card and device
Memory-space requirements
Interrupt requirements
Configuration Example
0011 I/O Write
0100 Reserved
0101 Reserved
0110 Memory Read
0111 Memory Write
1000 Reserved
1001 Reserved
Configuration Read or 1 2 3 4 5 1010
1011
Config. Read
Config. Write
CFG
C/BE#[3:0] CMD Byte Enable
IDSEL
Note
Note that
that the
the host
host can
can do
do
FRAME# anything
anything itit wants
wants to
to IDSEL
IDSEL
IRDY# outside
outside of
of aa configuration
configuration
address
address phase
phase
TRDY#
DEVSEL#
Data Transferred
Address Phase
IDSEL
IDSEL isis asserted
asserted (active
(active High)
High) This
This time,
time, the
the target
target asserts
asserts
during
during thethe address
address phase
phase DEVSEL#
DEVSEL# based based onon IDSEL
IDSEL
and
and not
not based
based onon the
the address
address
PCI Basics - Slide 48
2000 Xilinx, Inc.
All Rights Reserved
Standard PCI Configuration Header
31 16 15 0
Device ID Vendor ID 00h
Status Command 04h
Class Code Revision ID 08h
BIST Header Type Latency Timer Cache Line Size 0Ch
Base Address Register #0 10h
Base Address Register #1 14h
Base Address Register #2 18h
Base Address Register #3 1Ch
Base Address Register #4 20h
Base Address Register #5 24h
CardBus CIS Pointer 28h
Subsystem ID Subsystem Vendor ID 2Ch
Expansion ROM Base Address 30h
Reserved Cap. List Ptr.
Ptr. 34h
Reserved 38h
Max_Lat Min_Gnt Interrupt Pin Interrupt Line 3Ch
PCI Basics - Slide 49
2000 Xilinx, Inc.
All Rights Reserved
Required by PCI Spec 2.2
31 16 15 0
Device ID Vendor ID 00h Required
Reflection
The signal travels to the The signal is then reflected back to
non-terminated end complete the signal propagation
5V
NON-TERMINATED
TRANSMISSION LINE 0V
Output driver Non-terminated end
Other Requirements:
Hold time : 0ns All timing parameters are
Min clock-to-out : 2ns measured at the package pin
Output off time : 28ns
REQ64#
FRAME# REQ64#
REQ64# mirrors
mirrors FRAME#
FRAME#
IRDY#
TRDY#
ACK64#
PCI Basics - Slide 69
2000 Xilinx, Inc.
All Rights Reserved
66MHz PCI Overview
Pushes PCI bandwidth as high as 528MB/sec