The PCI bus. Main features coupling of the processor and expansion bus by means of a bridge, 32-bit standard bus width with a maximum transfer rate of.

Slides:



Advertisements
Similar presentations
By Sunil G. Kulkarni, SO/F, Pelletron-Linac Facility, BARC-TIFR. 21/01/2011 ASET.
Advertisements

Computer Architecture and Organization
Bus Interface ISA (Industry Standard Architecture) VESA local bus
2 nd ADVANCED COURSE ON DIAGNOSTICS AND DATA ACQUISITION Instrumentation Buses, Digital Communication and Protocols J. Sousa.
Chapter 8 Interfacing Processors and Peripherals.
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
I/O InterfaceCS510 Computer ArchitecturesLecture Lecture 17 I/O Interfaces and I/O Busses.
Peripheral Component Interconnect (PCI).
Computer Buses Ref: Burd, Chp – 220 Englander, Chp 7 p
6-April 06 by Nathan Chien. PCI System Block Diagram.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 35 – Buses.
Chapter 7: System Buses Dr Mohamed Menacer Taibah University
Bus structures Unit objectives:
Course ILT Bus structures Unit objectives Describe the primary types of buses Define interrupt, IRQ, I/O address, DMA, and base memory address Describe.
December 2003 DJM DECO_021 CPU Chips & Buses. December 2003 DJM DECO_022 CPU Chips Modern ones are contained on a single chip Each chip has a set of pins.
Computer Architecture
Digital Computer Fundamentals
I/O Organization popo.
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
TECH CH07 Input/Output External Devices I/O Modules Programmed I/O
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
Lecture 21Comp. Arch. Fall 2006 Chapter 8: I/O Systems Adapted from Mary Jane Irwin at Penn State University for Computer Organization and Design, Patterson.
International Test Instruments Corporation
INPUT-OUTPUT ORGANIZATION
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
Parul Polytechnic Institute
Datorteknik BusInterfacing bild 1 Bus Interfacing Processor-Memory Bus –High speed memory bus Backplane Bus –Processor-Interface bus –This is what we usually.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Processor support devices Part 1:Interrupts and shared memory dr.ir. A.C. Verschueren.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
2. Methods for I/O Operations
Input/Output Systems and Peripheral Devices (03-2)
PCI & PCI-E Sephiroth Kwon GRMA
INPUT-OUTPUT ORGANIZATION
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
Computer Architecture Lecture 08 Fasih ur Rehman.
COEN 180 Hard Drive Interface Evolution. Hard Drive Interface How does the system interact with the disk. Slow development towards autonomous, intelligent.
Computer Organization CSC 405 Bus Structure. System Bus Functions and Features A bus is a common pathway across which data can travel within a computer.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
System Resources.
NS Training Hardware.
PCI Team 3: Adam Meyer, Christopher Koch,
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Top Level View of Computer Function and Interconnection.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
BUS IN MICROPROCESSOR. Topics to discuss Bus Interface ISA VESA local PCI Plug and Play.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
August 1, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 9: I/O Devices and Communication Buses * Jeremy R. Johnson Wednesday,
MBG 1 CIS501, Fall 99 Lecture 18: Input/Output (I/O): Buses and Peripherals Michael B. Greenwald Computer Architecture CIS 501 Fall 1999.
EEE440 Computer Architecture
Organisasi Sistem Komputer Materi VIII (Input Output)
Chapter 6 Storage and Other I/O Topics. Chapter 6 — Storage and Other I/O Topics — 2 Introduction I/O devices can be characterized by Behaviour: input,
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Department of Computer Science and Engineering
Subject Name: Microprocessors Subject Code:10EC46 Department: Electronics and Communication Date:
Computer Architecture
PC Buses & Standards Bus = Pathway across which data can travel. Can be established between two or more computer elements. PC has a hierarchy of different.
CSC3050 – Computer Architecture
Chapter 13: I/O Systems.
Presentation transcript:

The PCI bus

Main features coupling of the processor and expansion bus by means of a bridge, 32-bit standard bus width with a maximum transfer rate of 133 Mbytes/s, expansion to 64 bits with a maximum transfer rate of 266 Mbytes/s, –PCI-64/ Mbytes/s,PCI-X 64/ Mbytes/s supporting of multi-processor systems, burst transfers with arbitrary length, supporting of 5 V and 3.3 V power supplies, write posting and read prefetching, multimaster capabilities, operating frequencies from 0 MHz to a maximum of 33 MHz, –PCI V only, PCI-X 100MHz-133MHz multiplexing of address and data bus reducing the number of pins, supporting of ISA/EISA/MCA, configuration through software and registers, processor independent specification

Block diagram of a PCI bus system

Latest Generation of PCI Chipsets

Signals ACK64 # : acknowledge 64-bit transfer AD31-AD0: 32 address and data pins form the multiplexed PCI address and data bus C/BE3#-C/BE0#: command and byte-enable CLK: PCI clock signal DEVSEL#: device select FRAME: GNT#: grant IDSEL: device select during configuration INTA#, INTB#, INTC#, INTD#: interrurpt signals IRDY#: initiator ready LOCK: defines an atomic access PAR: even parity for AD31-AD0 and C/BE3#-C/BE0# PERR#: parity error

Signals PRSNT1#, PRSNT2#: indicate that an adapter is installed REQ#: request signal to the bus arbitration unit REQ64#: 64-bit transfer request RST: resets all PCI units SBO#: snoop backoff, indicates a hit to a modified cache line SDONE: snoop done SERR#: system error STOP: target-abort TCK, TDI, TDO, TMS, TRST#: JTAG boundary scan test signals TRDY: target ready 64 bit expansion –AD63-AD32: 32 address and data pins form the expansion of the multiplexed PCI address and data bus –C/BE7#-C/BE4# –PAR64: even parity for the 64bit expansion

The PCI read transfer burst

The PCI write transfer burst.

Bus Arbitration –Parallel arbitration –Hidden arbitration –Arbitration algorithm is not defined DMA –Burst transfers Interrupts –INTA# activated –Data: interrupt vector

Bus Cycles INTA sequence (0000) special cycle (0001) I/O read access (0010) I/O write access (0011) memory read access (0110) memory write access (0111) configuration read access (1010) configuration write access (1011) memory multiple read access (1100) dual addressing cycle (1101) line memory read access (1110) memory write access with invalidation (1111)

Configuration Address Space Manufacturer ID –allocated by PCI SIG Unit ID, revision –identifies unit Class code –type of PCI unit

Status and Command Registers Status: –PER: Parity error –SER: System error –MAB: Master abort –TAB: Target abort received –STA: Target abort signaled –DEVTIM: DEVSEL timing 00=fast 01=medium 10=slow 11=reserved –DP: Data parity error –FBB: Fast back-to-back cycles supported/unsupported Command: –BEE: Fast back-to-back cycles (Back-to-Back Enable) –SEE: SERR Enable –WC: Wait cycle control –PER: Parity error (Parity Error Response) –VPS: VGA palette snoop –MWI: Memory write access with invalidation –SC: Special cycle –BM: Busmaster –MAR: Activate/deactivate Memory address area –IOR: Activate/deactivate I/O address area

Accessing Configuration Address Space Configuration Mechanism #1 –CONFIG-ADDRESS (0cf8h) and CONFIG- DATA (0cfch) registers are defined in the I/O area Configuration Mechanism #2 (for PC systems) –4k I/O address range between c000h and cfffh

Base Address Registers PRF: Prefetching not possible/prefetching possible Type: Positioning type –00=any 32-bit address, 01=less than 1M, 10=any 64-bit address, 11=reserved AD: Address decoding and expansion ROM deactivated/activated

The PCI Express Bus Point to point protocol –x1, x2, x4, x8, x12, x16 or x32 point-to-point Link Differential Signaling

Low Cost PCI Express System

PCI Express High-End Server System

PCI Express Properties Packet Based Protocol Bandwidth and Clocking –2.5 Gbits/sec/lane/direction –8b/10b encoding –250 Mbytes/sec/lane/direction Address Spaces –Memory –I/O –Configuration (extended from 256 Bytes to 4 Kbytes)

PCI Express Transactions Transactions –memory read / write –I/O read / write –configuration read / write –new transaction type: Message transactions Transaction Model –posted (split transaction communication) –non-posted

PCI Express Properties Quality of Service (QoS) –deterministic latencies and bandwidth Traffic Classes (TCs) –TCs can move through the fabric with different priority Virtual Channels (VCs) –Each Traffic Class is individually mapped to a Virtual Channel

PCI Express Properties Interrupt Handling –Virtual wires Power Management –device power states: D0, D1, D2, D3-Hot and D3- Cold D0 is the full-on power state D3-Cold is the lowest power state. –Link power states: L0, L0s, L1, L2 and L3 Hot Plug Support PCI Compatible Software Model

PCI Express Topology

Non-Posted Memory Read Originated by CPU and Targeting an Endpoint

PCI Express Device Layers

Transaction Layer Packets

Electrical Physical Layer Showing Differential Transmitter and Receiver

The SCSI Bus SCSl: Small Computer Systems Interface Maximum of eight units Mainly hard disks, tape drives, optical drives Asynchronous/synchronous protocol Every unit is assigned a SCSI address –host adapter itself is also a SCSI unit several PCs can share a common SCSI bus –max. 7 units Termination resistors are required SCSI drives are intelligent –data exchange is carried out without the slightest intervention from the CPU –split transactions

Signals BD(0)#-BD(7)#: data bits BD(P)#: parity bit BSY# (busy): the signal indicates whether the bus is currently busy. SEL# (select): the signal is used by the initiator to select the target device; on the contrary, the target may also use SEL to re-establish the connection to the initiator after a temporary release of the bus control. C/D# (control/data): the signal is exclusively controlled by the target, and indicates whether control information or data is present on the SCSI bus. An active signal (with a low level) denotes control information

Signals I/O# (input/output): the signal is exclusively controlled by the target device, and indicates the direction of the data flow on the data bus relative to the initiator. An active signal (with a low level) means a data transfer to the initiator. MSG# (message): the signal is activated by the target during the message phase of the SCSI bus. REQ# (request): the signal is activated by the target unit to indicate the handshake request during the course of a REQ/ACK data transfer. ACK# (acknowledge): the signal is activated by the initiator to indicate the handshake acknowledge during the course of a REQ/ACK data transfer. ATN# (attention): an initiator activates the signal to indicate the attention condition. RST (reset): an active signal resets all connected SCSI devices.

SCSI bus phases Bus-free –no SCSI unit is currently using and controlling the bus SEL# and BSY# inactive Arbitration –unit activates BSY# and puts its SCSI-ID onto the data bus –After a short arbitration delay, if no other SCSI-ID with a higher priority is active then the unit may control the bus and activates SEL# Selection –initiator selects a target unit and advises the target to carry out certain functions –the I/O# signal is inactive –addressing by putting the OR-ed value of the SCSI-ID of the initiator and target to the bus –target activates BSY#

SCSI bus phases Reselection –a target may re-establish the connection with the original initiator to continue the interrupted operation Command Data Message Status

Operation of the SCSI Bus

SCSI Commands LUN: Logical Unit Number REL: relative addressing Block addressing

Evolution of SCSI Standards SCSI-I: 8-bit bus, asynchronous 3 Mbytes/s, 5 MHz synchronous mode 5 Mbytes/s –loosely specified SCSI-II: the first real SCSI standard Fast SCSI: 10 MHz synchronous mode 10 Mbytes/s Wide SCSI: extended to 16 or 32 bit bus Ultra SCSI: 20 MHz synchronous mode 20 Mbytes/s Ultra Wide SCSI: 80 Mbytes/s Ultra160 SCSI : 160 Mbytes/s, differential signaling Ultra320 SCSI : 320 Mbytes/s Optical Serial