Digital Logic Level. Buses PCI (..continued) PTE MIK MIT

Size: px
Start display at page:

Download "Digital Logic Level. Buses PCI (..continued) PTE MIK MIT"

Transcription

1 Digital Logic Level Buses PCI (..continued) PTE MIK MIT

2 PCI - arbitration REQ# GNT# REQ# GNT# PCI arbiter REQ# GNT# The PCI bus has to be acquired before use by the devices PCI uses centralised bus arbitration REQ# GNT# PCI device PCI device PCI device PCI device

3 PCI - arbitration Device and arbiter have 2 links: REQ# GNT# PCI arbiter REQ# GNT# REQ# - Request line GNT# - Grant for use REQ# GNT# REQ# GNT# PCI device PCI device PCI device PCI device

4 PCI - arbitration Request REQ# GNT# PCI arbiter REQ# GNT# Device (or CPU) asserts REQ#, and waits for GNT# If GNT# asserted, device can use the bus in the next cycle REQ# GNT# REQ# GNT# PCI device PCI device PCI device PCI device

5 PCI - arbitration Arbitration The algorithm to be used is not defined in the standard. It can be Round-robin Priority based Etc.. Arbiter must be fair No device should wait too long/forever

6 PCI - arbitration Bus grant Valid for one transaction Length of transaction is unbound If no others require, the granted master can start several further transactions on the bus, divided by idle cycles In special cases, no idle cycles are needed (even faster data rate). If arbiter negates the GNT# (some device wants to use the bus), master has to stop the transfer and free the bus long and fast transfers and rapid master switches are also possible

7 PCI bus signals Mandatory signals

8 PCI bus signals Mandatory signals CLK clock, drives the bus, not like in ISA, transactions begin at the falling edge of CLK

9 PCI bus signals Mandatory signals AD address or data (early version: 32 bit) (3 cycles: 1-addr, 2-turnaround,3-data)

10 PCI bus signals Mandatory signals PAR AD parity

11 PCI bus signals Mandatory signals C/BE 1st cycle: bus command, what happens (read a word, write a block, etc..)

12 PCI bus signals Mandatory signals C/BE 2nd cycle: bitmap (mask) for valid bytes, which one we need (1,2,3,4 byte)

13 PCI bus signals Mandatory signals FRAME# - busmaster asserts it at start. Indicates: address/data is valid

14 PCI bus signals Mandatory signals IRDY# - At read master asserts it with FRAME#. It says: master is ready to accept incoming data

15 PCI bus signals Mandatory signals IDSEL Every PCI device has a 256 byte configuration space. With IDSEL, it can be read by other devices (Eg.: PnP uses it as well)

16 PCI bus signals Mandatory signals DEVSEL# - if slave detects it s address on AD, it indicates that it is ready for a transaction. If no signal here, master sees slave as broken or absent

17 PCI bus signals Mandatory signals TRDY# - at read: data on AD; at write: ready to receive data

18 PCI bus signals Mandatory signals STOP# - error, slave stops transaction

19 PCI bus signals Mandatory signals PERR# - parity error in the last cycle. At read, master sets it, at write, slave sets it. Receiver chooses what to do

20 PCI bus signals Mandatory signals SERR# - Address error (parity) or system error

21 PCI bus signals Mandatory signals REQ#/GNT# - arbitration signals

22 PCI bus signals Mandatory signals RST# - Reset, system goes to initial state (extreme error or user presses reset)

23 PCI bus signals Optional signals Optional signals Most of them needed for bit mode

24 PCI bus signals Optional signals REQ64# - busmaster wants a 64 bit transaction

25 PCI bus signals Optional signals ACK64# - slave accepts the 64 bit transaction

26 PCI bus signals Optional signals AD/PAR64/C/BE# - +32bit extensions for 64 bit transfer (data, parity, bitmap)

27 PCI bus signals Optional signals Next three signals optional not every PCI card has to handle connected with Multiprocessor systems (eg. Snooping)

28 PCI bus signals Optional signals LOCK bus is locked for several transactions by one master (CPU)

29 PCI bus signals Optional signals SBO#/SDONE snooping signals - cache cocherency

30 PCI bus signals Optional signals INTx Interrupt request signals. One physical PCI device can be a composition of 4 logical, independent devices with separate interrupt request lines

31 PCI bus signals Optional signals JTAG IEEE JTAG test functions. (connection and function test for IC-s)

32 PCI bus signals Optional signals M66EN clock frequency setup (33 or 66 MHz). Can t be changed during operation

33 Bus transactions Read idle cycle write transactions

34 PCI bus transactions T1 falling edge: AD gets memory address, C/BE# has the bus command (memory read), FRAME# is set, transaction starts

35 PCI bus transactions T2 : master lets bus free (turn around), slave gets control in T3. Master sets C/BE# (byte mask)

36 PCI bus transactions T3: slave sets DEVSEL#, master gets known that slave has the address and will reply. Slave puts data onto AD, sets TRDY# - it is done. If slave can t provide data instantly, sets DEVSEL# but keeps TRDY# negated waiting (this was the WAIT signal in general).

37 PCI bus transactions T4: idle cycle, mostly one idle cycle is inserted at he end of transactions

38 PCI bus transactions T5: Writing transaction starts: data onto AD, C/BE# bus command (write), start with FRAME#t

39 PCI bus transactions T5: no real turn around, same device will use the AD lines, still, we call it turn around

40 PCI bus transactions T7: memory gets the data

41 PCI PCI works well, but I/O bandwidth got low for needs New buses arose for faster devices. The new central element for bus communication is the bridge chip

42 PCI The PCI cards were too big for portable devices (laptops, palmtops) New direction: repartition the PC CPU, Graphical card, etc.. Can go into one boksz, far away, HDD (rack), optical drive, USB ports can go on a desktop box. PCI doesn t support this distances

43 (PCI-E, PCIe) Intel development (2004) Nothing to do with PCI, but the name was well marketed Not even a bus Concept Parallel wires has to go, master-slave duos has to go High speed serial connections must work, parallel This is a radical change to ISA/EISA/PCI concepts Many ideas come from LAN-s

44 PCI Express CPU,Memory - I/O-chips connected by a general switch This is the PCI Express

45 PCI Express CPU,Memory is connected on a dedicated high speed lane, the Bridge Chip is on it as well The Bridge Chip is connected to the PCIe Switch. Every I/O Device connects to it with two cables: GND + DATA high noise immunity PCI Express

46 PCI Express 3 key differences to PCI First 1. PCI: multidrop, common bus PCIe: centralized switch Second 2. PCI: wide, parallel wires (32/64 bits) PCIe: narrow serial point-to-point connections (1 bit) Third 3. PCI: bus master/slave communication PCIe: packet based communication

47 PCI Express PCIe packet switching Packets: Header (control info, like control lines) Data (payload) PCIe based PC is a little packet switched network

48 PCI Express Some minor diff. between PCI and PCIe PCIe uses error detecting code Chip Switch distance can be up to 50 cm Device can be a switch (tree structure) Hotplug is allowed PCIe connectors are smaller smaller, integrated devices can use it as well

49 PCI Express Protokol Stack The PCI Express uses a layered protocol stack Protokol: set of rules of conversation between two parties (a) : PCIe protokol stack 4 layers

50 PCI Express Protokol Stack Physical layer Moving bits between two parties Every connection is one or more simplex (one way) lane pairs (channel pairs). Normally there is one pair, but it can be 2,4,8,16 or 32 pairs (byte striped) Number of lanes equal in both directions One direction speed: min. 2,5 Gbps (3.0: 8 Gbps, : 16 Gbps - raw transfer rate (GT/s))

51 PCI Express Protokol Stack Physical layer No clock, devices start sending as soon they has to fast communication, but: Several similar 0-s or 1-s: how many? 10? 11? Solution: 8b/10b coding: 8 bits on 10 bits (20% bandwidth loss) Not too many 0 or 1 can follow each other Same number of 0 and 1 should be in one word This is enough signal change to sync.

52 PCI Express Protokol Stack Link layer Task: Package transmission Packet from transaction layer gets CRC (Cyclic Redundancy Check) code. CRC: error detection code Receiver calculates CRC as well, if it s the same, OK sends an acknoledgment packet. If not, asks for resend. (PCI couldn t do that)

53 PCI Express Protokol Stack Link layer Flow control mechanism Fast transmitters shouldn t flood slow receivers: Receiver gives credits (buffer size) for the transmitter. Transmitter sends just as much data for the receiver how much it can accept in the buffer slow and fast devices can communicate (and network is not overloaded)

54 PCI Express Protokol Stack Transaction layer Bus actions are handled Eg.: reading a word from memory needs two transactions: CPU (or DMA) initiates a transfer, ask for data Target answers back with data New services : Every lane is divided into 8 virtual circuits. Each can handle different class of traffic. They all are taged different, like high priority, no snoop, out of order delivery, etc.. Switch can decide between them what to forward next.

55 PCI Express Protokol Stack Transaction layer Every transaction uses one of these address spaces: Memory space (read - write) I/O space (device register addressing) Similar to prevoius systems Configuration space This is similar to prevoius systems Eg. Good for PnP realisation Message space (Signaling) No signal lines (wires) in PCIe, this must be used for signaling

56 PCI Express Protokol Stack Software layer Connection to the OS It can emulate the PCI bus (If OS doesn t know PCIe, it can communicate as it was PCI)

57 PCI Express information flow Software layer gives the command to the transaction layer. It will be divided into Header and Payload parts Link layer adds sequence number and CRC Physical layer adds start and end frames and sends packets

58 PCI Express The packet switched behaviour is fully done by hardware, it is transparent to the OS. Computer network layers are known by the OS.

59 PCI Express PCI Express connectors (4 lane, 16 lane, 1 lane, 16 lane connections and PCI connector)

60 PCI Express PCI Express 2.0 speeds PCI Express 2.0 Implementation Encoded Data Rate Unencoded Data Rate x1 5 Gbps 4 Gbps (500 MB/sec) x4 20 Gbps 16 Gbps (2 GB/sec) x8 40 Gbps 32 Gbps (4 GB/sec) x16 80 Gbps 64 Gbps (8 GB/sec) 2x bandwidth as for 1.0 High power device support ( W) PCIe Cable: even 10 meters distance is OK. New boksz types (separated boxes)

61 Slow device connections PCI and PCIe are fast but expensive. Slower needs should be solved more cheap Simple devices need simple connectors Originally every device had a controler card, this means setting up (jumpers? PnP) and building in cards Serial and parallel ports were not fully standard issues for normal users and driver development problems

62 USB (Universal Serial Bus) 1993 several companies (Compaq, DEC, IBM, Intel, Microsoft, NEC, etc..) created the standard for slow devices: USB Some goals: No nees for configuring devices (jumpers, miniswitches) No need for opening computer cases Only one type of cable Power should be provided by this cable

63 USB (Universal Serial Bus) Some goals: Several devices should be attachable Good for real-time devices (telephony) Devices should be installable while running (no reboot or switch off) Should be stay cheap

64 USB (Universal Serial Bus) USB 1.0 USB Mbps printer, digital cameras USB 2.0 1,5 Mbps keyboard, mouse, webcam, scanner, etc Mbps external storages USB Gbps

65 USB Root hub connects to system bus Further devices and switches can be attached to root hub tree structure 4-wire cable : 2 data 1 power (+5V) 1 ground

66 USB USB signals Voltage transition: 0 No voltage transition: 1 New device: Root hub senses it, interrupts CPU OS checks type of device (what is the bandwidth need) If there is enough bandwidth, device gets unique address (1-127) and loads configuration data to device

67 USB USB logic Bit pipes (channels) between device and roothub Devices can divide channels into 16 sub-channels Data goes only through the root-hub, no direct connection between usb-devices

68 USB Root hub broadcasts every 1,00±0,05 ms a new frame to keep devices synchronised in time One frame Is associated with a channel Consists of packets. First is sent by root-hub to device. Others can go in several directions.

69 USB Four frame series:

70 USB In frames 0 and 2 : no job, only a SOF (Start of Frame) packet (every device gets it synch.)

71 USB Frame 1: reading from a device (eg. scanner), Frame 3: writing to a device (eg. printer)

72 USB USB supports 4 frame types: Control frame Used for configuring devices, send commands, asking status Isochronous frame Real time devices use this (telephones, microphones, speakers), they have to do tasks at given intervals. No repeat at failures Bulk frame (data frame) Large transfers not real-time (error detection needed) Interrupt frame USB doesn t support interrupts. Eg. a keyboard generates no interrupts, but the OS has to read out it s buffer in a given interval (every 50 ms)

73 USB Frames consist of one or more packets TOKEN From root to device SOF Start of Frame, every frame starts with that IN device is asked for data. Fields in IN tell which channels are polled, what data has to be sent OUT Device gets data SETUP device configuration DATA Max. 64 byte data in one direction

74 USB Packets DATA 8 bit synch field (SYN), 8 bit packet type (PID), Payload 16 bit CRC code

75 USB Packets Three handshake packets ACK everything arrived fine NAK CRC error in transfer STALL device is busy, wait

76 USB Interface USB 1.1 (1998) UHCI (Universal Host Controller Interface) Intel design, work has to be done by software cheaper, uses more CPU OHCI (Open Host Controller Interface) Compaq/MS design, work has to be done by hardware more expensive, less CPU consuming

77 USB Interface USB 2.0 (2000) EHCI (Enhanced Host Controller Interface) This can emulate OHCI,UHCI (for older USB devices) This can use the 480 Mbps speed USB 2.0 competitor: IEEE 1394 FireWire 400 Mbps (used for camera, video devices)

78 USB connectors Robust Not easy to brake Hard to attach bad Cheap to produce Different endings (USB A,B, USB mini A,B) help to support the topology (tree) Easy to use Outer metal shell to handle static charge

79 USB connectors USB A USB B USB Mini A & B

This page intentionally left blank

This page intentionally left blank This page intentionally left blank 216 THE DIGITAL LOGIC LEVEL CHAP. 3 and in 1995, 2.1 came out. 2.2 has features for mobile computers (mostly for saving battery power). The bus runs at up to 66 MHz and

More information

PCI and PCI Express Bus Architecture

PCI and PCI Express Bus Architecture PCI and PCI Express Bus Architecture Computer Science & Engineering Department Arizona State University Tempe, AZ 85287 Dr. Yann-Hang Lee yhlee@asu.edu (480) 727-7507 7/23 Buses in PC-XT and PC-AT ISA

More information

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 1 Most of the integrated I/O subsystems are connected to the

More information

The D igital Digital Logic Level Chapter 3 1

The D igital Digital Logic Level Chapter 3 1 The Digital Logic Level Chapter 3 1 Gates and Boolean Algebra (1) (a) A transistor inverter. (b) A NAND gate. (c) A NOR gate. 2 Gates and Boolean Algebra (2) The symbols and functional behavior for the

More information

Computer Architecture

Computer Architecture Computer Architecture PCI and PCI Express 2018. február 22. Budapest Gábor Horváth associate professor BUTE Dept. of Networked Systems and Services ghorvath@hit.bme.hu 2 The PCI standard PCI = Peripheral

More information

Bus (Väylä) Stallings: Ch 3 What moves on Bus? Bus characteristics PCI-bus PCI Express

Bus (Väylä) Stallings: Ch 3 What moves on Bus? Bus characteristics PCI-bus PCI Express Lecture 2 Bus (Väylä) Stallings: Ch 3 What moves on Bus? Bus characteristics PCI-bus PCI Express Bus (Sta06 Fig 3.16) For communication with and between devices Broadcast (yleislähetys): most common Everybody

More information

Older PC Implementations

Older PC Implementations PCI Older PC Implementations 2 Newer PC Implementations 3 Server Platforms 4 PCI Overview 5 PCI Features 32-Bit or 64-Bit address and data 66 or 33 down to 0 MHz synchronous operation Single or multiple

More information

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals William Stallings Computer Organization and Architecture 7 th Edition Chapter 7 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In

More information

Typical System Implementation

Typical System Implementation PCI Typical System Implementation CPU Cache Memory Subsystem DRAM Subsystem Host Bus PCI Local Bus PCI Bridge/ Memory Controller ISA Bus Bridge ISA Bus PCI Add-in Slots ISA Add-in Slots PCI 2 Desktop Platforms

More information

Interconnection Structures. Patrick Happ Raul Queiroz Feitosa

Interconnection Structures. Patrick Happ Raul Queiroz Feitosa Interconnection Structures Patrick Happ Raul Queiroz Feitosa Objective To present key issues that affect interconnection design. Interconnection Structures 2 Outline Introduction Computer Busses Bus Types

More information

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture 168 420 Computer Architecture Chapter 6 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats All slower than CPU

More information

Introducing. QuickLogic s The Basics of PCI. QuickPCI - The PCI Solution for System Needs

Introducing. QuickLogic s The Basics of PCI. QuickPCI - The PCI Solution for System Needs Introducing QuickLogic s The Basics of PCI QuickPCI - The PCI Solution for System Needs Typical System Implementation CPU Cache Memory Subsystem DRAM Subsystem Host Bus PCI Local Bus PCI Bridge/ Memory

More information

Organisasi Sistem Komputer

Organisasi Sistem Komputer LOGO Organisasi Sistem Komputer OSK 5 Input Output 1 1 PT. Elektronika FT UNY Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats

More information

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University EE108B Lecture 17 I/O Buses and Interfacing to CPU Christos Kozyrakis Stanford University http://eeclass.stanford.edu/ee108b 1 Announcements Remaining deliverables PA2.2. today HW4 on 3/13 Lab4 on 3/19

More information

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses Chapter 11: Input/Output Organisation Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses Objective Familiarize with a standard I/O interface synchronous serial buses USB

More information

ECE 485/585 Microprocessor System Design

ECE 485/585 Microprocessor System Design Microprocessor System Design Lecture 16: PCI Bus Serial Buses Zeshan Chishti Electrical and Computer Engineering Dept. Maseeh College of Engineering and Computer Science Source: Lecture based on materials

More information

Introduction to the PCI Interface. Meeta Srivastav

Introduction to the PCI Interface. Meeta Srivastav Introduction to the PCI Interface Meeta Srivastav 4 th March, 2005 Talk layout BUS standards PCI Local Bus PCI protocol Special Cases Electrical and Mechanical Specifications Other Topics 2 Inside a Computer

More information

Lecture #9-10: Communication Methods

Lecture #9-10: Communication Methods Lecture #9-10: Communication Methods Kunle EE183 February 10, 2003 Lab Issues Lab 2 Writeup is due tonight at Midnight Lab 3 Questions? The starter is available on the web ASM183 Modelsim Verilog simulation

More information

Lecture 2: Bus

Lecture 2: Bus Lecture 2 Bus (Väylä) Stallings: Ch 3 What moves on Bus? Bus characteristics PCI-bus PCI Express Bus (Sta06 Fig 3.16) For communication with and between devices Broadcast (yleislähetys): most common Everybody

More information

Bus Example: Pentium II

Bus Example: Pentium II Peripheral Component Interconnect (PCI) Conventional PCI, often shortened to PCI, is a local computer bus for attaching hardware devices in a computer. PCI stands for Peripheral Component Interconnect

More information

Peripheral Component Interconnect - Express

Peripheral Component Interconnect - Express PCIe Peripheral Component Interconnect - Express Preceded by PCI and PCI-X But completely different physically Logical configuration separate from the physical configuration Logical configuration is backward

More information

Computer Architecture CS 355 Busses & I/O System

Computer Architecture CS 355 Busses & I/O System Computer Architecture CS 355 Busses & I/O System Text: Computer Organization & Design, Patterson & Hennessy Chapter 6.5-6.6 Objectives: During this class the student shall learn to: Describe the two basic

More information

Buses. Disks PCI RDRAM RDRAM LAN. Some slides adapted from lecture by David Culler. Pentium 4 Processor. Memory Controller Hub.

Buses. Disks PCI RDRAM RDRAM LAN. Some slides adapted from lecture by David Culler. Pentium 4 Processor. Memory Controller Hub. es > 100 MB/sec Pentium 4 Processor L1 and L2 caches Some slides adapted from lecture by David Culler 3.2 GB/sec Display Memory Controller Hub RDRAM RDRAM Dual Ultra ATA/100 24 Mbit/sec Disks LAN I/O Controller

More information

PCI Bus Quick Reference by Doug Abbott

PCI Bus Quick Reference by Doug Abbott PCI Bus Quick Reference by Doug Abbott This quick reference to the PCI Bus is based on the information contained in PCI BUS DEMYSTIFIED by Doug Abbott, published by LLH Technology Publishing. To order

More information

PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017)

PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017) PCI Host Controller 14a Hardware Reference 1 PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017) Purpose: Host Controller to support the PCI bus according to the PCI/104 specification.

More information

Reference board User Guide for PI7C8152 By Glenn Sanders

Reference board User Guide for PI7C8152 By Glenn Sanders Reference board User Guide for PI7C8152 By Glenn Sanders Introduction The Pericom PI7C8152 PCI-to-PCI bridge evaluation board demonstrates the bridge and allows testing of key features either before or

More information

System Buses Ch 3. Computer Function Interconnection Structures Bus Interconnection PCI Bus. 9/4/2002 Copyright Teemu Kerola 2002

System Buses Ch 3. Computer Function Interconnection Structures Bus Interconnection PCI Bus. 9/4/2002 Copyright Teemu Kerola 2002 System Buses Ch 3 Computer Function Interconnection Structures Bus Interconnection PCI Bus 1 Computer Function von Neumann architecture memory contains both instruction and data Fetch-Execute Cycle CPU

More information

Module 6: INPUT - OUTPUT (I/O)

Module 6: INPUT - OUTPUT (I/O) Module 6: INPUT - OUTPUT (I/O) Introduction Computers communicate with the outside world via I/O devices Input devices supply computers with data to operate on E.g: Keyboard, Mouse, Voice recognition hardware,

More information

Universal Serial Bus - USB 2.0

Universal Serial Bus - USB 2.0 USB Packet Types USB has four packet types Token packets (type of transaction) Data Packets (payload / information) Handshake Packets (ack & error correction) Start of Frame packets (flag start of a new

More information

More on IO: The Universal Serial Bus (USB)

More on IO: The Universal Serial Bus (USB) ecture 37 Computer Science 61C Spring 2017 April 21st, 2017 More on IO: The Universal Serial Bus (USB) 1 Administrivia Project 5 is: USB Programming (read from a mouse) Optional (helps you to catch up

More information

SERIAL BUS COMMUNICATION PROTOCOLS USB

SERIAL BUS COMMUNICATION PROTOCOLS USB DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-20: SERIAL BUS COMMUNICATION PROTOCOLS USB 1 USB Host Applications Connecting flash memory cards, pen-like memory devices, digital camera, printer,

More information

PCI / PMC / CPCI / PCI-X Bus Analysis

PCI / PMC / CPCI / PCI-X Bus Analysis PCI / PMC / CPCI / PCI-X Bus Analysis Analyzer Exerciser Stimulus Target Anomaly Performance Compliance 850 System Analyzer/Exerciser Silicon Control Inc. introduces the ultimate analyzer and exerciser

More information

Course 10: Interfaces Agenda

Course 10: Interfaces Agenda Course 10: Interfaces 1 Agenda Introduction V.24 interface (RS232) USB 2 Introduction 3 Definition(s) (from the web) A boundary across which two independent systems meet and act on or communicate with

More information

Errata History For PCI System Architecture, 4th Edition

Errata History For PCI System Architecture, 4th Edition Errata History For PCI System Architecture, 4th Edition Please note that the change history table below was started on 3/12/01. Changes made prior to that date are not reflected in the table but are contained

More information

USB for Embedded Devices. Mohit Maheshwari Prashant Garg

USB for Embedded Devices. Mohit Maheshwari Prashant Garg USB for Embedded Devices Mohit Maheshwari 200601008 Prashant Garg 200601144 USB : An Introduction The Universal Serial Bus (USB) is a specification developed by Compaq, Intel, Microsoft and NEC, joined

More information

4 Multiplexer. Y Fig Keyboard Scan Matrix

4 Multiplexer. Y Fig Keyboard Scan Matrix - 4 Multiplexer Microcontroller 3 Decoder X Y Fig. - Keyboard Scan Matrix 2 Prentice Hall, Inc. -2 Track Sector Head positioning Fig. -2 Hard Disk Format 2 Prentice Hall, Inc. -3 RGB electron guns R G

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming x86 System Architecture and PCI Bus (Module 9) Yann-Hang Lee Arizona State University yhlee@asu.edu (480) 727-7507 Summer 2014 Interrupt in 8086 Two pins: NMI and INTR Interrupt

More information

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017 CS 43: Computer Networks Switches and LANs Kevin Webb Swarthmore College December 5, 2017 Ethernet Metcalfe s Ethernet sketch Dominant wired LAN technology: cheap $20 for NIC first widely used LAN technology

More information

Summary of MAC protocols

Summary of MAC protocols Summary of MAC protocols What do you do with a shared media? Channel Partitioning, by time, frequency or code Time Division, Code Division, Frequency Division Random partitioning (dynamic) ALOHA, S-ALOHA,

More information

Errata and Clarifications to the PCI-X Addendum, Revision 1.0a. Update 3/12/01 Rev P

Errata and Clarifications to the PCI-X Addendum, Revision 1.0a. Update 3/12/01 Rev P Errata and Clarifications to the PCI-X Addendum, Revision 1.0a Update 3/12/01 Rev P REVISION REVISION HISTORY DATE P E1a-E6a, C1a-C12a 3/12/01 2 Table of Contents Table of Contents...3 Errata to PCI-X

More information

PCI-X Addendum to the PCI Compliance Checklist. Revision 1.0a

PCI-X Addendum to the PCI Compliance Checklist. Revision 1.0a PCI-X Addendum to the PCI Compliance Checklist Revision 1.0a August 29, 2000 PCI-X Addendum to the PCI Compliance Checklist REVISION REVISION HISTORY DATE 1.0 Initial Release 3/1/00 1.0a Updates for PCI-X

More information

Lecture 25: Busses. A Typical Computer Organization

Lecture 25: Busses. A Typical Computer Organization S 09 L25-1 18-447 Lecture 25: Busses James C. Hoe Dept of ECE, CMU April 27, 2009 Announcements: Project 4 due this week (no late check off) HW 4 due today Handouts: Practice Final Solutions A Typical

More information

David Harrison, Design Engineer for Model Sounds Inc.

David Harrison, Design Engineer for Model Sounds Inc. David Harrison, Design Engineer for Model Sounds Inc. 1 History -1 In 1994 an alliance of four industry partners (Compaq, Intel, Microsoft and NEC) started to specify the Universal Serial Bus (USB). The

More information

Chapter 5 Input/Output Organization. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 5 Input/Output Organization. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 5 Input/Output Organization Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Accessing I/O Devices Interrupts Direct Memory Access Buses Interface

More information

Where We Are in This Course Right Now. ECE 152 Introduction to Computer Architecture Input/Output (I/O) Copyright 2012 Daniel J. Sorin Duke University

Where We Are in This Course Right Now. ECE 152 Introduction to Computer Architecture Input/Output (I/O) Copyright 2012 Daniel J. Sorin Duke University Introduction to Computer Architecture Input/Output () Copyright 2012 Daniel J. Sorin Duke University Slides are derived from work by Amir Roth (Penn) Spring 2012 Where We Are in This Course Right Now So

More information

Microprocessors LCD Parallel Port USB Port

Microprocessors LCD Parallel Port USB Port Microprocessors LCD Parallel Port USB Port H. Abdoli Bu-Ali Sina University 1 New LCDs Interfacing Lower prices Display numbers, characters, graphics Integrated refreshing controller Ease of programming

More information

Lecture 13: Bus and I/O. James C. Hoe Department of ECE Carnegie Mellon University

Lecture 13: Bus and I/O. James C. Hoe Department of ECE Carnegie Mellon University 18 447 Lecture 13: Bus and I/O James C. Hoe Department of ECE Carnegie Mellon University 18 447 S18 L13 S1, James C. Hoe, CMU/ECE/CALCM, 2018 Your goal today Housekeeping take first peek outside of the

More information

Digital System Design

Digital System Design Digital System Design by Dr. Lesley Shannon Email: lshannon@ensc.sfu.ca Course Website: http://www.ensc.sfu.ca/~lshannon/courses/ensc350 Simon Fraser University i Slide Set: 15 Date: March 30, 2009 Slide

More information

Digital Input and Output

Digital Input and Output Digital Input and Output Topics: Parallel Digital I/O Simple Input (example) Parallel I/O I/O Scheduling Techniques Programmed Interrupt Driven Direct Memory Access Serial I/O Asynchronous Synchronous

More information

Data Communications & Computer Networks. Digital Data Communications Techniques

Data Communications & Computer Networks. Digital Data Communications Techniques Data Communications & Computer Networks Chapter 6 Digital Data Communications Techniques Fall 2008 Agenda Preface Asynchronous & Synchronous transmission Error Detection & Correction Line configurations

More information

Introduction to Input and Output

Introduction to Input and Output Introduction to Input and Output The I/O subsystem provides the mechanism for communication between the CPU and the outside world (I/O devices). Design factors: I/O device characteristics (input, output,

More information

Medium Access Protocols

Medium Access Protocols Medium Access Protocols Summary of MAC protocols What do you do with a shared media? Channel Partitioning, by time, frequency or code Time Division,Code Division, Frequency Division Random partitioning

More information

Intel Thunderbolt. James Coddington Ed Mackowiak

Intel Thunderbolt. James Coddington Ed Mackowiak Intel Thunderbolt James Coddington Ed Mackowiak Thunderbolt Basics PCI Express and DisplayPort through a single connection made available to external devices. Thunderbolt Basics Developed by Intel and

More information

Raspberry Pi - I/O Interfaces

Raspberry Pi - I/O Interfaces ECE 1160/2160 Embedded Systems Design Raspberry Pi - I/O Interfaces Wei Gao ECE 1160/2160 Embedded Systems Design 1 I/O Interfaces Parallel I/O and Serial I/O Parallel I/O: multiple input/output simultaneously

More information

STUDY, DESIGN AND SIMULATION OF FPGA BASED USB 2.0 DEVICE CONTROLLER

STUDY, DESIGN AND SIMULATION OF FPGA BASED USB 2.0 DEVICE CONTROLLER STUDY, DESIGN AND SIMULATION OF FPGA BASED USB 2.0 DEVICE CONTROLLER 1 MS. PARUL BAHUGUNA CD 1 M.E. [VLSI & Embedded System Design] Student, Gujarat Technological University PG School, Ahmedabad, Gujarat.

More information

STANDARD I/O INTERFACES

STANDARD I/O INTERFACES STANDARD I/O INTERFACES The processor bus is the bus defied by the signals on the processor chip itself. Devices that require a very high-speed connection to the processor, such as the main memory, may

More information

OPERATIONS MANUAL PPM-USB2

OPERATIONS MANUAL PPM-USB2 OPERATIONS MANUAL PPM-USB2 WinSystems reserves the right to make changes in the circuitry and specifications at any time without notice. Copyright 2004 by WinSystems. All Rights Reserved. REVISION HISTORY

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2011 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2010 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

ECE 485/585 Microprocessor System Design

ECE 485/585 Microprocessor System Design Microprocessor System Design Lecture 17: Serial Buses USB Disks and other I/O Zeshan Chishti Electrical and Computer Engineering Dept. Maseeh College of Engineering and Computer Science Source: Lecture

More information

Principles behind data link layer services

Principles behind data link layer services Data link layer Goals: Principles behind data link layer services Error detection, correction Sharing a broadcast channel: Multiple access Link layer addressing Reliable data transfer, flow control: Done!

More information

Comprehensive Statistical Analysis of Min & Max of over 100 parameters at user specific addresses

Comprehensive Statistical Analysis of Min & Max of over 100 parameters at user specific addresses PMC PCI-X v1108 Analyzer & Exerciser 66 MHz, 64 Bit Analyzer/Exerciser Comprehensive Statistical Analysis of Min & Max of over 100 parameters at user specific addresses 533 MBytes/Sec real-time continuous

More information

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved.

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved. + William Stallings Computer Organization and Architecture 10 th Edition 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. 2 + Chapter 3 A Top-Level View of Computer Function and Interconnection

More information

Input/Output Organization. Outline

Input/Output Organization. Outline Input/Output Organization Chapter 19 S. Dandamudi Outline Introduction Accessing I/O devices An example I/O device Keyboard I/O data transfer Programmed I/O DMA Error detection and correction Parity encoding

More information

#64. Quick start: (photo of 8154 reference board) The numbers on the photo correspond to the text explanation on the right:

#64. Quick start: (photo of 8154 reference board) The numbers on the photo correspond to the text explanation on the right: User Guide for PI7C8154 Reference Board By Glenn Sanders Introduction: The Pericom PI7C8154 PCI to PCI bridge evaluation board demonstrates the bridge and allows testing of key features either before or

More information

Chapter Four. Making Connections. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Chapter Four. Making Connections. Data Communications and Computer Networks: A Business User s Approach Seventh Edition Chapter Four Making Connections Data Communications and Computer Networks: A Business User s Approach Seventh Edition After reading this chapter, you should be able to: List the four components of all

More information

Interfacing. Introduction. Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures. Vahid, Givargis

Interfacing. Introduction. Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures. Vahid, Givargis Interfacing Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures Vahid, Givargis Introduction Embedded system functionality aspects Processing Transformation of data Implemented

More information

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies Data Link Layer Our goals: understand principles behind data link layer services: link layer addressing instantiation and implementation of various link layer technologies 1 Outline Introduction and services

More information

Certified Wireless USB Wire Adapter Model

Certified Wireless USB Wire Adapter Model Certified Wireless Wire Adapter Model Abdul R. Ismail Intel Corporation Content also provided by: Matt Katagiri, NEC Agenda Overview Software-Hardware Overview Delivery Mechanism: RPipe Hardware Architecture

More information

Computer Architecture. Hebrew University Spring Chapter 8 Input/Output. Big Picture: Where are We Now?

Computer Architecture. Hebrew University Spring Chapter 8 Input/Output. Big Picture: Where are We Now? Computer Architecture Hebrew University Spring 2001 Chapter 8 Input/Output Adapted from COD2e by Petterson & Hennessy Chapter 8 I/O Big Picture: Where are We Now? I/O Systems Computer Processor Control

More information

Errata history for PCI-X System Architecture, 1st Edition. Page Severity Description

Errata history for PCI-X System Architecture, 1st Edition. Page Severity Description pcixerratachangehistory.fm Page 1 Tuesday, September 2, 2003 1:48 PM Errata history for PCI-X System Architecture, 1st Edition. Change Date Page Severity Description 3/12/01 109 Medium Affects both the

More information

Chapter 7 : Input-Output Organization

Chapter 7 : Input-Output Organization Chapter 7 Input-Output organization 7.1 Peripheral devices In addition to the processor and a set of memory modules, the third key element of a computer system is a set of input-output subsystem referred

More information

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University Chapter 3 Top Level View of Computer Function and Interconnection Contents Computer Components Computer Function Interconnection Structures Bus Interconnection PCI 3-2 Program Concept Computer components

More information

Input/Output. Today. Next. Principles of I/O hardware & software I/O software layers Disks. Protection & Security

Input/Output. Today. Next. Principles of I/O hardware & software I/O software layers Disks. Protection & Security Input/Output Today Principles of I/O hardware & software I/O software layers Disks Next Protection & Security Operating Systems and I/O Two key operating system goals Control I/O devices Provide a simple,

More information

IO System. CP-226: Computer Architecture. Lecture 25 (24 April 2013) CADSL

IO System. CP-226: Computer Architecture. Lecture 25 (24 April 2013) CADSL IO System Virendra Singh Associate Professor Computer Architecture and Dependable Systems Lab Department of Electrical Engineering Indian Institute of Technology Bombay http://www.ee.iitb.ac.in/~viren/

More information

Principles behind data link layer services:

Principles behind data link layer services: Data link layer Goals: Principles behind data link layer services: Error detection, correction Sharing a broadcast channel: Multiple access Link layer addressing Reliable data transfer, flow control Example

More information

Principles behind data link layer services:

Principles behind data link layer services: Data link layer Goals: Principles behind data link layer services: Error detection, correction Sharing a broadcast channel: Multiple access Link layer addressing Reliable data transfer, flow control Example

More information

Checking and understanding USB settings in Device Manager

Checking and understanding USB settings in Device Manager Checking and understanding USB settings in Device Manager Contents Overview of USB Viewing USB Controllers in Device Manager Checking Properties of the Generic USB Hub Checking Properties of the USB Enhanced

More information

PCI EXPRESS TECHNOLOGY. Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology

PCI EXPRESS TECHNOLOGY. Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology WHITE PAPER February 2004 PCI EXPRESS TECHNOLOGY Jim Brewer, Dell Business and Technology Development Joe Sekel, Dell Server Architecture and Technology Formerly known as 3GIO, PCI Express is the open

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION INPUT-OUTPUT ORGANIZATION Peripheral Devices: The Input / output organization of computer depends upon the size of computer and the peripherals connected to it. The I/O Subsystem of the computer, provides

More information

Introduction to Embedded System I/O Architectures

Introduction to Embedded System I/O Architectures Introduction to Embedded System I/O Architectures 1 I/O terminology Synchronous / Iso-synchronous / Asynchronous Serial vs. Parallel Input/Output/Input-Output devices Full-duplex/ Half-duplex 2 Synchronous

More information

Universal Serial Bus Host Interface on an FPGA

Universal Serial Bus Host Interface on an FPGA Universal Serial Bus Host Interface on an FPGA Application Note For many years, designers have yearned for a general-purpose, high-performance serial communication protocol. The RS-232 and its derivatives

More information

OPERATING SYSTEMS CS136

OPERATING SYSTEMS CS136 OPERATING SYSTEMS CS136 Jialiang LU Jialiang.lu@sjtu.edu.cn Based on Lecture Notes of Tanenbaum, Modern Operating Systems 3 e, 1 Chapter 5 INPUT/OUTPUT 2 Overview o OS controls I/O devices => o Issue commands,

More information

I/O Handling. ECE 650 Systems Programming & Engineering Duke University, Spring Based on Operating Systems Concepts, Silberschatz Chapter 13

I/O Handling. ECE 650 Systems Programming & Engineering Duke University, Spring Based on Operating Systems Concepts, Silberschatz Chapter 13 I/O Handling ECE 650 Systems Programming & Engineering Duke University, Spring 2018 Based on Operating Systems Concepts, Silberschatz Chapter 13 Input/Output (I/O) Typical application flow consists of

More information

ECE 471 Embedded Systems Lecture 30

ECE 471 Embedded Systems Lecture 30 ECE 471 Embedded Systems Lecture 30 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 3 December 2018 HW#11 was posted Announcements Feel free to return borrowed hardware. 1 Ethernet

More information

Computer Science 146. Computer Architecture

Computer Science 146. Computer Architecture Computer Science 46 Computer Architecture Spring 24 Harvard University Instructor: Prof dbrooks@eecsharvardedu Lecture 22: More I/O Computer Science 46 Lecture Outline HW5 and Project Questions? Storage

More information

Introduction to Networks and the Internet

Introduction to Networks and the Internet Introduction to Networks and the Internet HTML tutorial today. Announcements CMPE 80N Spring 2003 Week 5 1 2 MAC Protocols MAC Protocols Round-robin. Scheduled-access. Contention-based. Contention-based

More information

User Guide for the Pericom PI7C8150 Reference board By Glenn Sanders

User Guide for the Pericom PI7C8150 Reference board By Glenn Sanders 2789027890278902278902789027890227890278902789022789027890278902278902 Introduction The Pericom PI7C80 PCI-to-PCI bridge evaluation board demonstrates the bridge and allows testing of key features either

More information

AMD HD5450 PCI ADD-IN BOARD. Datasheet. Advantech model number:gfx-a3t5-61fst1

AMD HD5450 PCI ADD-IN BOARD. Datasheet. Advantech model number:gfx-a3t5-61fst1 AMD HD5450 PCI ADD-IN BOARD Datasheet Advantech model number:gfx-a3t5-61fst1 CONTENTS 1. Feature... 3 2. Functional Overview... 4 2.1. Memory Interface... 4 2.2. Acceleration Features... 4 2.3. Avivo Display

More information

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14 CS 134 Operating Systems April 8, 2013 Lecture 20 Input/Output Instructor: Neil Rhodes Hardware How hardware works Operating system layer What the kernel does API What the programmer does Overview 2 kinds

More information

PCI-X Addendum to the PCI Compliance Checklist. Revision 1.0b

PCI-X Addendum to the PCI Compliance Checklist. Revision 1.0b PCI-X Addendum to the PCI Compliance Checklist Revision 1.0b April 16, 2003 PCI-X 1.0b Addendum to the PCI Compliance Checklist REVISION REVISION HISTORY DATE 1.0 Initial Release 3/1/00 1.0a Updates for

More information

Chapter Seven Morgan Kaufmann Publishers

Chapter Seven Morgan Kaufmann Publishers Chapter Seven Memories: Review SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: value is stored as a charge on capacitor (must be

More information

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition ELEC / COMP 177 Fall 2011 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Project #2 Due Thursday, Nov 10 th By midnight Homework #5 Due Thursday, Nov 17 th Later this semester: Homework

More information

Chapter 02: Computer Organization Functional units and components in a computer organization Part 3 Bus Structures

Chapter 02: Computer Organization Functional units and components in a computer organization Part 3 Bus Structures Chapter 02: Computer Organization Functional units and components in a computer organization Part 3 Bus Structures Objective: Understand the IO Subsystem and Understand Bus Structures Understand the functions

More information

Interface Synthesis. Communication Synthesis

Interface Synthesis. Communication Synthesis 2002-05-02 1 erface Synthesis Kris Kuchcinski Krzysztof.Kuchcinski@cs.lth.se Communication Synthesis After system partitioning we got a set of tasks assigned to system components (processors executing

More information

PCI-X Protocol Addendum to the PCI Local Bus Specification Revision 2.0a

PCI-X Protocol Addendum to the PCI Local Bus Specification Revision 2.0a PCI-X Protocol Addendum to the PCI Local Bus Specification Revision 2.0a July 22, 2003 REVISION REVISION HISTORY DATE 1.0 Initial release. 9/22/99 1.0a Clarifications and typographical corrections. 7/24/00

More information

Computer Architecture

Computer Architecture Computer Architecture Computer Architecture Hardware INFO 2603 Platform Technologies Week 1: 04-Sept-2018 Computer architecture refers to the overall design of the physical parts of a computer. It examines:

More information

Storage Systems. Storage Systems

Storage Systems. Storage Systems Storage Systems Storage Systems We already know about four levels of storage: Registers Cache Memory Disk But we've been a little vague on how these devices are interconnected In this unit, we study Input/output

More information

Architecture Specification

Architecture Specification PCI-to-PCI Bridge Architecture Specification, Revision 1.2 June 9, 2003 PCI-to-PCI Bridge Architecture Specification Revision 1.1 December 18, 1998 Revision History REVISION ISSUE DATE COMMENTS 1.0 04/05/94

More information

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol Master s thesis defense by Vijay Chandramohan Committee Members: Dr. Christensen (Major Professor) Dr. Labrador Dr. Ranganathan

More information