Computer System Overview

Slides:



Advertisements
Similar presentations
Computer System Overview
Advertisements

CSCI 4717/5717 Computer Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Computer System Overview
1 Computer System Overview OS-1 Course AA
1 CSIT431 Introduction to Operating Systems Welcome to CSIT431 Introduction to Operating Systems In this course we learn about the design and structure.
Chapter 7 Interupts DMA Channels Context Switching.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Operating Systems Béat Hirsbrunner Main Reference: William Stallings, Operating Systems: Internals and Design Principles, 6 th Edition, Prentice Hall 2009.
CHAPTER 9: Input / Output
Chapter 2 The OS, the Computer, and User Programs Copyright © 2008.
1 Computer System Overview Chapter 1 Review of basic hardware concepts.
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Interrupts Signal that causes the CPU to alter its normal flow on instruction execution ◦ frees CPU from waiting for events ◦ provides control for external.
Computer Systems Overview. Page 2 W. Stallings: Operating Systems: Internals and Design, ©2001 Operating System Exploits the hardware resources of one.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
Chapter 1 Computer System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
CHAPTER 9: Input / Output
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
System bus.
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 1 Computer System Overview.
1 CS/COE0447 Computer Organization & Assembly Language Chapter 5 part 4 Exceptions.
The Functions of Operating Systems Interrupts. Learning Objectives Explain how interrupts are used to obtain processor time. Explain how processing of.
Computers Internal Communication. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Expected Course Outcome #Course OutcomeCoverage 1Explain the concepts that underlie modern.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 10 BY MUHAMMAD JAFER 1.
Chapter 6: Computer Components Dr Mohamed Menacer Taibah University
Lecture 1: Review of Computer Organization
Chapter 3 : Top Level View of Computer Functions Basic CPU function, Interconnection, Instruction Format and Interrupt.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Structure and Role of a Processor
1 Computer Architecture. 2 Basic Elements Processor Main Memory –volatile –referred to as real memory or primary memory I/O modules –secondary memory.
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Computer Systems Overview. Lecture 1/Page 2AE4B33OSS W. Stallings: Operating Systems: Internals and Design, ©2001 Operating System Exploits the hardware.
1 Computer System Overview Chapter 1. 2 Operating System Exploits the hardware resources of one or more processors Provides a set of services to system.
Input / Output Chapter 9.
Computer System Overview
Interrupts and exceptions
Chapter 1 Computer System Overview
CHAPTER 9: Input / Output
Interrupts and signals
Operating Systems CMPSC 473
Computer Architecture
CHAPTER 4 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Computer System Overview
Chapter 3 Top Level View of Computer Function and Interconnection
Computer System Overview
ECEG-3202 Computer Architecture and Organization
Processor Fundamentals
BIC 10503: COMPUTER ARCHITECTURE
Process Description and Control
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
Chapter 1 Computer System Overview
Computer System Overview
A Top-Level View Of Computer Function And Interconnection
CPU Structure and Function
COMP3221: Microprocessors and Embedded Systems
A Top-Level View Of Computer Function And Interconnection
William Stallings Computer Organization and Architecture 7th Edition
Presentation transcript:

Computer System Overview B.Ramamurthy Chapter 1 2/25/2019 B.Ramamurthy

Basic Elements Processor: control unit and registers Register : User visible, control and status registers User visible: R0.. R32, data registers, address registers, stack pointer.. Control/status: PC (program counter), IR (Instruction register) Main memory : Instructions and data IO modules (buffer), system interconnection (bus). 2/25/2019 B.Ramamurthy

Instruction Execution A fundamental operation in a processor is instruction execution. Instruction cycle: fetch cycle + execute cycle PC holds the address of the next instruction to be executed. Instruction pointed to by the PC is fetched from main memory into the IR. Instruction is decoded and executed Instruction may be process-memory, processor-IO, data processing, or control/logic 2/25/2019 B.Ramamurthy

Interrupts Normal processing of instructions can be interrupted so that the processor may respond to other events. The mechanism provided for interruption is known as “interrupts”. Interrupts are provided to improve processor efficiency. Types of interrupts: program, timer, IO, hardware failure. 2/25/2019 B.Ramamurthy

Program Flow with and without Interrupts Fig 1.2 2/25/2019 B.Ramamurthy

Instruction Cycle with Interrupts Fig 1.7 2/25/2019 B.Ramamurthy

Interrupt Processing Consider the steps involved in IO interrupt when a device completes IO operation. 1.. CPU initiates IO operation to a device and goes about its normal processing. 2. Device completes IO and sends interrupts signal to the processor. 3. Processor completes current instruction before responding to the interrupt. 4. Processor determines the source of interrupt and sends acknowledgement. 5. Processor them saves its current state and transfers control to interrupt handler. 2/25/2019 B.Ramamurthy

Interrupt Processing (contd.) 6. Interrupt handler (or interrupt service routine - ISR) completes executiona d returns control to the main routine by restoring the saved context from step 5. 7. Processor resumes its normal processing. 2/25/2019 B.Ramamurthy

Multiple Interrupts An interrupt may occur during the processing of another interrupt. This may lead to nested interrupt handling. This is permitted in many situations. But it is also possible to control the response to interrupts by masking certain interrupts and by disabling interrupts. Interrupts are useful not only in IO processing but also in multiprogramming. 2/25/2019 B.Ramamurthy

IO Communication Programmed IO Interrupt-driven IO Direct Memory Access Fig. 1.19 2/25/2019 B.Ramamurthy

Direct Memory Access IO <--> Memory is controlled by DMA unit. DMA unit issues read and write cycles and is in control of the bus. This process is called “cycle stealing”. For block transfers DMA is far more efficient than interrupt driven IO. 2/25/2019 B.Ramamurthy

Summary Instruction cycle, interrupts, basic IO are fundamental processor operation. We will look into memory related details in a later discussion. 2/25/2019 B.Ramamurthy