1 Pertemuan 12 Input/Output Matakuliah: H0344/Organisasi dan Arsitektur Komputer Tahun: 2005 Versi: 1/1.

Slides:



Advertisements
Similar presentations
Computer Architecture
Advertisements

I/O Organization popo.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
I/O Unit.
CS-334: Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
1 Pertemuan 10 Arsitektur Jaringan Model OSI Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Interrupts (contd..) Multiple I/O devices may be connected to the processor and the memory via a bus. Some or all of these devices may be capable of generating.
1 Pertemuan 21 Parallelism and Superscalar Matakuliah: H0344/Organisasi dan Arsitektur Komputer Tahun: 2005 Versi: 1/1.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
1 Pertemuan 25 Parallel Processing 1 Matakuliah: H0344/Organisasi dan Arsitektur Komputer Tahun: 2005 Versi: 1/1.
Unit-5 CO-MPI autonomous
External Devices I/O Modules Programmed I/O Interrupt Driven I/O Direct Memory Access I/O Channels and Processors.
Group 7 Jhonathan Briceño Reginal Etienne Christian Kruger Felix Martinez Dane Minott Immer S Rivera Ander Sahonero.
2. Methods for I/O Operations
INPUT-OUTPUT ORGANIZATION
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
Kristian Naess Qicai Guo Roy Torres Mark Bacchus Yue Kun Alberto Chestaro.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
The computer system’s I/O architecture is its interface to the outside world. This architecture provides a systematic means of controlling interaction.
Chapter 7 Input/Output Luisa Botero Santiago Del Portillo Ivan Vega.
Chapter 6 External Device
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
Input/OUTPUT [I/O Module structure].
I/O Sub-System CT101 – Computing Systems.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
MICROPROCESSOR INPUT/OUTPUT
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
2007 Oct 18SYSC2001* - Dept. Systems and Computer Engineering, Carleton University Fall SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
2009 Sep 10SYSC Dept. Systems and Computer Engineering, Carleton University F09. SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices 7.2.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
Input/Output Computer component : Input/Output I/O Modules External Devices I/O Modules Function and Structure I/O Operation Techniques I/O Channels and.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Modes of transfer in computer
Organisasi Sistem Komputer Materi VIII (Input Output)
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
The computer system’s I/O architecture is its interface to the outside world. This architecture provides a systematic means of controlling interaction.
PART 7 CPU Externals CHAPTER 7: INPUT/OUTPUT 1. Input/Output Problems Wide variety of peripherals – Delivering different amounts of data – At different.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
IT3002 Computer Architecture
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
I/O Organization Competency – C6. Important facts to remember when I/O devices are to be connected to CPU There is a vast variety of I/O devices. Some.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Multiple Interrupts Each interrupt line has a priority Higher priority lines can interrupt lower priority lines If bus mastering only current master can.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Direct Memory Access (DMA) Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram. A Presentation On.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
Computer Architecture Chapter (7): Input / Output
Computer Architecture
Computer Organization and Architecture + Networks Lecture 6 Input/Output.
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
BIC 10503: COMPUTER ARCHITECTURE
Created by Vivi Sahfitri
I/O subsystem Overview Peripheral Devices and IO Modules
Presentation transcript:

1 Pertemuan 12 Input/Output Matakuliah: H0344/Organisasi dan Arsitektur Komputer Tahun: 2005 Versi: 1/1

2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menjelaskan konsep dasar Input/Output

3 Outline Materi External Devices I/O Modules Programmed I/O Interupt-Driven I/O Direct Memory Access I/O Channel and Processor The External Interface

4 Overview I/O module contains logic for performing a communication between the peripherals and the systems bus. The reasons why one does not connect peripherals directly to the system bus are as follows: 1.There is wide variety of peripherals with various methods of operation. 2.There is a difference between the data transfer rate of peripherals and that of the memory or processor. 3.Peripherals often use different data format and word lengths than the computer.

5 Overview

6 I/O module has two major functions: 1.Interface to the processor and memory via the system bus or central switch. 2.Interface to one or more peripheral devices by tailored data links. Overview

7 External devices We can classify external devices into three categories: 1.Human readable 2.Machine readable 3.Communication

8 Block diagram of an external device External devices

9 I/O modules The major functions or requirements for an I/O module fall into the following categories: 1.Control and timing 2.Processor communication 3.Device communication 4.Data buffering 5.Error detection Module function

10 I/O modules Module structure

11 Programmed I/O No interruptsUse of interrupts I/O to memory transfer through processor Programmed I/OInterrupt driven I/O I/O to memory transfer Direct memory access (DMA)

12 Programmed I/O

13 There are four types of I/O commands: 1.Control 2.Test 3.Read 4.Write Programmed I/O I/O Commands

14 Programmed I/O I/O Instructions AddressInstructionOperan d Comment 200Load AC“1”Load accumulator Stored AC517Initiate keyboard read 202Load AC571Get status byte Branch if Sign = 0202Loop until ready Load AC516Load data byte Memory mapped I/O

15 Programmed I/O I/O Instructions AddressInstructionOperandComment 200Load I/O5Initiate keyboard read 201Test I/O5Check for completion Branch Not Ready201Loop until complete In5Load data byte Isolated I/O

16 Interrupt driven I/O Interrupt processing

17 Interrupt driven I/O Interrupt processing

18 Interrupt driven I/O Design issue 1.Because there will almost invariably be multiple I/O module, how does the processor determine which device issued the interrupt? 2.If multiple interrupt have occurred, how does the processor decide which one to process? Four general categories of technique are in common use: 1.Multiple interrupt lines 2.Software poll 3.Daisy chain (hardware poll, vectored) 4.Bus arbitration (vectored)

19 Intel 82C59A Interrupt Controller

20 Intel 82C55A Programmable Peripheral Interface

21 Direct Memory Access Drawbacks of programmed and interrupt driven I/O 1.The I/O transfer rate is limited by the speed with which the processor can test and service a device. 2.The processor is tied up in managing an I/O transfer; a number of instructions must be executed for each I/O transfer.

22 Direct Memory Access Block diagram

23 Direct Memory Access DMA and interrupt breakpoints during an instruction cycle

24 Direct Memory Access Alternative DMA configuration

25 Direct Memory Access The evolution of the I/O function 1.The CPU directly controls a peripheral device. 2.A controller or I/O module is added. The CPU uses programmed I/O without interrupts. 3.The same configuration as in step 2 is used, but now interrupts are employed. 4.The I/O module is given direct access to memory via DMA. 5.The I/O module is enhanced to become a processor in its own right, with a specialized instruction set tailored for I/O. 6.The I/O module has a local memory of its own and is, in fact, a computer in its own right.

26 Direct Memory Access I/O channel architecture

27 The external interface Type of interface One major characteristic of the interface is whether it is serial or parallel. The I/O module must engage in a dialogue with the peripheral. In general, the dialogue for a write operation is as follows: 1.The I/O module sends a control signal requesting permission to send data. 2.The peripheral acknowledges the request. 3.The I/O module transfers data. 4.The peripheral acknowledges receipt of the data. Key to the operation of an I/O module is an internal buffer that can store data being passed between the peripheral and the rest of the system. This buffer allows the I/O module to compensate for the differences in speed between the system bus and its external lines.

28 The external interface Point to point and multipoint configuration The connection between an I/O module in a computer system and external devices can be either point to point or multipoint.