Computer Organization

Slides:



Advertisements
Similar presentations
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.
Advertisements

Computer Organization, Bus Structure
I/O Organization popo.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
I/O Organization popo.
Input/Output Organization Asynchronous Bus
Processor System Architecture
Basic Input/Output Operations
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
Interface circuits I/O interface consists of the circuitry required to connect an I/O device to a computer bus. Side of the interface which connects to.
INPUT-OUTPUT ORGANIZATION
Computer Architecture Lecture 01 Fasih ur Rehman.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Input-Output Organization
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Architecture Lecture – 4.  Discussed individual functional units of the computer.  But to form a fully computational unit, they must be connected.
IT3002 Computer Architecture
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ read/write and clock inputs Sequence of control signal combinations.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
A computer consists of five functionally independent main parts.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
INPUT/OUTPUT ORGANIZATION
INPUT/OUTPUT ORGANIZATION
Computer Organization and Design
Unit Microprocessor.
Department of Computer Science and Engineering
Chapter 6 Input/Output Organization
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
Serial mode of data transfer
Basic Computer Organization and Design
COURSE OUTCOMES OF Microprocessor and programming
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
UNIT – Microcontroller.
Presented By: Navneet Kaur Randhawa Lect. I.T. Deptt. GPC,Amritsar
Operating Systems (CS 340 D)
Chapter 7.2 Computer Architecture
Computer Architecture
I/O Memory Interface Topics:
Input/Output.
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Introduction of microprocessor
Dr. Michael Nasief Lecture 2
collected by C.Gokul AP/EEE,VCET
Chapter 8 Input/Output I/O basics Keyboard input Monitor output
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Input/Output Organization contd:
BIC 10503: COMPUTER ARCHITECTURE
Interfacing Memory Interfacing.
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
Computer System Overview
Parallel communication interface 8255
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Tri-state buffer A circuit which allows an input to go to output when desired Otherwise it behaves as if “nothing” is connected to the wire An equivalent.
Introduction to Computer Architecture
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.
A CCESSING I/O DEVICES. I/O devices accessed through I/O interface. Requirements for I/O interface: –CPU communication –Device communication –Data buffering.
Presentation transcript:

Computer Organization 2015 - 2016

Input/Output

Basic Input/Output Operations Input/Output operations which transfer data from the processor or memory to and from the real world are essential. In general, the rate of transfer from any input device to the processor, or from the processor to any output device is likely to the slower than the speed of a processor. The difference in speed makes it necessary to create mechanisms to synchronize the data transfer between them.

Basic Input/Output Operations (cont.) Let us consider a simple task of reading a character from a keyboard and displaying that character on a display screen. A simple way of performing the task is called program-controlled I/O. There are two separate blocks of instructions in the I/O program that perform this task: One block of instructions transfers the character into the processor. Another block of instructions causes the character to be displayed.

Basic Input/Output operations (cont.) Bus Processor D A T AIN D A T A OUT SIN SOUT K e yboard Display Input: When a key is struck on the keyboard, an 8-bit character code is stored in the buffer register DATAIN. A status control flag SIN is set to 1 to indicate that a valid character is in DATAIN. A program monitors SIN, and when SIN is set to 1, it reads the contents of DATAIN. When the character is transferred to the processor, SIN is automatically cleared. Initial state of SIN is 0.

Basic Input/Output operations (cont.) Bus Processor D A T AIN D A T A OUT SIN SOUT K e yboard Display Output: When SOUT is equal to 1, the display is ready to receive a character. A program monitors SOUT, and when SOUT is set to 1, the processor transfers a character code to the buffer DATAOUT. Transfer of a character code to DATAOUT clears SOUT to 0. Initial state of SOUT is 1.

Basic Input/Output operations (cont.) Buffer registers DATAIN and DATAOUT, and status flags SIN and SOUT are part of a circuitry known as device interface. To perform I/O transfers, we need machine instructions to: Monitor the status of the status registers (SIN and SOUT). Transfer data among the I/O devices and the processor. Instructions have similar format to the instructions used for moving data between the processor and the memory.

Accessing I/O devices Bus I/O de vice 1 vice n Processor Memory Multiple I/O devices may be connected to the processor and the memory via a bus. Bus consists of three sets of lines to carry address, data and control signals. Each I/O device is assigned an unique address. To access an I/O device, the processor places the address on the address lines. The device recognizes the address, and responds to the control signals.

Accessing I/O devices (cont.) I/O device is connected to the bus using an I/O interface circuit which has: Address decoder, control circuit, and data and status registers. Address decoder decodes the address placed on the address lines thus enabling the device to recognize its address (each device has a unique address). Data register (DATAIN and DATAOUT) holds the data being transferred to or from the processor. Status register (SIN and SOUT) holds information necessary for the operation of the I/O device. Data and status registers are connected to the data lines. control circuit receive and transmit the control signals through the control line.

Accessing I/O devices (cont.) int erface decoder Address Data and status registers Control circuits Input devices Bus Address lines Data lines Control lines

Accessing I/O devices (cont.) int erface decoder Address Data and status registers Control circuits Output devices Bus Address lines Data lines Control lines