Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.



Similar documents
The Central Processing Unit:

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Discovering Computers Living in a Digital World

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Lecture 2: Computer Hardware and Ports.

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Chapter 5 Busses, Ports and Connecting Peripherals

The Motherboard Chapter #5

Main Memory & Backing Store. Main memory backing storage devices

lesson 1 An Overview of the Computer System

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Chapter 8 Memory Units

Introduction To Computers: Hardware and Software

Understanding Digital Components

Chapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.

Basic Concepts of Information Technology (IT)

Communicating with devices

Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Computer Hardware HARDWARE. Computer Hardware. Mainboard (Motherboard) Instructor Özgür ZEYDAN

Introduction to Information System Layers and Hardware. Introduction to Information System Components Chapter 1 Part 1 of 4 CA M S Mehta, FCA

Computer Basics: Chapters 1 & 2

1 PERSONAL COMPUTERS

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

Chapter 2 Logic Gates and Introduction to Computer Architecture

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

Computer Systems Structure Main Memory Organization

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Generations of the computer. processors.

7a. System-on-chip design and prototyping platforms

Computer Components Study Guide. The Case or System Box

1.1 Electronic Computers Then and Now

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

Mother Board Component

Microprocessor or Microcontroller?

Primary Memory. Input Units CPU (Central Processing Unit)

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

SDRAM and DRAM Memory Systems Overview

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7)

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

COMPUTER BASICS. Seema Sirpal Delhi University Computer Centre

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

A+ Unit Two: Hardware Basics

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

CHAPTER 7: The CPU and Memory

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER?

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

NOTICE. The information in this manual is subject to change without notice.

Memory Basics ~ ROM, DRAM, SRAM, Cache Memory The article was added by Kyle Duke

İSTANBUL AYDIN UNIVERSITY

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Tenth Edition. Copyright 2014 Pearson Education, Inc. Publishing as Prentice Hall

Chapter One Introduction to Computer

Introducción. Diseño de sistemas digitales.1

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Discovering Computers Chapter 7 Storage

Chapter 5 Cubix XP4 Blade Server

Like millions of other computer users, you have probably used your

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

Chap-02, Hardware and Software. Hardware Model

Multimedia Systems Hardware & Software THETOPPERSWAY.COM

Computer Systems Structure Input/Output

STUDY GUIDE CHAPTER 1

Understanding Memory TYPES OF MEMORY

MPC603/MPC604 Evaluation System

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

Central Processing Unit

To understand how data is processed, by a computer, we can draw a simple analogy between computers and humans.

Memory Basics. SRAM/DRAM Basics

Desktop PC Buying Guide

Computer Hardware. Chapter 3

EUCIP - IT Administrator. Module 1 - PC Hardware. Version 2.0

Chapter 8. Secondary Storage. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

K Hinds Page No. 1. Lecture 3 ASCII

RAM & ROM Based Digital Design. ECE 152A Winter 2012

Determining Your Computer Resources

How To Store Data On A Computer (For A Computer)

Basic Computer Organization

Computer Architecture

ELECTRONIC DOCUMENT IMAGING

Block diagram of typical laptop/desktop

chapterone Concepts OBJECTIVES At the end of this chapter you will be able to: Computer Concepts

Module 1 Introduction to Information and Communication Technologies

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Student Edition Complete

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Mainframe hardware course: Mainframe s processors

Lecture 9: Memory and Storage Technologies

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Transcription:

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 program instructions are executed by the computer Explain how data is represented in the computer Describe how the computer finds instructions and data Describe the components of a microcomputer system unit s motherboard List the measures of computer processing speed and explain the approaches that increase speed The CPU The CPU Converts data into information Control center Set of electronic circuitry that executes stored program instructions Two parts Control Unit (CU) Arithmetic Logic Unit (ALU) Arithmetic / Logic Unit ALU Performs arithmetic operations Performs logical operations Arithmetic Operations Addition Subtraction Multiplication Division Contents The CPU Types of Storage Executing Programs Finding Data in Memory The System Unit Microprocessor Semiconductor Memory Bus Line Speed and Power Control Unit CU Part of the hardware that is in-charge Directs the computer system to execute stored program instructions Communicates with other parts of the hardware Logical Operations Evaluates conditions Makes comparisons Can compare Numbers Letters Special characters

Registers Special-purpose High-speed Temporary storage Located inside CPU Instruction register Data register Holds instruction currently being executed Holds data waiting to be processed Holds results from processing Memory Many Names Primary storage Primary memory Main storage Internal storage Main memory What s in RAM? Operating System Program currently running Data needed by the program Intermediate results waiting to be output Types of Storage Secondary Data that will eventually be used Long-term Memory Data that will be used in the near future Temporary Faster access than storage Registers Data immediately related to the operation being executed Faster access than memory Main Types of Memory RAM Random Access Memory ROM Read Only Memory ROM Non-volatile Instructions for booting the computer Data and instructions can be read, but not modified Instructions are typically recorded at factory Measuring Storage Capacity KB kilobyte 1024 bytes Some diskettes Cache memory MB megabyte Million bytes RAM GB gigabyte Billion bytes Hard disks CDs and DVDs TB terabytes Trillion bytes Large hard disks RAM Requires current to retain values Volatile Data and instructions can be read and modified Users typically refer to this type of memory Executing Programs CU gets an instruction and places it in memory CU decodes the instruction CU notifies the appropriate part of hardware to take action Control is transferred to the appropriate part of hardware Task is performed Control is returned to the CU

Machine Cycle I-time CU fetches an instruction from memory and puts it into a register CU decodes the instruction and determines the memory location of the data required Finding Data in Memory Each location in memory has a unique address Address never changes Contents may change Memory location can hold one instruction or piece of data Programmers use symbolic names Coding Schemes ASCII Uses one 8 bit byte 2 8 = 256 possible combinations or characters Virtually all PCs and many larger computers EBCDIC Uses one 8 bit byte 28 =256 possible combinations or characters Used primarily on IBM-compatible mainframes Unicode Uses two 8 bit bytes (16 bits) 216 = 65,536 possible combinations or characters Supports characters for all the world s languages Downward-compatible with ASCII Machine Cycle E-time Execution CU moves the data from memory to registers in the ALU ALU is given control and executes the instruction Control returns to the CU CU stores the result of the operation in memory or in a register Data Representation On/Off Binary number system is used to represent the state of the circuit The System Unit The Black Box Houses electronic components Motherboard Storage devices Connections Some Apple Macintosh models have system unit inside monitor System Clock System clock produces pulses at a fixed rate Each pulse is one Machine Cycle One program instruction may actually be several instructions to the CPU Each CPU instruction will take one pulse CPU has an instruction set instructions that it can understand and process Bits, Bytes, Words BIT Binary DigIT On/off circuit 1 or 0 BYTE 8 bits Store one alphanumeric character WORD Size of the register Number of BITS that the CPU processes as a unit The System Unit The Black Box Motherboard Microprocessor chip Memory chips Connections to other parts of the hardware Additional chips may be added math coprocessor

The System Unit The Black Box Storage Devices Hard drive Floppy drive CD-ROM drive DVD-ROM drive Building a Better Microprocessor Computers imprint circuitry onto microchips Cheaper Faster Perform functions of other hardware Math coprocessor is now part of microprocessor Multimedia instructions are now part of microprocessor Types of Microprocessors PowerPC Cooperative efforts of Apple, IBM, and Motorola Used in Apple Macintosh family of PCs Found in servers and embedded systems Alpha Manufactured by Compaq High-end servers and workstations Microprocessor CPU etched on a chip Chip size is ¼ x ¼ inch Composed of silicon Contains millions of transistors Electronic switches that can allow current to pass through Building a Better Microprocessor The more functions that are combined on a microprocessor: The faster the computer runs The cheaper it is to make The more reliable it is Semiconductor Memory Reliable Compact Low cost Low power usage Mass-produced economically Volatile Monolithic All circuits together constitute an inseparable unit of storage Microprocessor Components Control Unit CU Arithmetic / Logic Unit ALU Registers System clock Types of Microprocessors Intel Pentium Celeron Xeon and Itanium Intel-compatible Cyrix AMD Semiconductor Memory CMOS Complementary metal oxide semiconductor Uses little electricity Used in PC to store hardware settings that are needed to boot the computer Retains information with current from battery

RAM Keeps the instructions and data for current program Data in memory can be accessed randomly Easy and speedy access Volatile Erased Written over Adding RAM Purchase memory modules that are packaged on circuit boards SIMMS Chips on one side DIMMS Chips on both sides Maximum amount of RAM that can be installed is based upon the motherboard design Bus Line Paths that transport electrical signals System bus Transports data between the CPU and memory Bus width Number of bits of data that can be carried at a time Normally the same as the CPUs word size Speed measured in MHz Types of RAM SRAM Retains contents as long as power is maintained Faster than DRAM ROM Programs and data that are permanently recorded at the factory Read Use Cannot be changed by the user Stores boot routine that is activated when computer is turned on Nonvolatile Bus Line Larger bus width CPU can transfer more data at a time CPU can reference larger memory addresses = = = More powerful computer Faster computer More memory available CPU can support a greater number and variety of instructions Types of RAM DRAM Must be constantly refreshed Used for most PC memory because of size and cost SDRAM faster type of DRAM Rambus DRAM Faster than SDRAM Expensive PROM Programmable ROM ROM burner can change instructions on some ROM chips Expansion Buses Connect the motherboard to expansion slots Plug expansion boards into slots interface cards adapter cards Provides for external connectors / ports Serial Parallel

Expansion Buses PC Buses and Ports ISA Slow-speed devices like mouse, modem PCI High-speed devices like hard disks and network cards AGP USB IEEE 1394 (FireWire) PC Card Connects memory and graphics card for faster video performance Supports daisy-chaining eliminating the need for multiple expansion cards; hot-swappable High-speed bus connecting video equipment to the computer Credit card sized PC card devices normally found on laptops Computer Processing Speed Microprocessor Speed Time to execute an instruction Millisecond Microsecond Nanosecond Modern computers Picosecond In the future Clock speed Megahertz (MHz) Gigahertz (GHz) Number of instructions per second Millions of Instructions Per Second (MIPS) Performance of complex mathematical operations One million floating-point operations per second (Megaflop ) Cache Types of Cache Step 1 Processor requests data or instructions P R O C E S S O R Step 3 Transfer to main CPU and cache Cache Step 2 Go to address in main memory and read Next processor request Look first at cache Go to memory R A M Internal cache Level 1 (L1) Built into microprocessor Up to 128KB External cache Level 2 (L2) Separate chips 256KB or 512 KB SRAM technology Cheaper and slower than L1 Faster and more expensive than memory Speed and Power What makes a computer fast? Microprocessor speed Bus line size Availability of cache Flash memory RISC computers Parallel processing Cache Small block of very fast temporary memory Speed up data transfer Instructions and data used most frequently or most recently Flash Memory Nonvolatile RAM Used in Cellular phones Digital cameras Digital music recorders PDAs

Instruction Sets CISC Technology Complex Instruction Set Computing Conventional computers Many of the instructions are not used RISC Technology Reduced Instruction Set Computing Small subset of instructions Increases speed Programs with few complex instructions Graphics Engineering Types of Processing Serial processing Execute one instruction at a time Fetch, decode, execute, store Parallel Processing Multiple processors used at the same time Can perform trillions of floating-point instructions per second (teraflops) Ex: network servers, supercomputers Types of Processing Pipelining Instruction s action need not be complete before the next begins Fetch instruction 1, begin to decode and fetch instruction 2