© 2000 Morgan Kaufman Overheads for Computers as Components System components zTiming diagrams. zMemory. zBusses and interconnect.

Slides:



Advertisements
Similar presentations
© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Bus-Based Computer Systems zBusses. zMemory devices. zI/O devices: yserial links ytimers.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
FPGA-Based System Design: Chapter 7 Copyright  2004 Prentice Hall PTR Topics n Bus interfaces. n Platform FPGAs.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
Main Mem.. CSE 471 Autumn 011 Main Memory The last level in the cache – main memory hierarchy is the main memory made of DRAM chips DRAM parameters (memory.
© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Bus-Based Computer Systems zBusses. zMemory devices. zI/O devices: yserial links ytimers.
TCSS 372A Computer Architecture. Getting Started Get acquainted (take pictures) Discuss purpose, scope, and expectations of the course Discuss personal.
Memory Hierarchy.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output.
1 USB 2.0 Specification  General Description  From where we could begin the work  What would be valid to do?  Main doubts  What is OTG (On the Go)
1 USB 2.0 Specification  General Description  What is OTG (On the Go)  From where we could begin the work  What would be valid to do?
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
USB – An Overview Group 3 Kaushik Nandha Bikram What is the Universal Serial bus (USB)? Is a cable bus that supports data exchange between a host computer.
CSS 372 Oct 2 nd - Lecture 2 Review of CSS 371: Simple Computer Architecture Chapter 3 – Connecting Computer Components with Buses Typical Bus Structure.
1 COMP541 Interrupts, DMA, Serial I/O Montek Singh April 24, 2007.
Anush Rengarajan Feng Zheng Thomas Madaelil
1 Input/Output Chapter 3 TOPICS Principles of I/O hardware Principles of I/O software I/O software layers Disks Clocks Reference: Operating Systems Design.
USB 2.0 INTRODUCTION NTUT CSIE 學 生:許家豪 指導教授:柯開維教授.
CSS Lecture 2 Chapter 3 – Connecting Computer Components with Buses Bus Structures Synchronous, Asynchronous Typical Bus Signals Two level, Tri-state,
CPU Chips The logical pinout of a generic CPU. The arrows indicate input signals and output signals. The short diagonal lines indicate that multiple pins.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Digital Logic Level.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Chapter 6 Memory and Programmable Logic Devices
Serial Interfaces. Bit serial bus New generation of busses Uses bit-serial, differential drive technology Uses on-line device drivers (Hot-plug technology)
Memory Technology “Non-so-random” Access Technology:
Computer Architecture Lecture 08 Fasih ur Rehman.
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
Microprocessor-based Systems
1 (Based on text: David A. Patterson & John L. Hennessy, Computer Organization and Design: The Hardware/Software Interface, 3 rd Ed., Morgan Kaufmann,
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
Memory Systems Embedded Systems Design and Implementation Witawas Srisa-an.
BR 6/001 Universal Serial Bus Universal Serial Bus is a new synchronous serial protocol for low to medium speed data transmission Full speed signaling.
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
© 2000 Morgan Kaufman Overheads for Computers as Components System components  Timing diagrams.  Memory.  Busses and interconnect.
© 2000 Morgan Kaufman Overheads for Computers as Components The Embedded computing platform zCPU bus. zMemory. zI/O devices.
CSS 372 Oct 4th - Lecture 3 Chapter 3 – Connecting Computer Components with Buses Bus Structures Synchronous, Asynchronous Typical Bus Signals Two level,
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
© 2000 Morgan Kaufman Overheads for Computers as Components I/O devices zI/O devices: yserial links ytimers and counters ykeyboards ydisplays yanalog I/O.
Lecture 11: FPGA-Based System Design October 18, 2004 ECE 697F Reconfigurable Computing Lecture 11 FPGA-Based System Design.
© 2000 Morgan Kaufman Overheads for Computers as Components Accelerators zAccelerated systems. zSystem design: yperformance analysis; yscheduling and.
Chapter 6 Storage and Other I/O Topics. Chapter 6 — Storage and Other I/O Topics — 2 Introduction I/O devices can be characterized by Behaviour: input,
Semiconductor Memory Types
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Input/Output. Input/Output Problems zWide variety of peripherals yDelivering different amounts of data yAt different speeds yIn different formats zAll.
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Computer Architecture Chapter (5): Internal Memory
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
USB Universal Serial Bus. University of Tehran 2.
1 load [2], [9] Transfer contents of memory location 9 to memory location 2. Illegal instruction.
DIRECT MEMORY ACCESS and Computer Buses
USB PHYISICAL LAYER PROTOCOL ENGINE LAYER APPLICATION LAYER
USB Universal Serial Bus
Bus-Based Computer Systems
Computer Architecture
USB : Universal Serial Bus
Input-output I/O is very much architecture/system dependent
The Digital Logic Level
Presentation transcript:

© 2000 Morgan Kaufman Overheads for Computers as Components System components zTiming diagrams. zMemory. zBusses and interconnect.

© 2000 Morgan Kaufman Overheads for Computers as Components Timing diagrams zA timing diagram shows a trace through the operation of a system. yGenerally used for asynchronous machines with timing constraints. enq ack

© 2000 Morgan Kaufman Overheads for Computers as Components Timing diagram syntax zConstant value: zStable: zChanging: zUnknown: 0 1

© 2000 Morgan Kaufman Overheads for Computers as Components Timing constraints zMinimum time between two events: enq ack 20 ns

© 2000 Morgan Kaufman Overheads for Computers as Components Origin of timing constraints zControl signals are passed on the bus: a 20 ns c DQ

© 2000 Morgan Kaufman Overheads for Computers as Components Memory device organization Memory array n r c

© 2000 Morgan Kaufman Overheads for Computers as Components Memory parameters zSize. yAddress width. zAspect ratio. yData width.

© 2000 Morgan Kaufman Overheads for Computers as Components Types of memory zROM: yMask-programmable. yFlash programmable. zRAM: yDRAM. ySRAM.

© 2000 Morgan Kaufman Overheads for Computers as Components SRAM vs. DRAM zSRAM: yFaster. yEasier to integrate with logic. yHigher power consumption. zDRAM: yDenser. yMust be refreshed.

© 2000 Morgan Kaufman Overheads for Computers as Components Typical generic SRAM SRAM CE’ R/W’ Adrs Data

© 2000 Morgan Kaufman Overheads for Computers as Components Generic SRAM timing time CE’ R/W’ Adrs Data readwrite From SRAMFrom CPU

© 2000 Morgan Kaufman Overheads for Computers as Components Generic DRAM device DRAM CE’ R/W’ Adrs Data RAS’ CAS’

© 2000 Morgan Kaufman Overheads for Computers as Components Generic DRAM timing time CE’ R/W’ RAS’ CAS’ Adrs Data row adrs col adrs data

© 2000 Morgan Kaufman Overheads for Computers as Components Page mode access time CE’ R/W’ RAS’ CAS’ Adrs Data row adrs col adrs data col adrs col adrs data

© 2000 Morgan Kaufman Overheads for Computers as Components RAM refresh zValue decays in approx. 1 ms. zRefresh value by reading it. yCan’t access memory during refresh. zCAS-before-RAS refresh. zHidden refresh.

© 2000 Morgan Kaufman Overheads for Computers as Components Other types of memory zExtended data out (EDO): improved page mode access. zSynchronous DRAM: clocked access for pipelining. zRambus: highly pipelined DRAM.

© 2000 Morgan Kaufman Overheads for Computers as Components Flash issues zFlash is programmed at system voltages. zErasure time is long. zMust be erased in blocks.

© 2000 Morgan Kaufman Overheads for Computers as Components Generic bus structure zAddress: zData: zControl: m c n

© 2000 Morgan Kaufman Overheads for Computers as Components Electrical bus design zBus signals are usually tri-stated. zAddress and data lines may be multiplexed. zEvery device on the bus must be able to drive the maximum bus load: yBus wires. yOther bus devices. zBus may include clock signal. yTiming is relative to clock.

© 2000 Morgan Kaufman Overheads for Computers as Components Four-cycle handshake enq ack 4 1 data 2 3

© 2000 Morgan Kaufman Overheads for Computers as Components Busses as communicating machines enq = 1 enq = M1 ack = 0 ack = M2 ack enq

© 2000 Morgan Kaufman Overheads for Computers as Components When should you handshake? zWhen response time cannot be guaranteed in advance: yData-dependent delay. yComponent variations.

© 2000 Morgan Kaufman Overheads for Computers as Components Fixed-delay memory access CPU memory R/W data = mem[adrs] R W mem[adrs] = data R/W data adrs read = 1 adrs = A reg = data

© 2000 Morgan Kaufman Overheads for Computers as Components Variable-delay memory access CPU memory read = 1 adrs = A reg = data R/W done = 0 data = mem[adrs] done = 1 mem[adrs] = data done = 1 R W R/W data adrs done y n

© 2000 Morgan Kaufman Overheads for Computers as Components Typical bus access time clock R/W’ Address enable adrs Data Ready’ data read write

© 2000 Morgan Kaufman Overheads for Computers as Components Bus mastership zBus master controls operations on the bus. zCPU is default bus master. zOther devices may request bus mastership. ySeparate set of handshaking lines. yCPU can’t use bus when it is not master.

© 2000 Morgan Kaufman Overheads for Computers as Components Direct memory access (DMA) zDMA provides parallelism on bus by controlling transfers without CPU. CPU memory I/O DMA

© 2000 Morgan Kaufman Overheads for Computers as Components DMA operation zCPU sets up DMA transfer: yStart address. yLength. yTransfer block length. yStyle of transfer. zDMA controller performs transfer, signals when done: yCycle-stealing. yPriority.

© 2000 Morgan Kaufman Overheads for Computers as Components PowerPC busses

© 2000 Morgan Kaufman Overheads for Computers as Components USB 2.0 zGoals: yEasy to use. yLow cost for consumer devices. yUp to 480 Mb/s. yReal-time audio, video. yBoth isochronous and asynchronous communication.

© 2000 Morgan Kaufman Overheads for Computers as Components USB architecture host device interconnect Bus topology. Stack. Data flow model. Schedule.

© 2000 Morgan Kaufman Overheads for Computers as Components Bus tiers host function hub function Tier 1 tier 2 tier 3 tier 4 …. tier 7 Device = {hub, function}

© 2000 Morgan Kaufman Overheads for Computers as Components USB signaling zSpeeds: yHigh-speed is 480 Mb/s. yFull-speed is 12 Mb/s. yLow-speed is 1.5 Mb/s. zSignals: yVbus, Gnd. yD+, D-.

© 2000 Morgan Kaufman Overheads for Computers as Components USB power zUSB devices can pull a limited amount of power from the bus. yMay also supply their own power. zSystem may provide a power- management protocol. yIndependent of USB.

© 2000 Morgan Kaufman Overheads for Computers as Components USB bus protocol zPolled bus, all transfers initiated by host. zBasic transaction: yHost sends token packet: xType and direction. xUSB device number. xEndpoint number (subdevice). yData transfer packet. yAcknowledge packet.

© 2000 Morgan Kaufman Overheads for Computers as Components Robustness zError detection/correction. zAutomatic handling of device attach/detach. zSelf-recovery in protocol. zStreaming data management. zPipes for data management.

© 2000 Morgan Kaufman Overheads for Computers as Components USB pipes zFunctions are allocated to data pipes. yPipes limit interference between functions. zBandwidth is allocated among pipes. zDevices must supply buffer memory.

© 2000 Morgan Kaufman Overheads for Computers as Components USB data flow model zFour types of implementation: yDevice hardware. yClient software to connect to application. yUSB system software. yUSB host controller (host side system interface). hostdevice Client SW USB system SW USB host controller function USB logical device USB bus interface Physical communication

© 2000 Morgan Kaufman Overheads for Computers as Components Logical bus topology zBus appears to be a simple host/device system: host device

© 2000 Morgan Kaufman Overheads for Computers as Components Client software view zEach client sees its own function but not the whole system: function Client SW function Client SW function Client SW function Client SW

© 2000 Morgan Kaufman Overheads for Computers as Components Endpoints zEach logical device is a collection of endpoints. zEach endpoint is simplex (input or output). zEndpoint description: yBus frequency/latency. yBandwidth requirement. yEndpoint number. yError handling requirements. yMaximum packet size. yTransfer type. yTransfer direction.

© 2000 Morgan Kaufman Overheads for Computers as Components Pipes zTwo types of pipes: yStream. yMessage. zPipe description includes: yPipe type. yDirection. yBus access and bandwidth.

© 2000 Morgan Kaufman Overheads for Computers as Components Bus transfer types zData goes through the pipe in FIFO order. zFour types of transfers: yControl. yIsochronous—periodic data stream. yInterrupt. yBulk—non-periodic, large data transfer.