SlideShare a Scribd company logo
1 of 61
Peripheral Component Interconnect
              (PCI).
Download slide di
http://rumah-belajar.org
Dual Independent Bus (DIB)
   Backside Bus     simultan
   Frontside Bus
   PCI Local Bus
       Menggunakan bridge
        untuk tersambung ke
        FSB
Perbandingan Bus
Bus Type   Bus         Bus      MB/sec
           Width      Speed
   ISA      16 bits    8 MHz     16 MBps

   EISA     32 bits    8 MHz     32 MBps

  VL-bus    32 bits    25 MHz    100 MBps

  VL-bus    32 bits    33 MHz    132 MBps

   PCI      32 bits    33 MHz    132 MBps

   PCI      64 bits    33 MHz    264 MBps

   PCI      64 bits    66 MHz    512 MBps

   PCI      64 bits   133 MHz     1 GBps
North / South bridge
Contoh
PCI Card




                 A typical PCI card




PCI card – 47 pins
Pengantar : Operasi PCI Bus
Istilah
 Initiator
— Disebut juga Master
— Mengendalikan (owns) bus dan menginisiasi transfer data
— Setiap Initiator adalah juga Target
  Target
— Disebut Juga Slave
— Target dari transfer data (read or write)
  Agent
— Initiator atau Target pada PCI bus
Master-Slave
Pengantar : Operasi PCI Bus
PCI Bus Clock
   Semua aksi disinkronisasi oleh clock PCI
   Clock dapat berada di 0 MHz - 33 MHz dan semua perangkat PCI harus
    mampu mendukung pada kisaran tersebut
   Spesifikasi revisi 2.1 memiliki kecepatan s/d 66 MHz


Address phase
   Pada waktu bersamaan identifier initiator menetapkan target device dand
    tipe transaksi
   Initiator mengirimkan (assert) sinyal FRAME#
   Setiap target PCI akan mengunci (latch ) alamat dan mendecode
Pengantar : Operasi PCI Bus
Data Phase
   Jumlah byte data yang akan dikirimkan ditentukan oleh jumlah
    sinyal enable Command/Byte Enable yang dikirimkan oleh
    initiator
   initiator dan target harus siap untuk menyelesaikan proses data
    phase
   Digunakan sinyal IRDY# and TRDY#
Transaction Duration
   Dengan mengirimkan sinyal FRAME# pada saat start address
    phase and tetap sampai akhir data phase
Pengantar : Operasi PCI Bus
Transaction completion and return of bus to idle state
   Dengan cara deasserting sinyal FRAME# tetapi asserting IRDY#
   Ketika data transfer berakhit initiator mengembalikan the PCI bus
    pada status idle state cara deasserting IRDY#
PCI Signals
    - Clock and Reset
    Transaction Control
    1.   Initiator Signals
    2.   Target Signals
    3.   Configuration Signals
    Address and Data Signals
    Arbitration Signals
    Error Signals
PCI Lines
Clock and Reset
   CLK
       — PCI input clock
       — All signals sampled on rising edge
       — 33MHz is really 33.33333MHz (30ns clk. period)
       — The clock is allowed to vary from 0 to 33 MHz
            – The frequency can change ―on the fly‖
            – Because of this, no PLLs are allowed
   RST#
       — Asynchronous reset
       — PCI device must tri-state all I/Os during reset
Transaction Control
Target Signals
   TRDY# – I/O
       — “T-Ready”
       — When the target asserts this signal, it tells the
        initiator that it is ready to send or receive data
   STOP# – I/O
       — Used by target to indicate that it needs to
        terminate the
       transaction
Transaction Control
Target Signals
   DEVSEL# – I/O
       — Device select
       — Part of PCI’s distributed address decoding
            – Each target is responsible for decoding the address
             associated with each transaction
            – When a target recognizes its address, it asserts
             DEVSEL# to claim the corresponding transaction
Transaction Control
Initiator Signals
   FRAME# – I/O
       — Signals the start and end of a transaction
   IRDY# – I/O
       — “I-Ready”
       — Assertion by initiator indicates that it is ready to
        send receive data
Transaction Control
Configuration Signals
   Uses the same signals as the target, plus . . .
   IDSEL – I
       — “ID-Sel”
       — Individual device select for configuration – one
        unique IDSEL line per agent
       — Solves the “chicken-and-egg” problem
       – Allows the system host to configure agents before
        these agents know the PCI addresses to which they
        must respond
Address and Data Signals
   AD[31:0] – I/O
       — 32-bit address/data bus
       — PCI is little endian (lowest numeric index is LSB)
   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]
C/BE[3:0]#   Command Types
   0000      Interrupt Acknowledge
   0001      Special Cycle
   0010      I/O Read
   0011      I/O Write
   0100      Reserved
   0101      Reserved
   0110      Memory Read
   0111      Memory Write
   1000      Reserved
   1001      Reserved
   1010      Configuration Read
   1011      Configuration Write
   1100      Memory Read Multiple
   1101      Dual Address Cycle
   1110      Memory Read Line
   1111      Memory Write and Invalidate
Address and Data Signals
   PAR – I/O
       — Parity bit
       — Used to verify correct transmittal of address/data
        and command/byte-enable
       — The XOR of AD[31:0], C/BE#[3:0], and PAR
        should return zero (even parity)
            – In other words, the number of 1’s across these 37
             signals should be even
Arbitration Signals
   For initiators only!
   REQ# – O
       — Asserted by initiator to request bus ownership
       — Point-to-point connection to arbiter – each initiator has its
        own REQ# line
   GNT# – I
       — Asserted by system arbiter to grant bus ownership to the
        initiator
       — Point-to-point connection from arbiter – each initiator has
        its own GNT# line
PCI Bus Arbitration

                 •     Arbiter
                      –     Round
                           Robin
                      –     Priority
                      –     Two Level
                        Priority
Error Signals
   PERR# – I/O
       — Indicates that a data parity error has occurred
       — An agent that can report parity errors can have its
        PERR# turned off during PCI configuration
   SERR# – I/O
       — Indicates a serious system error has occurred
            – Example: Address parity error
       — May invoke NMI (non-maskable interrupt, i.e., a
        restart) in some systems
Operasi Bus Dasar
Terms
 Doubleword

— 32 bits, most often known as a “DWORD”
 Quadword

— 64 bits, sometimes known as a “QWORD”
 Burst transaction

— Any transaction consisting of more than one data phase
 Idle state (no bus activity)

— Indicated by FRAME# and IRDY# deasserted
Transfer Modes
Example #1 – Basic Write
   A four-DWORD burst from an initiator to a
    target
Write Transfer
PCI Bus Cycles
Basic Write Transaction
Write Example – Things to Note
   The initiator has a phase profile of 3-1-1-1
       — First data can be transferred in three clock cycles
        (idle + address +data = “3”)
       — The 2 nd , 3 rd , and last data are transferred one
        cycle each (“1-1-1”)
Write Example – Things to Note
   The target profile is 5-1-1-1
       — Medium decode – DEVSEL# asserted on 2 nd clock after
        FRAME#
       — One clock period of latency (or wait state) in the beginning
        of the transfer
       – DEVSEL# asserted on clock 3, but TRDY# not asserted
        unti clock 4
       — Ideal target write is 3-1-1-1
   Total of 4 data phases, but required 8 clocks
       — Only 50% efficiency
Target Address Decoding
   PCI uses distributed address decoding
       — A transaction begins over the PCI bus
       — Each potential target on the bus decodes the
        transaction’s PCI address to determine whether it
        belongs to that target’s assigned address space
            – One target may be assigned a larger address space
             than another, and would thus respond to more addresses
       — The target that owns the PCI address then claims
        the transaction by asserting DEVSEL#
Distributed Address Decoding
Target Decode
• Address decoders come in different speeds
• If a transaction goes unclaimed (nobody asserts
DEVSEL#), “Master Abort” occurs
Example #2 – Target Read
• A four-DWORD burst read from a target by an initiator
More Terms
   Turnaround cycle
       — “Dead” bus cycle to prevent bus contention
   Wait state
       — A bus cycle where it is possible to transfer data, but no
        data
       transfer occurs
       — Target deasserts TRDY# to signal it is not ready
       — Initiator deasserts IRDY# to signal it is not ready
   Target termination
       — Target asserts STOP# to indicate that it needs to
        terminate the current transaction
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#
Zero and One Wait State
   A one-wait-state agent inserts a wait state at
    the beginning of each data phase
       — This is done if an agent – built in older, slower
        silicon – needs to pipeline critical paths internally
       — Reduces bandwidth by 50%
Bus Bandwidths
PCI-X 2.0 Write - Example
PCIe (PCI Express)
•   Diperkenalkan tahun 2002, oleh Microsoft,
    Dell, IBM, dan Intel.

•   Bekerja pada 2.5GHz
    dengan hanya
    menggunakan 0.8V

•   Backward compatible
    dengan PCI
Perbedaan PCIe dengan PCI
•   throughput meningkat 1056MBytes/sec dari
    528MBytes/sec
•   Komunikasi data : Serial (PCIe), Paralel (PCI)
•   PCIe : Layered Architecture (Header)
•   PCIe mempermudah proses timing yang rumit
    dari spesifikasi PCI 64/66, sehingga membuat
    PCIe lebih mudah didesain
•   PCIe Mendukung hingga 4 slot pada 66MHz
    sedangkan PCI 66 hanya mampu 3 slot : 2 slots
    100MHz dan 1 slot 133MHz
Perbedaan PCIe dengan PCI (2)

•   PCIe meningkatkan efisiensi bus dan
    mengatasi kekurangan pada protokol PCI
Kekurangan PCI
    –   Shared bus bandwidth
    –   tidak mampu beroperasi pada aplikasi isochronous
    –   manajemen power yang terbatas
    –   relatif mahal untuk membuat parallel bus
    –   ukuran dan jumlah Connector
    –   masalah routing pada Board
Physical Layer

Fungsi Logika Physical Layer :
• Encoding/decoding dan scrambling
• Reset, initialization, multi-lane de-skew
• Speed, link width, lane mapping


Fungsi Elektrik Physical Layer
• Transmitter/Receiver
• Packet Exchange
• Power Management
• Polarity Reversal
Data Link Layer
Fungsi Data Link Layer
• Link management
• Error detection and reporting
• Packet storage for retry/replay


Data Link Layer Packets
•   Link Data Integrity
•   Sequencing
•   CRC
•   ACK/NACK
•   Flow Control
Flow Control
PCI
• Arbitration, continuous retry, disconnect
• menghabiskan bandwidth dan power
• Compound PCI-to-PCI Bridges akan
  menimbulkan masalah

PCI Express
•   Credit-based flow control
•   Ditangani seluruhnya oleh data link layer
•   Tidak ada pengulangan (retries)
•   Bandwidth yang besar
Transaction Layer
Fungsi Transaction Layer

• Data transactions
• Flow control management

Paket Transaction Layer
•   Request/Completion Model
•   Memory Read/Write
•   I/O Read/Write
•   Configuration Read/Write
•   Messages
Formasi Paket
PCIe 2.0
   PCI-SIG announced the availability of the PCI
    Express Base 2.0 specification on 15 January
    2007. PCIe 2.0 doubles the bus standard's
    bandwidth from 2.5 Gbit/s to 5 Gbit/s, meaning
    a x32 connector can transfer data at up to
    16 GB/s in each direction.
   PCIe 2.0 is completely backwards compatible
    with PCIe v1.x. Graphic cards and motherboards
    designed for v2.0 will be able to work with v1.1
    and v1.0, and vice versa
PCIe 3.0
   In August 2007 PCI-SIG announced that PCI
    Express 3.0 will carry a bit rate of 8
    gigatransfers per second. The spec will be
    backwards-compatible with existing PCIe
    implementations and a final spec is due in 2009.
    New features for PCIe 3.0 specification include a
    number of optimizations for enhanced signaling
    and data integrity, including transmitter and
    receiver equalization, PLL improvements, clock
    data recovery, and channel enhancements for
    currently supported topologies

More Related Content

What's hot

Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral InterfaceAnurag Tomar
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255Marajulislam3
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram descriptionAkhil Singal
 
Direct Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationDirect Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationShubham Kumar
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSORAkhila Rahul
 
Intel I3,I5,I7 Processor
Intel I3,I5,I7 ProcessorIntel I3,I5,I7 Processor
Intel I3,I5,I7 Processorsagar solanky
 
Input output organisation
Input output organisationInput output organisation
Input output organisationSanjeev Patel
 
Bus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O InterfacingBus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O InterfacingHetauda City College
 
Message Signaled Interrupts
Message Signaled InterruptsMessage Signaled Interrupts
Message Signaled InterruptsAnshuman Biswal
 
Slideshare - PCIe
Slideshare - PCIeSlideshare - PCIe
Slideshare - PCIeJin Wu
 
Pentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil KawarePentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil KawareProf. Swapnil V. Kaware
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259MdFazleRabbi18
 
Microprocessor Motorola 68020
Microprocessor Motorola 68020Microprocessor Motorola 68020
Microprocessor Motorola 68020Aniket Raj
 
Direct memory access
Direct memory accessDirect memory access
Direct memory accessshubham kuwar
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386Abinaya B
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
Peripheral Component Interconnect (PCI)
Peripheral Component Interconnect (PCI)Peripheral Component Interconnect (PCI)
Peripheral Component Interconnect (PCI)Suraj B.V.S.G
 

What's hot (20)

Serial Peripheral Interface
Serial Peripheral InterfaceSerial Peripheral Interface
Serial Peripheral Interface
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram description
 
486 or 80486 DX Architecture
486 or 80486 DX Architecture486 or 80486 DX Architecture
486 or 80486 DX Architecture
 
Direct Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationDirect Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and Implementation
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
Intel I3,I5,I7 Processor
Intel I3,I5,I7 ProcessorIntel I3,I5,I7 Processor
Intel I3,I5,I7 Processor
 
Intel+80286
Intel+80286Intel+80286
Intel+80286
 
Input output organisation
Input output organisationInput output organisation
Input output organisation
 
Bus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O InterfacingBus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O Interfacing
 
Message Signaled Interrupts
Message Signaled InterruptsMessage Signaled Interrupts
Message Signaled Interrupts
 
Interrupts of microprocessor 8085
Interrupts of microprocessor  8085Interrupts of microprocessor  8085
Interrupts of microprocessor 8085
 
Slideshare - PCIe
Slideshare - PCIeSlideshare - PCIe
Slideshare - PCIe
 
Pentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil KawarePentium (80586) Microprocessor By Er. Swapnil Kaware
Pentium (80586) Microprocessor By Er. Swapnil Kaware
 
3.programmable interrupt controller 8259
3.programmable interrupt controller 82593.programmable interrupt controller 8259
3.programmable interrupt controller 8259
 
Microprocessor Motorola 68020
Microprocessor Motorola 68020Microprocessor Motorola 68020
Microprocessor Motorola 68020
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Peripheral Component Interconnect (PCI)
Peripheral Component Interconnect (PCI)Peripheral Component Interconnect (PCI)
Peripheral Component Interconnect (PCI)
 

Viewers also liked

Pc architecture michael karbo
Pc architecture   michael karboPc architecture   michael karbo
Pc architecture michael karboSecretTed
 
PCI Slot
PCI SlotPCI Slot
PCI Slotiyinyan
 
P C I L O C A L B U S
P C I  L O C A L  B U S P C I  L O C A L  B U S
P C I L O C A L B U S jainfu2
 
Gcse Af L P Point Poster Ww2
Gcse Af L P Point Poster Ww2Gcse Af L P Point Poster Ww2
Gcse Af L P Point Poster Ww2mrjportman
 
Bus Interfacing with Intel Microprocessors Based Systems
Bus Interfacing with Intel Microprocessors Based SystemsBus Interfacing with Intel Microprocessors Based Systems
Bus Interfacing with Intel Microprocessors Based SystemsMurtadha Alsabbagh
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its componentskshirsagarmrk
 
Von Neumann vs Harvard Architecture
Von Neumann vs Harvard ArchitectureVon Neumann vs Harvard Architecture
Von Neumann vs Harvard ArchitectureOLSON MATUNGA
 
Introduction to PCI DSS
Introduction to PCI DSSIntroduction to PCI DSS
Introduction to PCI DSSSaumya Vishnoi
 
PCI DSS Simplified: What You Need to Know
PCI DSS Simplified: What You Need to KnowPCI DSS Simplified: What You Need to Know
PCI DSS Simplified: What You Need to KnowAlienVault
 
Applications of paralleL processing
Applications of paralleL processingApplications of paralleL processing
Applications of paralleL processingPage Maker
 
Intro to Buses (Computer Architecture)
Intro to Buses  (Computer Architecture)Intro to Buses  (Computer Architecture)
Intro to Buses (Computer Architecture)Matthew Levandowski
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Types of buses of computer
Types of buses of computerTypes of buses of computer
Types of buses of computerSAGAR DODHIA
 

Viewers also liked (19)

PCI & ISA bus
PCI & ISA busPCI & ISA bus
PCI & ISA bus
 
Pc architecture michael karbo
Pc architecture   michael karboPc architecture   michael karbo
Pc architecture michael karbo
 
PCI Slot
PCI SlotPCI Slot
PCI Slot
 
BUS PCI
BUS PCIBUS PCI
BUS PCI
 
P C I L O C A L B U S
P C I  L O C A L  B U S P C I  L O C A L  B U S
P C I L O C A L B U S
 
Gcse Af L P Point Poster Ww2
Gcse Af L P Point Poster Ww2Gcse Af L P Point Poster Ww2
Gcse Af L P Point Poster Ww2
 
Chapter22
Chapter22Chapter22
Chapter22
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Bus Interfacing with Intel Microprocessors Based Systems
Bus Interfacing with Intel Microprocessors Based SystemsBus Interfacing with Intel Microprocessors Based Systems
Bus Interfacing with Intel Microprocessors Based Systems
 
Motherboard and its components
Motherboard and its componentsMotherboard and its components
Motherboard and its components
 
Von Neumann vs Harvard Architecture
Von Neumann vs Harvard ArchitectureVon Neumann vs Harvard Architecture
Von Neumann vs Harvard Architecture
 
Introduction to PCI DSS
Introduction to PCI DSSIntroduction to PCI DSS
Introduction to PCI DSS
 
PCI DSS Simplified: What You Need to Know
PCI DSS Simplified: What You Need to KnowPCI DSS Simplified: What You Need to Know
PCI DSS Simplified: What You Need to Know
 
Applications of paralleL processing
Applications of paralleL processingApplications of paralleL processing
Applications of paralleL processing
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Intro to Buses (Computer Architecture)
Intro to Buses  (Computer Architecture)Intro to Buses  (Computer Architecture)
Intro to Buses (Computer Architecture)
 
Usb universal serial bus
Usb   universal serial busUsb   universal serial bus
Usb universal serial bus
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Types of buses of computer
Types of buses of computerTypes of buses of computer
Types of buses of computer
 

Similar to 13. peripheral component interconnect (pci)

chapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxchapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxJaypeeFajanil
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & InterrruptsSharmilaChidaravalli
 
Sept 2017 boot process
Sept 2017   boot processSept 2017   boot process
Sept 2017 boot processshahin raj
 
Robotix Tutorial 8
Robotix Tutorial 8Robotix Tutorial 8
Robotix Tutorial 8ankuredkie
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
Io Architecture
Io ArchitectureIo Architecture
Io ArchitectureAero Plane
 
Peripherals and interfacing
Peripherals  and interfacingPeripherals  and interfacing
Peripherals and interfacingRAMPRAKASHT1
 
Byte Ordering - Unit 2.pptx
Byte Ordering - Unit 2.pptxByte Ordering - Unit 2.pptx
Byte Ordering - Unit 2.pptxRockyBhai46825
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...Rai University
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI Alliance
 
An alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdfAn alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdfleventhalbrad49439
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)Jeff Green
 

Similar to 13. peripheral component interconnect (pci) (20)

I/O Channel IBM 370
I/O Channel IBM 370I/O Channel IBM 370
I/O Channel IBM 370
 
TCPIP
TCPIPTCPIP
TCPIP
 
chapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptxchapter-4-microprocessor-interfacing.pptx
chapter-4-microprocessor-interfacing.pptx
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
Sept 2017 boot process
Sept 2017   boot processSept 2017   boot process
Sept 2017 boot process
 
Ch6 030702
Ch6 030702Ch6 030702
Ch6 030702
 
Robotix Tutorial 8
Robotix Tutorial 8Robotix Tutorial 8
Robotix Tutorial 8
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
Rip
RipRip
Rip
 
Io Architecture
Io ArchitectureIo Architecture
Io Architecture
 
Peripherals and interfacing
Peripherals  and interfacingPeripherals  and interfacing
Peripherals and interfacing
 
Byte Ordering - Unit 2.pptx
Byte Ordering - Unit 2.pptxByte Ordering - Unit 2.pptx
Byte Ordering - Unit 2.pptx
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
 
An alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdfAn alarm system is to have 4 different devices, each with its sensor..pdf
An alarm system is to have 4 different devices, each with its sensor..pdf
 
QSpiders - Upper layer-protocols
QSpiders - Upper layer-protocolsQSpiders - Upper layer-protocols
QSpiders - Upper layer-protocols
 
Io organization
Io organizationIo organization
Io organization
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
Ch09 system administration
Ch09 system administration Ch09 system administration
Ch09 system administration
 

More from Rumah Belajar

Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2 Rumah Belajar
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphologyRumah Belajar
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrixRumah Belajar
 
01 introduction image processing analysis
01 introduction image processing analysis01 introduction image processing analysis
01 introduction image processing analysisRumah Belajar
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detectionRumah Belajar
 
06 object measurement
06 object measurement06 object measurement
06 object measurementRumah Belajar
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanRumah Belajar
 
Bab 10 spring arif hary
Bab 10 spring  arif hary Bab 10 spring  arif hary
Bab 10 spring arif hary Rumah Belajar
 
Bab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahBab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahRumah Belajar
 
Bab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasBab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasRumah Belajar
 
Bab 08 screws, fasteners and connection syarif
Bab 08 screws, fasteners and connection  syarif Bab 08 screws, fasteners and connection  syarif
Bab 08 screws, fasteners and connection syarif Rumah Belajar
 
Bab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyBab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyRumah Belajar
 
Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Rumah Belajar
 
Bab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiBab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiRumah Belajar
 
Bab 03 load analysis
Bab 03 load analysisBab 03 load analysis
Bab 03 load analysisRumah Belajar
 
Bab 02 material dan proses
Bab 02 material dan prosesBab 02 material dan proses
Bab 02 material dan prosesRumah Belajar
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanRumah Belajar
 
Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Rumah Belajar
 

More from Rumah Belajar (20)

Image segmentation 2
Image segmentation 2 Image segmentation 2
Image segmentation 2
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
 
point processing
point processingpoint processing
point processing
 
03 image transform
03 image transform03 image transform
03 image transform
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
 
01 introduction image processing analysis
01 introduction image processing analysis01 introduction image processing analysis
01 introduction image processing analysis
 
04 image enhancement edge detection
04 image enhancement edge detection04 image enhancement edge detection
04 image enhancement edge detection
 
06 object measurement
06 object measurement06 object measurement
06 object measurement
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasan
 
Bab 10 spring arif hary
Bab 10 spring  arif hary Bab 10 spring  arif hary
Bab 10 spring arif hary
 
Bab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelahBab 06 kriteria kegagalan lelah
Bab 06 kriteria kegagalan lelah
 
Bab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan lasBab 09 kekuatan sambungan las
Bab 09 kekuatan sambungan las
 
Bab 08 screws, fasteners and connection syarif
Bab 08 screws, fasteners and connection  syarif Bab 08 screws, fasteners and connection  syarif
Bab 08 screws, fasteners and connection syarif
 
Bab 07 poros dan aksesoriny
Bab 07 poros dan aksesorinyBab 07 poros dan aksesoriny
Bab 07 poros dan aksesoriny
 
Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1Bab 05 kriteria kegagalan 1
Bab 05 kriteria kegagalan 1
 
Bab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksiBab 04 tegangan regangan defleksi
Bab 04 tegangan regangan defleksi
 
Bab 03 load analysis
Bab 03 load analysisBab 03 load analysis
Bab 03 load analysis
 
Bab 02 material dan proses
Bab 02 material dan prosesBab 02 material dan proses
Bab 02 material dan proses
 
Bab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasanBab 11 bantalan dan sistem pelumasan
Bab 11 bantalan dan sistem pelumasan
 
Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8Mikrokontroler pertemuan 8
Mikrokontroler pertemuan 8
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 

Recently uploaded (20)

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

13. peripheral component interconnect (pci)

  • 3. Dual Independent Bus (DIB)  Backside Bus simultan  Frontside Bus  PCI Local Bus  Menggunakan bridge untuk tersambung ke FSB
  • 4. Perbandingan Bus Bus Type Bus Bus MB/sec Width Speed ISA 16 bits 8 MHz 16 MBps EISA 32 bits 8 MHz 32 MBps VL-bus 32 bits 25 MHz 100 MBps VL-bus 32 bits 33 MHz 132 MBps PCI 32 bits 33 MHz 132 MBps PCI 64 bits 33 MHz 264 MBps PCI 64 bits 66 MHz 512 MBps PCI 64 bits 133 MHz 1 GBps
  • 5. North / South bridge
  • 7.
  • 8. PCI Card A typical PCI card PCI card – 47 pins
  • 9.
  • 10. Pengantar : Operasi PCI Bus Istilah  Initiator — Disebut juga Master — Mengendalikan (owns) bus dan menginisiasi transfer data — Setiap Initiator adalah juga Target  Target — Disebut Juga Slave — Target dari transfer data (read or write)  Agent — Initiator atau Target pada PCI bus
  • 12. Pengantar : Operasi PCI Bus PCI Bus Clock  Semua aksi disinkronisasi oleh clock PCI  Clock dapat berada di 0 MHz - 33 MHz dan semua perangkat PCI harus mampu mendukung pada kisaran tersebut  Spesifikasi revisi 2.1 memiliki kecepatan s/d 66 MHz Address phase  Pada waktu bersamaan identifier initiator menetapkan target device dand tipe transaksi  Initiator mengirimkan (assert) sinyal FRAME#  Setiap target PCI akan mengunci (latch ) alamat dan mendecode
  • 13. Pengantar : Operasi PCI Bus Data Phase  Jumlah byte data yang akan dikirimkan ditentukan oleh jumlah sinyal enable Command/Byte Enable yang dikirimkan oleh initiator  initiator dan target harus siap untuk menyelesaikan proses data phase  Digunakan sinyal IRDY# and TRDY# Transaction Duration  Dengan mengirimkan sinyal FRAME# pada saat start address phase and tetap sampai akhir data phase
  • 14. Pengantar : Operasi PCI Bus Transaction completion and return of bus to idle state  Dengan cara deasserting sinyal FRAME# tetapi asserting IRDY#  Ketika data transfer berakhit initiator mengembalikan the PCI bus pada status idle state cara deasserting IRDY#
  • 15.
  • 16.
  • 17. PCI Signals  - Clock and Reset  Transaction Control 1. Initiator Signals 2. Target Signals 3. Configuration Signals  Address and Data Signals  Arbitration Signals  Error Signals
  • 19. Clock and Reset  CLK  — PCI input clock  — All signals sampled on rising edge  — 33MHz is really 33.33333MHz (30ns clk. period)  — The clock is allowed to vary from 0 to 33 MHz  – The frequency can change ―on the fly‖  – Because of this, no PLLs are allowed  RST#  — Asynchronous reset  — PCI device must tri-state all I/Os during reset
  • 20. Transaction Control Target Signals  TRDY# – I/O  — “T-Ready”  — When the target asserts this signal, it tells the initiator that it is ready to send or receive data  STOP# – I/O  — Used by target to indicate that it needs to terminate the  transaction
  • 21. Transaction Control Target Signals  DEVSEL# – I/O  — Device select  — Part of PCI’s distributed address decoding  – Each target is responsible for decoding the address associated with each transaction  – When a target recognizes its address, it asserts DEVSEL# to claim the corresponding transaction
  • 22. Transaction Control Initiator Signals  FRAME# – I/O  — Signals the start and end of a transaction  IRDY# – I/O  — “I-Ready”  — Assertion by initiator indicates that it is ready to send receive data
  • 23. Transaction Control Configuration Signals  Uses the same signals as the target, plus . . .  IDSEL – I  — “ID-Sel”  — Individual device select for configuration – one unique IDSEL line per agent  — Solves the “chicken-and-egg” problem  – Allows the system host to configure agents before these agents know the PCI addresses to which they must respond
  • 24. Address and Data Signals  AD[31:0] – I/O  — 32-bit address/data bus  — PCI is little endian (lowest numeric index is LSB)  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]
  • 25. C/BE[3:0]# Command Types 0000 Interrupt Acknowledge 0001 Special Cycle 0010 I/O Read 0011 I/O Write 0100 Reserved 0101 Reserved 0110 Memory Read 0111 Memory Write 1000 Reserved 1001 Reserved 1010 Configuration Read 1011 Configuration Write 1100 Memory Read Multiple 1101 Dual Address Cycle 1110 Memory Read Line 1111 Memory Write and Invalidate
  • 26. Address and Data Signals  PAR – I/O  — Parity bit  — Used to verify correct transmittal of address/data and command/byte-enable  — The XOR of AD[31:0], C/BE#[3:0], and PAR should return zero (even parity)  – In other words, the number of 1’s across these 37 signals should be even
  • 27. Arbitration Signals  For initiators only!  REQ# – O  — Asserted by initiator to request bus ownership  — Point-to-point connection to arbiter – each initiator has its own REQ# line  GNT# – I  — Asserted by system arbiter to grant bus ownership to the initiator  — Point-to-point connection from arbiter – each initiator has its own GNT# line
  • 28. PCI Bus Arbitration • Arbiter – Round Robin – Priority – Two Level Priority
  • 29. Error Signals  PERR# – I/O  — Indicates that a data parity error has occurred  — An agent that can report parity errors can have its PERR# turned off during PCI configuration  SERR# – I/O  — Indicates a serious system error has occurred  – Example: Address parity error  — May invoke NMI (non-maskable interrupt, i.e., a restart) in some systems
  • 30. Operasi Bus Dasar Terms  Doubleword — 32 bits, most often known as a “DWORD”  Quadword — 64 bits, sometimes known as a “QWORD”  Burst transaction — Any transaction consisting of more than one data phase  Idle state (no bus activity) — Indicated by FRAME# and IRDY# deasserted
  • 32. Example #1 – Basic Write  A four-DWORD burst from an initiator to a target
  • 36. Write Example – Things to Note  The initiator has a phase profile of 3-1-1-1  — First data can be transferred in three clock cycles (idle + address +data = “3”)  — The 2 nd , 3 rd , and last data are transferred one cycle each (“1-1-1”)
  • 37. Write Example – Things to Note  The target profile is 5-1-1-1  — Medium decode – DEVSEL# asserted on 2 nd clock after FRAME#  — One clock period of latency (or wait state) in the beginning of the transfer  – DEVSEL# asserted on clock 3, but TRDY# not asserted unti clock 4  — Ideal target write is 3-1-1-1  Total of 4 data phases, but required 8 clocks  — Only 50% efficiency
  • 38. Target Address Decoding  PCI uses distributed address decoding  — A transaction begins over the PCI bus  — Each potential target on the bus decodes the transaction’s PCI address to determine whether it belongs to that target’s assigned address space  – One target may be assigned a larger address space than another, and would thus respond to more addresses  — The target that owns the PCI address then claims the transaction by asserting DEVSEL#
  • 40. Target Decode • Address decoders come in different speeds • If a transaction goes unclaimed (nobody asserts DEVSEL#), “Master Abort” occurs
  • 41. Example #2 – Target Read • A four-DWORD burst read from a target by an initiator
  • 42.
  • 43. More Terms  Turnaround cycle  — “Dead” bus cycle to prevent bus contention  Wait state  — A bus cycle where it is possible to transfer data, but no data  transfer occurs  — Target deasserts TRDY# to signal it is not ready  — Initiator deasserts IRDY# to signal it is not ready  Target termination  — Target asserts STOP# to indicate that it needs to terminate the current transaction
  • 44. 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#
  • 45. Zero and One Wait State  A one-wait-state agent inserts a wait state at the beginning of each data phase  — This is done if an agent – built in older, slower silicon – needs to pipeline critical paths internally  — Reduces bandwidth by 50%
  • 47. PCI-X 2.0 Write - Example
  • 48. PCIe (PCI Express) • Diperkenalkan tahun 2002, oleh Microsoft, Dell, IBM, dan Intel. • Bekerja pada 2.5GHz dengan hanya menggunakan 0.8V • Backward compatible dengan PCI
  • 49.
  • 50. Perbedaan PCIe dengan PCI • throughput meningkat 1056MBytes/sec dari 528MBytes/sec • Komunikasi data : Serial (PCIe), Paralel (PCI) • PCIe : Layered Architecture (Header) • PCIe mempermudah proses timing yang rumit dari spesifikasi PCI 64/66, sehingga membuat PCIe lebih mudah didesain • PCIe Mendukung hingga 4 slot pada 66MHz sedangkan PCI 66 hanya mampu 3 slot : 2 slots 100MHz dan 1 slot 133MHz
  • 51. Perbedaan PCIe dengan PCI (2) • PCIe meningkatkan efisiensi bus dan mengatasi kekurangan pada protokol PCI Kekurangan PCI – Shared bus bandwidth – tidak mampu beroperasi pada aplikasi isochronous – manajemen power yang terbatas – relatif mahal untuk membuat parallel bus – ukuran dan jumlah Connector – masalah routing pada Board
  • 52.
  • 53.
  • 54. Physical Layer Fungsi Logika Physical Layer : • Encoding/decoding dan scrambling • Reset, initialization, multi-lane de-skew • Speed, link width, lane mapping Fungsi Elektrik Physical Layer • Transmitter/Receiver • Packet Exchange • Power Management • Polarity Reversal
  • 55. Data Link Layer Fungsi Data Link Layer • Link management • Error detection and reporting • Packet storage for retry/replay Data Link Layer Packets • Link Data Integrity • Sequencing • CRC • ACK/NACK • Flow Control
  • 56. Flow Control PCI • Arbitration, continuous retry, disconnect • menghabiskan bandwidth dan power • Compound PCI-to-PCI Bridges akan menimbulkan masalah PCI Express • Credit-based flow control • Ditangani seluruhnya oleh data link layer • Tidak ada pengulangan (retries) • Bandwidth yang besar
  • 57. Transaction Layer Fungsi Transaction Layer • Data transactions • Flow control management Paket Transaction Layer • Request/Completion Model • Memory Read/Write • I/O Read/Write • Configuration Read/Write • Messages
  • 59.
  • 60. PCIe 2.0  PCI-SIG announced the availability of the PCI Express Base 2.0 specification on 15 January 2007. PCIe 2.0 doubles the bus standard's bandwidth from 2.5 Gbit/s to 5 Gbit/s, meaning a x32 connector can transfer data at up to 16 GB/s in each direction.  PCIe 2.0 is completely backwards compatible with PCIe v1.x. Graphic cards and motherboards designed for v2.0 will be able to work with v1.1 and v1.0, and vice versa
  • 61. PCIe 3.0  In August 2007 PCI-SIG announced that PCI Express 3.0 will carry a bit rate of 8 gigatransfers per second. The spec will be backwards-compatible with existing PCIe implementations and a final spec is due in 2009. New features for PCIe 3.0 specification include a number of optimizations for enhanced signaling and data integrity, including transmitter and receiver equalization, PLL improvements, clock data recovery, and channel enhancements for currently supported topologies