Input/OUTPUT [I/O Module structure].

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

I/O Organization popo.
INPUT-OUTPUT ORGANIZATION
INTRODUCTION OF COMPUTER
CS-334: Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
1 Pertemuan 12 Input/Output 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.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Computer Organization and Architecture William Stallings 8 th Edition Chapter 1 Introduction.
Prof. Zoltan Francisc Baruch Computer Science Department Technical University of Cluj-Napoca.
INPUT-OUTPUT ORGANIZATION
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 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
I/O Sub-System CT101 – Computing Systems.
Software; Nature, Capabilities and Limitations: describe the need for interfacing with peripherals storage devices, input and output devices and display.
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
2007 Oct 18SYSC2001* - Dept. Systems and Computer Engineering, Carleton University Fall SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
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 ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
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.
School of Computer Science G51CSA 1 Input / Output.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
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.
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Fall 2000M.B. Ibáñez Lecture 25 I/O Systems. Fall 2000M.B. Ibáñez Categories of I/O Devices Human readable –used to communicate with the user –video display.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
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.
Overview von Neumann Architecture Computer component Computer function
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
Computer operation is of how the different parts of a computer system work together to perform a task.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
Interfaces. Peripheral devices connect to the CPU, via slots on the back of the computer.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
CH (5) Computer Organization
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Architecture Chapter (7): Input / Output
Computer Organization and Architecture + Networks Lecture 6 Input/Output.
Computer Architecture and Number Systems
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Operating Systems (CS 340 D)
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Interfaces.
BIC 10503: COMPUTER ARCHITECTURE
Chapter 5 Computer Organization
Presentation transcript:

Input/OUTPUT [I/O Module structure]

Lecture Objectives I/O module External devices / Peripherals Structure of I/O I/O Techniques

Overview Input / Output modules are the third critical element of the computer system (others are the CPU and the memory) All computer systems must have efficient means to receive input and deliver output – Failure to address I/O concerns has doomed many otherwise good systems

Input/Output Module The computer’s I/O architecture is its interface to the outside world An I/O module is not simply a set of mechanical connectors that wire a device into the system bus, rather the module contains some intelligence, that is, it contains logic for performing a communication function between the peripheral and the bus.

Key elements of a computer system Recall (Lecture 1) Processor Memory module Input/Output module Note: Each module interfaces with the system bus. I/O module contains logic for performing a communication function between a peripheral and the bus. Central Processing Unit Main Memory Systems Interconnection Input Output

The I/O has two major functions, it acts as: An interface to the processor and Memory via the bus an interface to one or more peripheral devices by tailored data links. Relieves the CPU of the management of the I/O devices .

Generic Model of I/O Module

Why are peripherals not directly connected to the system bus – Wide variety of devices require different logic interfaces -- impractical to expect CPU to “know how” to control each device. Peripherals often use different data formats than the computer to which they are attached

Why are peripherals not directly connected to the system bus Mismatch of data rates. The data transfer rate of peripherals is often much slower than that of the memory or processor Data transfer rate of some peripherals is faster that of the memory or processor. Thus an I/O module is required.

External / Peripheral devices What is an external / Peripheral device? Are equipments that might be added to a computer system to enhance its functionality. Examples: Printer Digital camera Scanner

External /Peripheral Devices An external device connected to an I/O module is often referred to as a peripheral device . We can broadly classify external devices into three categories.

Classification of External devices External devices provide a means of exchanging data between the external environment and the computer. Human readable A human-readable format is a representation of data or information that can be naturally read by humans. Suitable for communicating with the computer users Screen, printer, keyboard

Classification of External devices Machine readable Machine readable data includes files stored on disk or tape. Suitable for communicating with equipment. capable of being read by a mechanical device without additional processing   Magnetic disk, Tape Communication Suitable for communicating with remote devices. Modem Network Interface Card (NIC)

I/O Module Interface consists of Control, Status, Data Signals.

External Device Block Diagram

Transducer A transducer is an electronic device that converts energy from one form to another. Common examples include microphones, loudspeakers, thermometers. LED converts electricity to light. Loudspeaker converts electricity to sound. .

External device Interface to the I/O module is in form of:- Control Determines the function the device will perform e.g. send data (INPUT/READ), accept data (OUTPUT/WRITE) Data Are in form of a set of bits to be sent to or from the I/O module. Status signal Indicates the state of the device e.g. READY, BUSY

I/O Modules - Functions The major functions or requirements for an I/O module fall into the following categories. Control & Timing Coordinates the flow of traffic between internal resources and external devices. The internal sources such as main memory and the system bus must be shared among a number of activities. Therefore this function is needed to coordinate the flow of traffic between internal resources and external devices. Processor Communication Communication with the processor and external device. Critical performance bottleneck when using high-performance processors is the interface to the main memory.

3. Device Communication Involves commands, status info and data Data Buffering The temporary collection and storage of data awaiting further processing in physical storage devices, allowing a computer and its peripheral devices to operate at different speeds. Error Detection Communication of errors to the processor. E.g. Mechanical error.

I/O Steps The CPU checks / Interrogates the I/O module to check the device status I/O module returns the device status If ready, CPU requests data transfer I/O module gets data from the external device Data is transferred from I/O module to the processor.

I/O Module Diagram

I/O Module Operation The module connects to the rest of the computer through the system buses. Data transferred to and from the module are buffered in one or more data registers. There may also be one or more status registers that provide current status information.

The logic within which, the module interacts with the processor via a set of control lines. The processor uses the control lines to issue commands to the I/O module The module must also be able to recognize and generate addresses associated with the devices it controls. Each I/O module has a unique address. Finally, the I/O module contains logic specific to the interface with each device that it controls.

Summary I/O module Contains logic for communication between the bus and peripheral. Why peripherals are not connected directly to the system bus. Functions of I/O module Interface processor and memory; Interface peripherals and data links. Classification of external devices Human readable; Machine readable; Communication. I/O module functions Control & Timing; Processor Communication; Device communication ; Data buffering; Error detection

Review Questions What is the main purpose of the I/O module in the computer structure? Why cant we have peripherals connected directly to the system bus? What are the classifications of external devices? Explain the major functions of the I/O module 5.How does the keyboard and monitor interact with the system

Differentiate between cache and virtual memory.2marks Cache memory gives faster access to main memory while virtual memory uses disk storage to give the illusion of having a large main memory. Cache maps blocks of main memory to blocks of cache memory while Virtual memory maps page frames to virtual pages