Computer Organization and Design

Slides:



Advertisements
Similar presentations
I/O Organization popo.
Advertisements

Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
INPUT-OUTPUT ORGANIZATION
CS-334: Computer Architecture
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview.
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Practical Session No. 10 Input &Output (I/O). I/O Devices Input/output (I/O) devices provide the means to interact with the “outside world”. An I/O device.
INPUT-OUTPUT ORGANIZATION
Chapter 2 – Coputer Hardware
Input/OUTPUT [I/O Module structure].
Computer Parts There are many parts that work together to make a computer work.
Introduction to Computer Organization and Architecture.
Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
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.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
Computer Components Checklist There are many parts that work together to make a computer work.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
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.
Input-Output Organization
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
P. 6.1 Digital Technology and Computer Fundamentals Chapter 6 Computer Organization II.
 Describe the general organization and architecture of computers.  Identify computers’ major components and study their functions.  Identify the various.
1 Input-Output Organization Computer Organization Prof. H. Yoon Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
1 CHAPTER 2 Hardware. 2 CPU : Central Processing Unit -Every PC system unit contains at least one chip called microprocessor (cpu) attached on motherboard.
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Computer Organization
MILESTONES IN HARDWARE
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
Input/Output and Communication
Chapter 10 Input/Output Organization
Presented By: Navneet Kaur Randhawa Lect. I.T. Deptt. GPC,Amritsar
Operating Systems (CS 340 D)
Diagram of microprocessor interface with IO devices
Introduction to Computers
Input/Output.
INPUT-OUTPUT ORGANIZATION
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
C_ITCO011/C_ITCO111 LECTURER: E.DONDO
Principles & Applications
CS 286 Computer Organization and Architecture
CS703 - Advanced Operating Systems
Microcomputer Architecture
Overview Peripheral Devices Input-Output Interface
INPUT-OUTPUT ORGANIZATION
INPUT-OUTPUT ORGANIZATION
Business Computer Technology
Computer Architecture
INPUT-OUTPUT ORGANIZATION
Computer Organization and Design
BIC 10503: COMPUTER ARCHITECTURE
Parul Institute of Engineering & Technology
Interfacing Memory Interfacing.
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
11. Input-Output Organization
INPUT-OUTPUT ORGANIZATION
Operating Systems Chapter 5: Input/Output Management
INPUT-OUTPUT ORGANIZATION
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Chapter 8 I/O.
Chapter 3 Peter Norton’s  Introduction to Computers Interacting with Your Computer.
Chapter 5 Computer Organization
INPUT-OUTPUT ORGANIZATION
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Microprocessor I 7/18/2019.
Presentation transcript:

Computer Organization and Design CSE211 Computer Organization and Design Lecture : 3 Tutorial: 1 Practical: 0 Credit: 4 Deepak Kumar (Asst. Professor, LPU)

Overview Peripheral Devices Input-Output Interface Input/Output Organization 2 Overview Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupt Direct Memory Access Input-Output Processor Serial Communication

Input Output Organization I/O Subsystem Provides an efficient mode of communication between the central system and the outside environment Programs and data must be entered into computer memory for processing and results obtained from computer must be recorded and displayed to user. When input transferred via slow keyboard processor will be idle most of the time waiting for information to arrive Magnetic tapes, disks

Input/Output Organization 4 Peripheral Devices Devices that are under direct control of computer are said to be connected on-line. Input or output devices attached to the computer are also called peripherals. There are three types of peripherals : Input peripherals Output peripherals Input-output peripherals Peripheral (or I/O Device) Monitor (Visual Output Device) : CRT, LCD KeyBoard (Input Device) : light pen, mouse, touch screen, joy stick Printer (Hard Copy Device) : Daisy wheel, dot matrix and laser printer Storage Device : Magnetic tape, magnetic disk

Peripheral Devices Input Devices Output Devices Input/Output Organization 5 Peripheral Devices Input Devices Output Devices Keyboard Optical input devices - Card Reader - Paper Tape Reader - Bar code reader - Optical Mark Reader Magnetic Input Devices - Magnetic Stripe Reader Screen Input Devices - Touch Screen - Light Pen - Mouse Card Puncher, Paper Tape Puncher CRT Printer (Daisy Wheel, Dot Matrix, Laser) Plotter

Input Output Organization ASCII (American Standard Code for Information Interchange) I/O communications usually involves transfer of alphanumeric information from the device and the computer. Standard binary code for alphanumeric character is ASCII ASCII Code : It user 7 bits to code 128 characters (94 printable and 34 non printing) 7 bit - 00 - 7F ( 0 - 127 ) ASCII is 7 bits but most computers manipulate 8 bit quantity as a single unit called byte. 80 - FF ( 128 - 255 ) : Greek, Italic type font Three types of control characters: Format effectors, Information separators and communication control

Input/Output Organization 7 I/O Interface Provides a method for transferring information between internal storage (such as memory and CPU registers) and external I/O devices Resolves the differences between the computer and peripheral devices (1). Peripherals – Electromechanical or Electromagnetic Devices CPU or Memory - Electronic Device Conversion of signal values required (2). Data Transfer Rate Peripherals - Usually slower CPU or Memory - Usually faster than peripherals Some kinds of Synchronization mechanism may be needed (3). Data formats or Unit of Information Peripherals – Byte, Block, … CPU or Memory – Word (4). Operating modes of peripherals may differ must be controlled so that not to disturbed other peripherals connected to CPU

I/O Bus and Interface Input/Output Organization 8 Interface : - Decodes the device address (device code) - Decodes the commands (operation) - Provides signals for the peripheral controller - Synchronizes the data flow and supervises the transfer rate between peripheral and CPU or Memory Processor Interface Keyboard and display terminal Magnetic tape Printer Data Address Control disk I/O bus 4 types of command interface can receive : control, status, data o/p and data i/p

I/O Bus and Interface Input/Output Organization 9 Control command : is issued to activate peripheral and to inform what to do Status command : used to test various status condition in the interface and the peripherals data o/p command : causes the interface to respond by transferring data from the bus into one of its registers data i/p command : interface receives an item of data from the peripheral and places it in its buffer register.

Input/Output Organization 10 I/O Bus and Memory Bus Functions of Buses MEMORY BUS is for information transfers between CPU and the MM I/O BUS is for information transfers between CPU and I/O devices through their I/O interface 3 ways to bus can communicate with memory and I/O : (1). use two separate buses, one to communicate with memory and the other with I/O interfaces - Computer has independent set of data, address and control bus one for accessing memory and another I/O. - done in computers that have separate IOP other than CPU. (2). Use one common bus for memory and I/O but separate control lines for each (3). Use one common bus for memory and I/O with common control lines for both

Isolated vs. Memory Mapped I/O Input/Output Organization 11 Isolated vs. Memory Mapped I/O Isolated I/O - Many computers use common bus to transfer information between memory or I/O. - Separate I/O read/write control lines in addition to memory read/write control lines - Separate (isolated) memory and I/O address spaces Distinct input and output instructions each associated with address of interface register Memory-mapped I/O - A single set of read/write control lines (no distinction between memory and I/O transfer) - Memory and I/O addresses share the common address space -> reduces memory address range available - No specific input or output instruction -> The same memory reference instructions can be used for I/O transfers - Considerable flexibility in handling I/O operations

I/O Interface Input/Output Organization 12 I/O CPU Device - Information in each port can be assigned a meaning depending on the mode of operation of the I/O device → Port A = Data; Port B = Command; Port C = Status - CPU initializes(loads) each port by transferring a byte to the Control Register → Allows CPU can define the mode of operation of each port → Programmable Port: By changing the bits in the control register, it is possible to change the interface characteristics CS RS1 RS0 Register selected 0 x x None - data bus in high-impedence 1 0 0 Port A register 1 0 1 Port B register 1 1 0 Control register 1 1 1 Status register Programmable Interface Chip select Register select I/O read I/O write CS RS1 RS0 RD WR Timing and Control Bus buffers Bidirectional data bus Port A register Port B Status I/O data Internal bus CPU I/O Device

Any Questions ?