INPUT/OUTPUT HANDLING
|
|
- Hubert Green
- 7 years ago
- Views:
Transcription
1 Datorarkitektur I Fö 4-1 Datorarkitektur I Fö 4-2 Input/Output Devices INPUT/OUTPUT HANDLING 1. Input/Output Devices and System Buses 2. Bus Arbitration 3. Bus Timing 4. I/O Modules 5. I/O ess Decoding 6. Programmed and Interrupt-driven I/O Input and output devices provide a means for information storage and for people (environment) to interact with the computer. Secondary memory: provides the long-term storage of large amounts of data and program (diskette, hard-disk, magnetic tape, CD-ROM). Sensors and actuators: used for direct interaction with the environment. Human interface: keyboard, monitor, mouse, printer. Communication devices: modem, network. 7. Direct Access Datorarkitektur I Fö 4-3 Datorarkitektur I Fö 4-4 Input/Output Devices (cont d) Input/Output Devices (cont d) Video Keyboard Diskette Hard disk The bus is used - by I/O s for communication to/from CPU or memory - by the CPU for fetching or storing instruction and data from/to memory. Bus Conflicts between CPU and I/O s CPU Main Controller: controls its I/O device and handles bus access for it. Hard disk receives, for example, a read request from the CPU gives corresponding commands to the device in order to execute the request, collects data and organises the incoming bit stream into units to be sent on the bus. A has to interact with the bus, according to a certain protocol, in order to transmit and/or receive. In case of conflicts a device (chip) called bus arbiter ides on access. In general, I/O devices are given preference over the CPU; usually devices cannot be stopped forcing them to wait would result in loss data. - When no I/O is in progress, the CPU has all bus cycles for itself to reference memory. - When some I/O device is also running and requests the bus, it gets it cycle stealing slows down the computer.
2 Datorarkitektur I Fö 4-5 Datorarkitektur I Fö 4-6 Input/Output Devices (cont d) bus Input/Output Devices (cont d) SCSI bus CPU SCSI PCI bridge Video Main Network Different buses are connected through adequate bridges (bridges also perform buffering of information); Sound card Printer ISA bridge PCI Bus Modem Advantages of architectures with multiple buses: avoids bus conflicts; insulates CPU-to-memory traffic from I/O traffic; allows the system to support a variety of I/O devices tailored for different bus standards. ISA Bus ISA (Industry Standard Architecture) bus: relatively slow. PCI (Peripheral Component Interconnect) bus: faster bus. CPU and memory are connected through a dedicated high speed interconnection. SCSI (Small Computer System Interface) is a hard disk interface; it is also a bus standard for high transfer rate peripherals. Up to seven devices can be attached to a SCSI bus; typically: hard discs, CD-ROMs, scanners. Datorarkitektur I Fö 4-7 Datorarkitektur I Fö 4-8 External Interface of the CPU Chip External Interface of the CPU Chip (cont d) essing Bus control Interrupts m n Micro Processor Bus arbitration Coprocessor control pins: - bus control: the CPU uses these pins to control the rest of the system and tell it what it wants to do; control signals are propagated over the system bus. Φ +5V - interrupt pins: on these pins the CPU gets signals from I/O modules; they usually indicate that an I/O operation has been completed; Clock Power signal The CPU pins can be divided into: address pins, data pins, and control pins. address pins: the address is output to the system bus on these pins, for read/write operations. - with m address pins, 2 m locations can be addresses. data pins: data bits are output/received to/from the system bus on these pins. - with n data pins an n-bit word can be read written in a single operation. - bus arbitration: are needed to regulate traffic on the system bus, to prevent devices from trying to use it at the same time; - coprocessor: facilitate communication with coprocessors, such as floating point chips, graphic chips, etc.
3 Datorarkitektur I Fö 4-9 Datorarkitektur I Fö 4-10 System Buses System Buses (cont d) SCSI bus Sound card CPU SCSI Printer PCI bridge bus Video ISA bridge Main Network PCI Bus Modem A system bus typically consists of separate lines. They can be classified into three functional groups: 1. lines: provide a path for moving data between system components. The width of the data bus: 8, 16, 32, 64 lines. 2. ess lines: are used to designate the source or destination of data. The width of the address bus determines the maximum memory size which can be addressed. 3. Control lines: are used to control bus access, synchronize operations, and to propagate commands throughout the system. ISA Bus A bus is a common electrical pathway between multiple devices. One or several buses can be used in a computer system to interconnect CPU, memory, and devices. in addition to such "system buses", there are buses also inside the CPU (internal buses). System buses differ in the number and organization of lines, arbitration, timing, and specific bus operations. In order to connect a device to a bus, the device must fit to the respective bus features. In order to avoid vary large buses multiplexed bus. Instead of having separate address and data lines, we can have 32 lines for address and data together. At the start of the bus operation first the lines are used for address; later on, the same lines are used for data. Bus width can be reduced, but the system becomes slower (for a write, address and data can not be put on the lines simultaneously). Datorarkitektur I Fö 4-11 Datorarkitektur I Fö 4-12 Bus Arbitration Bus Arbitration (cont d) Devices connected to a bus can be of two kinds: 1. Master: is active and can initiate a bus transfer. 2. Slave: is passive and waits for requests. Some devices can act both as master and as slave, depending on the circumstances: CPU is typically a master. A coprocessor, however, can initiate a transfer of a parameter from the CPU CPU acts like a slave. An I/O device usually acts like a slave in interaction with the CPU. Several devices can perform direct access to the memory, in which case they access the bus like a master. The memory acts only like a slave. What happens if two or more devices want to act simultaneously as masters? Since only one unit at a time can transmit over the bus, arbitration is needed. Arbitration mechanisms: Centralized arbitration: there is a single device, the bus arbiter, that determines who goes next. Decentralized (distributed) arbitration: no arbiter is needed. For example: - there are as many request lines on the bus as devices; each device monitors each request line after each bus cycle each device knows if he is the highest priority device which requested the bus if yes, it takes it. With entralized arbitration, no arbiter but more bus lines are needed. Examples: PCI and ISA buses use a centralized arbitration scheme. SCSI buses use a entralized scheme.
4 Datorarkitektur I Fö 4-13 Datorarkitektur I Fö 4-14 Bus Timing Timing refers to the way in which events are coordinated on the bus: 1. Synchronous timing: the occurrence of events on the bus is determined by a clock. 2. Asynchronous timing: the occurrence of one event on a bus follows and depends on the occurrence of a previous event. Clock Start Read ess Lines Lines Synchronous Timing Bus cycle Acknowledge Examples: PCI and ISA buses use synchronous timing. SCSI buses use asynchronous timing. The bus includes a clock line; all devices on the bus can read the clock line. All events on the bus start at the beginning of a clock cycle. A bus sequence for a synchronous memory read. - The CPU (master) issues a start signal to mark the presence of address and control information on the bus: the read signal is issued on the respective control line, and the memory address is placed on the address lines. - After a delay of two bus cycles, the memory (slave) places the data on the data lines and issues an acknowledge signal on the respective control line. Datorarkitektur I Fö 4-15 Datorarkitektur I Fö 4-16 Asynchronous Timing Synchronous Timing (cont d) Advantages with synchronous timing: simple to implement and test. Disadvantages with synchronous timing: not flexible. - Execution times have to be multiples of clock cycles (if an operation needs 3.1 clock cycles, it will take 4 cycles). - Bus frequency has to be adapted to slower devices one cannot take full advantage of the faster ones. There is no clock line on the bus. Each event is caused by a prior event, not by the clock pulse. The master will wait exactly as much as is needed for the slave to finish. If a master has to wait long for a certain slow slave, this does not influence how much it will have to wait for another faster slave in a following operation.
5 Datorarkitektur I Fö 4-17 Datorarkitektur I Fö 4-18 MSYN Read ess Lines Lines SSYN Asynchronous Timing (cont d) A bus sequence for an asynchronous memory read. - After the CPU (master) has asserted the address lines and issued the read signal, it waits until this lines are stable and then issues the MSYN signal (Master SYNchronization). - When the memory (slave) sees the MSYN, it performs the work as fast as possible and puts the data values on the data lines and then asserts the SSYN (Slave SYNchronization) signal. - When the master has noticed the SSYN, it knows that data is on the lines and latches it, after which it negates the address lines, MSYN, and read. - When the slave sees the negation of MSYN, it knows that data has been read, and negates data lines and SSYN. I/O Modules I/O modules are usually performing the task of the I/O. Very often they are produced as standard I/O chips. An I/O module has an interface to the device it controls, and another one to the system bus (or directly to the CPU and/or memory). Major functions of an I/O module: control and timing of the operations; bus (possibly direct CPU) communication; device communication; data buffering; error detection. A possible sequence of steps, for a data transfer between a device and the CPU (over the bus): 1. The CPU interrogates (over the bus) the I/O module, over the status of the device. 2. The I/O module returns (over the bus) the device status. 3. If the device is OK and ready, the CPU requests the transfer of data by means of a command to the I/O module. 4. The I/O module issues appropriate commands to the device and obtains a unit of data. 5. The data is transmitted (over the bus) to the CPU. Datorarkitektur I Fö 4-19 Datorarkitektur I Fö 4-20 I/O Modules (cont d) buffering is essential for I/O modules; it allows transfer to/from memory to be performed at memory speed instead of the much lower speed of I/O devices. Structure of an I/O module System bus interface Device interface I/O ess Decoding Problem: How is the external device selected for an I/O operation? lines buffer Status/control reg. Interface Device 1 Status Control There are two possible ways: 1. mapped I/O 2. Isolated I/O ess lines Control lines internal control logic Interface Device n Status Control I/O modules hide several details of handling a device from the CPU the CPU can view the device in terms of simpler operations: Sophisticated modules, I/O channels, take over most of the details and present a high-level interface to the CPU; they are used on mainframes and some minicomputers. Simpler modules, device s, are used on PC s, workstations.
6 Datorarkitektur I Fö 4-21 Datorarkitektur I Fö mapped I/O -mapped I/O (cont d) read write lines ess lines Control lines A single read and a single write line are needed on the bus. The particular address is iding if it is going to be a memory read/write or an input/output on a certain device. mod. 1 mod. 2 esses 0.. X 1 esses X X 2 mod. 3 device 1 device 2 esses X X 3 esses X 3 +1,X 3 +2 X esses 3 +3,X 3 +4 Advantage Easy to program: memory reference instructions are used for I/O programming, instead of a quite reduced set of difficult to use specific I/O instructions (see Fö 5). There is a single address space for memory locations and I/O devices. The CPU treats the status and data registers of I/O modules as memory locations the same machine instructions are used to access both memory and I/O devices. Disadvantage Only a part of the address space is available for memory. Another part is dedicated for device addressing. Datorarkitektur I Fö 4-23 Datorarkitektur I Fö 4-24 Isolated I/O lines Isolated I/O (cont d) ess lines mem. read mem. write I/O read I/O write Control lines The CPU treates memory access and I/O differently. I/O operations are performed by specific I/O instructions. When the CPU is executing a memory access instruction, the memory read/write line is asserted. When an I/O instruction is executed, the I/O read/write line is asserted. mod. 1 mod. 2 esses 0.. X 1 esses X X 2 mod. 3 device 1 device 2 esses esses esses X X 3 0, 1 2, 3 Depending on which bus line is asserted, the address on the address lines is interpreted as a memory or as a device address. The address space for I/O is isolated from that for memory the full range of addresses is available for both memory and device addressing. There are separate I/O-read, I/O-write and memoryread, memory-write command lines on the bus.
7 Datorarkitektur I Fö 4-25 Datorarkitektur I Fö 4-26 Input/Output Processing Three techniques are possible for transferring data to/from I/O devices: Programmed I/O The CPU executes a sequence of instructions, being in direct control of the I/O operations (sensing device status, read/write commands, etc.). When the CPU issues a command to the I/O module, it must wait until the I/O operation is complete. 1. Programmed I/O 2. Interrupt-driven I/O 3. Direct memory access A lot of waisted time, because the CPU is much faster then devices. Issue read command not ready read status of I/O module check status ready read word from I/O module write word to memory yes more words? no Datorarkitektur I Fö 4-27 Datorarkitektur I Fö 4-28 Interrupt-driven I/O Interrupt-driven I/O (cont d) After issuing an I/O command, the CPU has not to wait until the operation has finished; instead of waiting, the CPU continues with other useful work. When the I/O operation has been completed, the I/ O module issues an interrupt signal on the bus. After receiving the interrupt, the CPU moves the data to/from memory, and issues a new command if more data has to be read/written. Issue read command read word from I/O module write word to memory Do something useful Interrupt Advantage over programmed I/O Instead of waiting the operation to be finished, the CPU can do some useful work yes more words? no Still a problem The CPU has to take care of each data unit (word), to move it to/from memory, and to issue an I/O command. If large amounts of data have to be moved, this technique is still not efficient, because - the CPU has to take care for each data unit separately; - handling the interrupt also takes some time.
8 Datorarkitektur I Fö 4-29 Datorarkitektur I Fö 4-30 Direct Access (DMA) Direct Access (cont d) An additional module on the system bus, the DMA module, takes care of the I/O transfer for the whole sequence of data. Issue read command for block Do something useful The CPU issues a command to the DMA module and transfers to it all the needed information. continue Interrupt The DMA module performs all the operations (acting similarly to the CPU with programmed I/O): it transfers all the data between I/O module and memory without going through the CPU. A simple structure with DMA module: When the DMA module has finished, it issues an interrupt to the CPU. When starting an operation, the CPU informs the DMA module about: - what operation (read or write); - the address of the I/O device involved; - the starting location in memory where information has to be stored to or read from; - the number of words to be transferred. Video Keyboard Diskette Hard disk Bus CPU DMA Module Main Datorarkitektur I Fö 4-31 Summary Input/Output devices provide a means for information storage and for interaction with the computer. CPU, memory and devices are interconnected by one or several system buses. Having several system buses makes the system faster and allows to connect devices tailored for different bus standards. The CPU chip is connected to the rest of the system through address, data, and control pins. A bus consists of data, address, and control lines; address and data lines can be multiplexed. Bus arbitration avoids simultaneous use of the bus by two masters. Centralized and entralized arbitration schemes can be used. Coordination of events on a bus can be synchronous or asynchronous. Asynchronous timing is more efficient but more difficult to implement. I/O modules are interfacing an I/O device to the system bus. They are hiding the details of I/O devices from the CPU. Selection of an I/O device can be memory-mapped or based on isolated I/O. With memory mapped I/O there is a single address space for memory and I/O devices. With isolated I/O, the two address spaces are separated. Three techniques can be used for I/O data transfer: programmed I/O, interrupt-driven I/O, and direct memory access.
Computer Systems Structure Input/Output
Computer Systems Structure Input/Output Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Examples of I/O Devices
More informationChapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures
Chapter 02: Computer Organization Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Objective: Understand the IO Subsystem and Understand Bus Structures Understand
More informationComputer Organization & Architecture Lecture #19
Computer Organization & Architecture Lecture #19 Input/Output The computer system s I/O architecture is its interface to the outside world. This architecture is designed to provide a systematic means of
More informationComputer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:
55 Topic 3 Computer Performance Contents 3.1 Introduction...................................... 56 3.2 Measuring performance............................... 56 3.2.1 Clock Speed.................................
More informationLearning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design
Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards eddie.edwards@imperial.ac.uk At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components
More informationChapter 1 Computer System Overview
Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides
More informationCentral Processing Unit
Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing
More information1. Computer System Structure and Components
1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices
More informationCOMPUTER HARDWARE. Input- Output and Communication Memory Systems
COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)
More informationI/O. Input/Output. Types of devices. Interface. Computer hardware
I/O Input/Output One of the functions of the OS, controlling the I/O devices Wide range in type and speed The OS is concerned with how the interface between the hardware and the user is made The goal in
More informationLizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin
BUS ARCHITECTURES Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin Keywords: Bus standards, PCI bus, ISA bus, Bus protocols, Serial Buses, USB, IEEE 1394
More information21152 PCI-to-PCI Bridge
Product Features Brief Datasheet Intel s second-generation 21152 PCI-to-PCI Bridge is fully compliant with PCI Local Bus Specification, Revision 2.1. The 21152 is pin-to-pin compatible with Intel s 21052,
More informationWhat is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus
Datorteknik F1 bild 1 What is a bus? Slow vehicle that many people ride together well, true... A bunch of wires... A is: a shared communication link a single set of wires used to connect multiple subsystems
More informationChapter 11: Input/Output Organisation. Lesson 06: Programmed IO
Chapter 11: Input/Output Organisation Lesson 06: Programmed IO Objective Understand the programmed IO mode of data transfer Learn that the program waits for the ready status by repeatedly testing the status
More informationA+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components
More informationHave both hardware and software. Want to hide the details from the programmer (user).
Input/Output Devices Chapter 5 of Tanenbaum. Have both hardware and software. Want to hide the details from the programmer (user). Ideally have the same interface to all devices (device independence).
More informationRead this before starting!
Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 2 for Fall Semester, 2006 Section
More informationComputer Organization. and Instruction Execution. August 22
Computer Organization and Instruction Execution August 22 CSC201 Section 002 Fall, 2000 The Main Parts of a Computer CSC201 Section Copyright 2000, Douglas Reeves 2 I/O and Storage Devices (lots of devices,
More information150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
More informationCOMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ
COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ Tema 5. Unidad de E/S 1 I/O Unit Index Introduction. I/O Problem
More informationCommunicating with devices
Introduction to I/O Where does the data for our CPU and memory come from or go to? Computers communicate with the outside world via I/O devices. Input devices supply computers with data to operate on.
More informationBig Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected
Big Picture Processor Interrupts IC220 Set #11: Storage and Cache Memory- bus Main memory 1 Graphics output Network 2 Outline Important but neglected The difficulties in assessing and designing systems
More informationCSE2102 Digital Design II - Topics CSE2102 - Digital Design II
CSE2102 Digital Design II - Topics CSE2102 - Digital Design II 6 - Microprocessor Interfacing - Memory and Peripheral Dr. Tim Ferguson, Monash University. AUSTRALIA. Tel: +61-3-99053227 FAX: +61-3-99053574
More information(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
More informationCOMPUTER ARCHITECTURE. Input/Output
HUMBOLDT-UNIVERSITÄT ZU BERLIN INSTITUT FÜR INFORMATIK COMPUTER ARCHITECTURE Lecture 17 Input/Output Sommersemester 2002 Leitung: Prof. Dr. Miroslaw Malek www.informatik.hu-berlin.de/rok/ca CA - XVII -
More informationChapter 11 I/O Management and Disk Scheduling
Operating Systems: Internals and Design Principles, 6/E William Stallings Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ 2008, Prentice Hall I/O Devices Roadmap Organization
More informationChapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan
Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software
More informationDevices and Device Controllers
I/O 1 Devices and Device Controllers network interface graphics adapter secondary storage (disks, tape) and storage controllers serial (e.g., mouse, keyboard) sound co-processors... I/O 2 Bus Architecture
More informationThe Central Processing Unit:
The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how
More informationINPUT/OUTPUT ORGANIZATION
INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and
More informationChapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance
What You Will Learn... Computers Are Your Future Chapter 6 Understand how computers represent data Understand the measurements used to describe data transfer rates and data storage capacity List the components
More informationAdvanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2
Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of
More informationCHAPTER 4 MARIE: An Introduction to a Simple Computer
CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 195 4.2 CPU Basics and Organization 195 4.2.1 The Registers 196 4.2.2 The ALU 197 4.2.3 The Control Unit 197 4.3 The Bus 197 4.4 Clocks
More informationLesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization
Lesson Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization AE3B33OSD Lesson 1 / Page 2 What is an Operating System? A
More informationSwitch Fabric Implementation Using Shared Memory
Order this document by /D Switch Fabric Implementation Using Shared Memory Prepared by: Lakshmi Mandyam and B. Kinney INTRODUCTION Whether it be for the World Wide Web or for an intra office network, today
More informationLogical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.
Objectives The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Identify the components of the central processing unit and how they work together and interact with memory Describe how
More informationComputer-System Architecture
Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 Computer-System
More informationMICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
More informationCentral Processing Unit (CPU)
Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following
More informationComputers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer
Computers CMPT 125: Lecture 1: Understanding the Computer Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 3, 2009 A computer performs 2 basic functions: 1.
More informationChapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture
Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Computer-System Architecture
More informationOperating system Dr. Shroouq J.
3 OPERATING SYSTEM STRUCTURES An operating system provides the environment within which programs are executed. The design of a new operating system is a major task. The goals of the system must be well
More informationChapter 2 Logic Gates and Introduction to Computer Architecture
Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are
More informationCPU Organisation and Operation
CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program
More informationTechnical Product Specifications Dell Dimension 2400 Created by: Scott Puckett
Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett Page 1 of 11 Table of Contents Technical Product Specifications Model 3 PC Technical Diagrams Front Exterior Specifications
More informationCOMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton
MICROPROCESSOR SYSTEMS Mitchell Aaron Thornton, Department of Electrical and Computer Engineering, Mississippi State University, PO Box 9571, Mississippi State, MS, 39762-9571, United States. Keywords:
More informationCPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner
CPS104 Computer Organization and Programming Lecture 18: Input-Output Robert Wagner cps 104 I/O.1 RW Fall 2000 Outline of Today s Lecture The I/O system Magnetic Disk Tape Buses DMA cps 104 I/O.2 RW Fall
More informationADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double
More informationCOS 318: Operating Systems. I/O Device and Drivers. Input and Output. Definitions and General Method. Revisit Hardware
COS 318: Operating Systems I/O and Drivers Input and Output A computer s job is to process data Computation (, cache, and memory) Move data into and out of a system (between I/O devices and memory) Challenges
More informationManagement Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?
Management Challenge Managing Hardware Assets What computer processing and storage capability does our organization need to handle its information and business transactions? What arrangement of computers
More informationProgramming Logic controllers
Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,
More informationSoftware engineering for real-time systems
Introduction Software engineering for real-time systems Objectives To: Section 1 Introduction to real-time systems Outline the differences between general-purpose applications and real-time systems. Give
More informationUMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.
Bus Interfaces Different types of buses: ISA (Industry Standard Architecture) EISA (Extended ISA) VESA (Video Electronics Standards Association, VL Bus) PCI (Periheral Component Interconnect) USB (Universal
More informationQuiz for Chapter 6 Storage and Other I/O Topics 3.10
Date: 3.10 Not all questions are of equal difficulty. Please review the entire quiz first and then budget your time carefully. Name: Course: Solutions in Red 1. [6 points] Give a concise answer to each
More informationChapter 3: Computer Hardware Components: CPU, Memory, and I/O
Chapter 3: Computer Hardware Components: CPU, Memory, and I/O What is the typical configuration of a computer sold today? The Computer Continuum 1-1 Computer Hardware Components In this chapter: How did
More informationA New Paradigm for Synchronous State Machine Design in Verilog
A New Paradigm for Synchronous State Machine Design in Verilog Randy Nuss Copyright 1999 Idea Consulting Introduction Synchronous State Machines are one of the most common building blocks in modern digital
More informationOverview and History of Operating Systems
Overview and History of Operating Systems These are the notes for lecture 1. Please review the Syllabus notes before these. Overview / Historical Developments An Operating System... Sits between hardware
More informationDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
More informationTypes Of Operating Systems
Types Of Operating Systems Date 10/01/2004 1/24/2004 Operating Systems 1 Brief history of OS design In the beginning OSes were runtime libraries The OS was just code you linked with your program and loaded
More informationIDE/ATA Interface. Objectives. IDE Interface. IDE Interface
Objectives IDE/ATA Interface In this part, you will -Learn about each of the ATA standards -Identify the ATA connector and cable -Learn how to set jumpers for master, slave and cable select configurations
More informationModule 3: Floyd, Digital Fundamental
Module 3: Lecturer : Yongsheng Gao Room : Tech - 3.25 Email : yongsheng.gao@griffith.edu.au Structure : 6 lectures 1 Tutorial Assessment: 1 Laboratory (5%) 1 Test (20%) Textbook : Floyd, Digital Fundamental
More informationCSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement
CSCI 4717/5717 Computer Architecture Topic: Functional View & History Reading: Sections 1.2, 2.1, & 2.3 Function All computer functions are comprised of four basic operations: Data processing Data storage
More informationCHAPTER 2: HARDWARE BASICS: INSIDE THE BOX
CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX Multiple Choice: 1. Processing information involves: A. accepting information from the outside world. B. communication with another computer. C. performing arithmetic
More informationComputer Architecture Prof. Mainak Chaudhuri Department of Computer Science and Engineering Indian Institute of Technology, Kanpur
Computer Architecture Prof. Mainak Chaudhuri Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Lecture - 35 Input/Output (Refer Slide Time: 00:13) So, today we will
More informationInput/output (I/O) I/O devices. Performance aspects. CS/COE1541: Intro. to Computer Architecture. Input/output subsystem.
Input/output (I/O) CS/COE1541: Intro. to Computer Architecture Input/output subsystem Sangyeun Cho Computer Science Department I/O connects User (human) and CPU (or a program running on it) Environment
More informationTIMING DIAGRAM O 8085
5 TIMING DIAGRAM O 8085 5.1 INTRODUCTION Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-status signals IO / M, S 1, and S 0. As the heartbeat
More informationMACHINE ARCHITECTURE & LANGUAGE
in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based
More informationA network is a group of devices (Nodes) connected by media links. A node can be a computer, printer or any other device capable of sending and
NETWORK By Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore Email: bhu261@gmail.com Network A network is a group of devices (Nodes) connected by media
More informationThe I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1
The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used
More informationReview from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture
Review from last time CS 537 Lecture 3 OS Structure What HW structures are used by the OS? What is a system call? Michael Swift Remzi Arpaci-Dussea, Michael Swift 1 Remzi Arpaci-Dussea, Michael Swift 2
More informationComputer Systems Design and Architecture by V. Heuring and H. Jordan
1-1 Chapter 1 - The General Purpose Machine Computer Systems Design and Architecture Vincent P. Heuring and Harry F. Jordan Department of Electrical and Computer Engineering University of Colorado - Boulder
More informationFastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems
Fastboot Techniques for x86 Architectures Marcus Bortel Field Application Engineer QNX Software Systems Agenda Introduction BIOS and BIOS boot time Fastboot versus BIOS? Fastboot time Customizing the boot
More informationChapter 1: Introduction. What is an Operating System?
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
More informationChapter 5 Busses, Ports and Connecting Peripherals
Chapter 5 Busses, Ports and Connecting Peripherals 1 The Bus bus - groups of wires on a circuit board that carry information (bits - on s and off s) between computer components on a circuit board or within
More informationCOMPUTER SCIENCE AND ENGINEERING - Basic Functions and Operational Units - Kevin Skadron, BASIC FUNCTIONS AND OPERATIONAL UNITS
BASIC FUNCTIONS AND OPERATIONAL UNITS Kevin Skadron Department of Computer Science, University of Virginia, USA Keywords: Computers, computer systems, components, hierarchy, memory, mass storage, peripherals,
More informationLet s put together a Manual Processor
Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce
More informationMultimedia Systems Hardware & Software THETOPPERSWAY.COM
Multimedia Systems Hardware & Software THETOPPERSWAY.COM Table of Content 1. Categories of multimedia systems 2. Categories of multimedia devices 3. Evolution of multimedia PC 4. Authoring tools 5. Classification
More informationParts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved
Parts of a Computer Preparation Grade Level: 4-9 Group Size: 20-30 Time: 75-90 Minutes Presenters: 1-3 Objectives This lesson will enable students to: Identify parts of a computer Categorize parts of a
More informationOverview of MIS Professor Merrill Warkentin
Management Systems (MIS) Mississippi State University Data raw numbers - not processed facts, lists, numbers, tables of value to an organization 1 2 Data Processing (DP) the restructuring of data to improve
More informationLecture-3 MEMORY: Development of Memory:
Lecture-3 MEMORY: It is a storage device. It stores program data and the results. There are two kind of memories; semiconductor memories & magnetic memories. Semiconductor memories are faster, smaller,
More informationCSC 2405: Computer Systems II
CSC 2405: Computer Systems II Spring 2013 (TR 8:30-9:45 in G86) Mirela Damian http://www.csc.villanova.edu/~mdamian/csc2405/ Introductions Mirela Damian Room 167A in the Mendel Science Building mirela.damian@villanova.edu
More informationPentium vs. Power PC Computer Architecture and PCI Bus Interface
Pentium vs. Power PC Computer Architecture and PCI Bus Interface CSE 3322 1 Pentium vs. Power PC Computer Architecture and PCI Bus Interface Nowadays, there are two major types of microprocessors in the
More informationMICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
More informationComputer Organization and Components
Computer Organization and Components IS1500, fall 2015 Lecture 5: I/O Systems, part I Associate Professor, KTH Royal Institute of Technology Assistant Research Engineer, University of California, Berkeley
More informationUniversity of Dublin Trinity College. Storage Hardware. Owen.Conlan@cs.tcd.ie
University of Dublin Trinity College Storage Hardware Owen.Conlan@cs.tcd.ie Hardware Issues Hard Disk/SSD CPU Cache Main Memory CD ROM/RW DVD ROM/RW Tapes Primary Storage Floppy Disk/ Memory Stick Secondary
More informationIntroduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu
Introduction to Operating Systems Indiana University Chen Yu Perspective of the Computer System Software A general piece of software with common functionalities that support many applications. Example:
More informationThe Motherboard Chapter #5
The Motherboard Chapter #5 Amy Hissom Key Terms Advanced Transfer Cache (ATC) A type of L2 cache contained within the Pentium processor housing that is embedded on the same core processor die as the CPU
More informationChapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines Operating System Concepts 3.1 Common System Components
More information- Nishad Nerurkar. - Aniket Mhatre
- Nishad Nerurkar - Aniket Mhatre Single Chip Cloud Computer is a project developed by Intel. It was developed by Intel Lab Bangalore, Intel Lab America and Intel Lab Germany. It is part of a larger project,
More informationLSN 2 Computer Processors
LSN 2 Computer Processors Department of Engineering Technology LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed LSN 2
More informationInterconnection Networks
Advanced Computer Architecture (0630561) Lecture 15 Interconnection Networks Prof. Kasim M. Al-Aubidy Computer Eng. Dept. Interconnection Networks: Multiprocessors INs can be classified based on: 1. Mode
More informationComputer Network. Interconnected collection of autonomous computers that are able to exchange information
Introduction Computer Network. Interconnected collection of autonomous computers that are able to exchange information No master/slave relationship between the computers in the network Data Communications.
More informationChapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.
Chapter 1 CD-ROM stands for: a. Compact Disk Random Only Memory b. Compact Disk Read Only Memory c. Computer Device Read Only Memory d. Computer Disk Random Online Memory Control Unit (CU) is the a. Main
More informationPART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
More informationARM Ltd 110 Fulbourn Road, Cambridge, CB1 9NJ, UK. *peter.harrod@arm.com
Serial Wire Debug and the CoreSight TM Debug and Trace Architecture Eddie Ashfield, Ian Field, Peter Harrod *, Sean Houlihane, William Orme and Sheldon Woodhouse ARM Ltd 110 Fulbourn Road, Cambridge, CB1
More informationElettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS
SERIAL I/O COMMON PROTOCOLS RS-232 Fundamentals What is RS-232 RS-232 is a popular communications interface for connecting modems and data acquisition devices (i.e. GPS receivers, electronic balances,
More informationVMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.
VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *If you are using
More informationCHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions
CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions All computers, from the first room-sized mainframes, to today's powerful desktop, laptop and even hand-held PCs, perform
More informationComputer Systems Structure Main Memory Organization
Computer Systems Structure Main Memory Organization Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Storage/Memory
More informationa8251 Features General Description Programmable Communications Interface
a8251 Programmable Communications Interface June 1997, ver. 2 Data Sheet Features a8251 MegaCore function that provides an interface between a microprocessor and a serial communication channel Optimized
More information