CS 1308 Computer Literacy and the Internet Computer Systems Organization.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
Chapter 5 Computing Components Nell Dale John Lewis.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 5 Computing Components Nell Dale John Lewis.
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Added to by S. Steinfadt - Spring 2005 Additional source.
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Fourth Edition Updated on 1 April 2009*
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Elements of the Computer (How a processor works)
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third & Fourth Edition Added to by S. Steinfadt - Spring 2008 Additional.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Invitation to Computer Science 5th Edition
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Computer Architecture And Organization UNIT-II Structured Organization.
Chapter 5 Computing Components Nell Dale John Lewis.
5-1 Computer Components Consider the following ad.
Von Neumann Machine Objectives: Explain Von Neumann architecture:  Memory –Organization –Decoding memory addresses, MAR & MDR  ALU and Control Unit –Executing.
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
Invitation to Computer Science 6th Edition Chapter 5 Computer Systems Organization.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
INTRODUCTION TO COMPUTING CHAPTER NO. 05. Computer System Organization The Von Neumann Architecture Memory and Cache Input/Output and Storage devices.
© 2005 Pearson Addison-Wesley. All rights reserved Figure 2.1 This chapter focuses on key hardware layer components.
General Concepts of Computer Organization Overview of Microcomputer.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
RESOURCE GUIDE STORED PROGRAM CONCEPT. Understand how the von Neumann architecture is constructed. Understand how the von Neumann architecture works.
Computer Science 101 Computer Systems Organization.
Computer Organization. This module surveys the physical resources of a computer system.  Basic components  CPU  Memory  Bus  I/O devices  CPU structure.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Electronic Analog Computer Dr. Amin Danial Asham by.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Chapter 5 Computing Components. 2 Computer Components Consider the following ad:
Dale & Lewis Chapter 5 Computing components
Invitation to Computer Science 6 th Edition Chapter 5 Computer Systems Organization.
Chapter 5 Computer Systems Organization. Levels of Abstraction – Figure 5.1e The Concept of Abstraction.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 5: Computer Systems Organization Invitation to Computer Science,
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Architecture Adapted from CS10051 originally by Professor: Johnnie Baker Computer Science Department Kent State University von Neuman model.
CPU Lesson 2.
Teaching Computing to GCSE
The Processor and Machine Language
COMS 161 Introduction to Computing
Computer Systems Organization
Introduction to Computer Architecture
Chapter 5: Computer Systems Organization
The Von Neumann Architecture Odds and Ends
The Von Neumann Architecture
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Chapter 5 Computer Organization
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

CS 1308 Computer Literacy and the Internet Computer Systems Organization

Objectives 2 In this chapter, you will learn about: The components of a computer system Putting all the pieces together – the Von Neumann architecture Why getting more memory will help your computer run faster The future: non-Von Neumann architectures

Introduction 3 Computer organization examines the computer as a collection of interacting “functional units” Functional units may be built out of the circuits already studied Higher level of abstraction assists in understanding by reducing complexity

The Components of a Computer System 4 Von Neumann architecture has four functional units: Memory Input/Output Arithmetic/Logic unit Control unit Sequential execution of instructions Stored program concept

Components of the Von Neumann Architecture 5 Bus Cache

RAM and Cache Memory 6 Information stored and fetched from memory subsystem Random Access Memory (RAM) maps addresses to memory locations Cache memory keeps values currently in use in faster memory to speed access times

Memory and Cache (continued) 7 RAM (Random Access Memory ) Memory made of addressable “cells” Current standard cell size is 8 bits All memory cells accessed in equal time Memory address Unsigned binary number N bits long Address space is then 2 N cells

Memory and Cache (continued) 8 Parts of the memory subsystem Fetch/store controller Fetch: retrieve a value from memory Store: store a value into memory Memory address register (MAR) Memory data register (MDR) Memory cells, with decoder(s) to select individual cells

Figure 5.3 Structure of Random Access Memory 9

Cache Memory 10 Memory access is much slower than processing time Faster memory is too expensive to use for all memory cells Locality principle Once a value is used, it is likely to be used again Small size, fast memory just for values currently in use speeds computing time

Input/Output and Mass Storage 11 Communication with outside world and external data storage Human interfaces: monitor, keyboard, mouse Archival storage: not dependent on constant power External devices vary tremendously from each other

Input/Output and Mass Storage (continued) 12 Volatile storage Information disappears when the power is turned off Example: RAM Nonvolatile storage Information does not disappear when the power is turned off Example: mass storage devices such as disks and tapes

Input/Output and Mass Storage (continued) 13 Mass storage devices Direct access storage device Hard drive, CD-ROM, DVD, etc. Uses its own addressing scheme to access data Sequential access storage device Tape drive, etc. Stores data sequentially Used for backup storage these days

Input/Output and Mass Storage (continued) 14 Direct access storage devices Data stored on a spinning disk Disk divided into concentric rings (sectors) Read/write head moves from one ring to another while disk spins Access time depends on: Time to move head to correct sector Time for sector to spin to data location

Figure 5.8 Overall Organization of a Typical Disk 15

Figure 5.9 Organization of an I/O Controller 16

The CPU 17 Arithmetic/Logic Unit Does all the computation Control Unit Selects the proper results

The Arithmetic/Logic Unit 18 Actual computations are performed Primitive operation circuits Arithmetic (ADD, etc.) Comparison (CE, etc.) Logic (AND, etc.) Data inputs and results stored in registers Multiplexor selects desired output

The Arithmetic/Logic Unit (continued) 19 ALU process Values for operations copied into ALU’s input register locations All circuits compute results for those inputs Multiplexor selects the one desired result from all values Result value copied to desired result register

Figure 5.12 Using a Multiplexor Circuit to Select the Proper ALU Result 20

The Control Unit Manages stored program execution Task Fetch from memory the next instruction to be executed Decode instruction: determine what is to be done Execute instruction: issue appropriate command to ALU, memory, and I/O controllers Decode Execute Fetch 21 Instruction Cycle

Machine Language Instructions 22 Can be decoded and executed by control unit Parts of instructions Operation code (op code) Unique unsigned-integer code assigned to each machine language operation Address field(s) Memory addresses of the values on which operation will work

Machine Language Instructions (continued) 23 Operations of machine language Data transfer Move values to and from memory and registers Arithmetic/logic Perform ALU operations that produce numeric values

Machine Language Instructions (continued) 24 Operations of machine language (continued) Compares Set bits of compare register to hold result Branches Jump to a new memory address to continue processing

Control Unit Registers And Circuits 25 Parts of control unit Links to other subsystems Instruction decoder circuit Three special registers: Program Counter (PC) Stores the memory address of the next instruction to be executed Instruction Register (IR) Stores the code for the current instruction Accumulator (ACC) Where the results of all arithmetic operations and loads is stored.

Pippin View 26 Assembly language (Closer to Human Language) Machine Language (Only thing a computer understands.) Copyright Notice Copyright Notice ©2003 PWS Publishing Company, All Rights Reserved.PWS Publishing Company

Putting All the Pieces Together—the Von Neumann Architecture 27 Subsystems connected by a bus Bus: wires that permit data transfer among them At this level, ignore the details of circuits that perform these tasks: Abstraction! Computer repeats fetch-decode-execute cycle indefinitely

28 Figure 5.18 The Organization of a Von Neumann Computer

Summary 29 Computer organization examines different subsystems of a computer: memory, input/output, arithmetic/logic unit, and control unit Machine language gives codes for each primitive instruction the computer can perform, and its arguments Von Neumann machine: sequential execution of stored program Parallel computers improve speed by doing multiple tasks at one time