Parallel I/O Interface Memory CPUI/OTransducer Actuator Output Device Input Device Parallel Interface Microprocessor / Microcontroller Direct memory access(DMA)

Slides:



Advertisements
Similar presentations
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
Advertisements

Computer Buses A bus is a common electrical pathway between multiple devices. Can be internal to the CPU to transport data to and from the ALU. Can be.
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Lecture 21Comp. Arch. Fall 2006 Chapter 8: I/O Systems Adapted from Mary Jane Irwin at Penn State University for Computer Organization and Design, Patterson.
INPUT-OUTPUT ORGANIZATION
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /23/2013 Lecture 7: Computer Clock & Memory Elements Instructor: Ashraf Yaseen DEPARTMENT OF MATH &
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
Chapter 2 Microprocessor Bus Transfers. Big- and Little-Endian Ordering Bit-endian processor architecture –High-order-byte-first (H-O-B-F) map the highest-order.
Interfacing Processors and Peripherals Andreas Klappenecker CPSC321 Computer Architecture.
68000 Interface Timing Diagrams Outline –68000 Read Cycle –68000 Write Cycle Goal –Understand bus cycles –Learn how to attach memory, peripherals.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
680XX Hardware Interface Outline Goal Reading
Flip-Flops and Related Devices
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
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.
Unit-5 CO-MPI autonomous
INPUT-OUTPUT ORGANIZATION
1 CSE370, Lecture 16 Lecture 19 u Logistics n HW5 is due today (full credit today, 20% off Monday 10:29am, Solutions up Monday 10:30am) n HW6 is due Wednesday.
Computer Architecture Lecture 08 Fasih ur Rehman.
Digital System Bus A bus in a digital system is a collection of (usually unbroken) signal lines that carry module-to-module communications. The signals.
Spring EE 437 Lillevik 437s06-l2 University of Portland School of Engineering Advanced Computer Architecture Lecture 2 NSD with MUX and ROM Class.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
Microprocessor-based Systems
CompE 460 Real-Time and Embedded Systems Lecture 5 – Hardware Fundamentals.
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Microprocessor-Based System. What is it? How simple can a microprocessor-based system actually be? – It must obviously contain a microprocessor otherwise.
Minimum System Requirements Clock Generator Memory Interfacing.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
1 CSE370, Lecture 17 Lecture 17 u Logistics n Lab 7 this week n HW6 is due Friday n Office Hours íMine: Friday 10:00-11:00 as usual íSara: Thursday 2:30-3:20.
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.
MBG 1 CIS501, Fall 99 Lecture 18: Input/Output (I/O): Buses and Peripherals Michael B. Greenwald Computer Architecture CIS 501 Fall 1999.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Input-Output Organization
Modes of transfer in computer
Introduction to Microprocessors Manijeh Keshtgary Fall 2006 Shiraz University of Technology.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Bus, Cache and shared memory. Bus System System bus of a computer system operates on contention basis Effective bandwidth available to each processor.
Basic LED Interface.
1 Ó1998 Morgan Kaufmann Publishers Chapter 8 I/O Systems.
Clocking System Design
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 26 Bus Interconnect May 7,
INTRODUCTION TO MICROPROCESSOR. Do you know computer organization? Arithmetic Logic Unit Memory Output Input Control Unit.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 20: October 25, 2010 Pass Transistors.
Chapter 3. Advanced Hardware Fundamentals The various parts you will commonly find in an embedded-system circuit 발표일시 : 발표자 : 채화영.
Ch.5 Flip Flops and Related Devices
1 CE 454 Computer Architecture Lecture 6 Ahmed Ezzat The Digital Logic, Ch-3.3, 3.4,
DIRECT MEMORY ACCESS and Computer Buses
Types of format of data transfer
Interconnection Structures
Computer Architecture & Operations I
Chapter 6 Input/Output Organization
I/O Memory Interface Topics:
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
COMP2121: Microprocessors and Interfacing
E3165 DIGITAL ELECTRONIC SYSTEM
Computer Organization and Design
Serial Communication Interface: Using 8251
Lecture 19 Logistics Last lecture Today
Presentation transcript:

Parallel I/O Interface Memory CPUI/OTransducer Actuator Output Device Input Device Parallel Interface Microprocessor / Microcontroller Direct memory access(DMA) Parallel I/O is suitable for high-speed applications.

General Structure of a parallel I/O Port Parallel I/O Port Bidirectional data bus Chip Select Read/Write Clock Select Address lines Tri-state I/O Lines Open-Collector I/O Lines Edge-Triggered Control Lines 1. Data I/O with tri-state output 2. Data I/O with open-collector output 3. Handshaking lines Standard Microprocessor Bus Interface

Bus Handshaking Protocols Synchronous (Clocked transfer, one clock period per transfer) Asynchronous (Unclocked, use handshake signals) Semisynchronous (Clocked transfer, ome or more clock periods per transfer)

Synchronous Buses The only control signal is a clock oscillator Bus master: bus transmitter, put address on the bus Bus slave: Bus receiver, respond to the master WriteReadWrite Clock Address Data Hold and Skew delay Setup, decode, and skew delay

Typical Slave Internal Structure Bus Master Address Decoder Buffer Bus Slave Clock Data Address

Timing Consideration Bus lines must be stable before clock rises and after clock falls. The following timing must be check for proper transaction 1) Delay of address decoding 2) Setup time and Hold time for logic 3) Skew delay

Setup Time and Hold Time Setup time is the minimum amount of time that a control signal has to be present on an input of memory device before the clock triggers a transfer into the device. Hold time is the minimum time that data has to be held stable on the inputs of a memory device after a clock change triggers a transfer into that device.

Signal Skew DD A0 A1 The master transmits the signals over the bus to slave. The slave no longer sees the signals arrive at the same instant of time. Sources of skew delay: 1) Differences in propagation delay 2) Varying logic gate delay 3) Rise time and Fall time 4) Gate threshold

Advantage and Disadvantages of Synchronous Protocol Advantage: Simplicity Disadvantages:Problem with slow devices Length of clock pulses  Time needed for slave to response So, slowest slave has to be considered. This reduces the bandwidth and decreases the potential system performance.

Asynchronous Buses Computer  A mix of devices with widely varying access times  Problem of synchronous protocol: The bus runs at the speed of the slowest device. Asynchronous buses allow: fast transactions for fast devices, slow transactions for slow devices.

Fully interlocked asynchronous bus Address Master Slave Data WriteRead Originating from bus master Originating from bus slave Asynchronous bus handshaking

Asynchronous Buses No timing relation to the system clock Handshake lines are required (Fully interlocked protocol) Matching the different speeds of external devices, fast transaction for fast device, slow transaction for slow device.

Semi-synchronous Buses For fast devices: synchronous buses Insert wait states using WAIT for slow devices. WAIT Read Write Data Address Clock

DMA and DMA Controller(DMAC) Microprocessor Memory DMA Controller I/O Port External Device External Device External Device