24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.

Slides:



Advertisements
Similar presentations
Computer Memory and Data Transfer
Advertisements

Computer Architecture and the Fetch-Execute Cycle
CENTRAL PROCESSING UNIT
Using Computers CS French Chapter 1.
Introduction to Computer Systems
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
CPU Describe the purpose of the CPU
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
BLOCK DIAGRAM OF COMPUTER
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
Elements of a Computer System Dr Kathryn Merrick Thursday 4 th June, 2009.
Lesson 3 — How a Computer Processes Data
Chapter 3 Computer Hard ware
Computing Hardware Starter.
Computing hardware CPU.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
COMP1050 Winter 2015 Computer System Maintenance.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
CENTRAL PROCESSING UNIT – a,b,c & d a - The Purpose of a CPU The CPU is the brain of the computer. The Purpose of the CPU is to process.
5-1 Computer Components Consider the following ad.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Computer Architecture
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
Parts of the Computer System
ICT IGCSE Theory – Revision Presentation 1.2 The Main Components of Computer Systems Chapter 1: Types and components of computer systems
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Machine Architecture and Number Systems
Electronic Analog Computer Dr. Amin Danial Asham by.
COMPUTER Structure Int 2 Unit 1 – Computer Systems St Kentigern’s Academy.
General Computer Knowledge COE 201- Computer Proficiency.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
MEMORY is part of the Central Processing Unit, or CPU, where data and information are stored. There are two main types of memory in a computer – RAM.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Unit 3 - Computer Systems. Logical vs Physical A computer system can be represented in either a logical or physical form Both are useful in understanding.
Chapter 2 content Basic organization of computer What is motherboard
Computer Architecture and Number Systems
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
GCSE COMPUTER SCIENCE Topic 4 - Computers 4.2 Hardware.
The Central Processing Unit
CPU & its Components CPU stands for central Processing Unit
Hook – CPU Knowledge Check
IB Computer Science Topic 2.1.1
Computer Based Technology:
Computer Basics Hardware and Software.
Basic Computer Organization
Introduction to Computers
Machine Architecture and Number Systems
GCSE OCR 3 Memory Computer Science J276 Unit 1
Components of a CPU AS Computing - F451.
Computer Basics Hardware and Software.
2.C Memory GCSE Computing Langley Park School for Boys.
Machine Architecture and Number Systems
Machine Architecture and Number Systems
A451: Computer Systems and Programming
Unit 1.1 System Architecture Lesson 2
Hardware Main memory 26/04/2019.
Notes from Last Class Office Hours: GL Accounts?
Objectives Describe the difference between RAM and ROM
Machine Architecture and Number Systems
Computer components.
Presentation transcript:

24/06/20161 Hardware Processor components & ROM

224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and ALU.

324/06/2016 Structure Diagram Central / Essential Computer INPUT DEVICES e.g. mouse, keyboard, ….. RAM PROCESSOR ( CU & ALU & Processor’s Memory ) OUTPUT DEVICES e.g. monitor, printer, … AUXILIARY (SECONDARY) STORAGE e.g. Hard disk, memory stick, … ROM Storage Internal Memory / Memory Unit / Primary Memory

424/06/2016 Control Unit Manages instructions and makes sure that the ALU does what it should be doing. It has to: 1.Manage the execution of instructions: Decide which instruction to carry out next, then go and get it. 2.Decipher / decode the instruction: It has to work out what needs to be done to carry out the next instruction. 3.Sends control and timing signals to other parts of processor.

524/06/2016 Transfer of Data Primary Memory StorageALU

6 Arithmetic Logic Unit (ALU) Part of processor where data is processed/manipulated: Contains circuitry that allows it to carry out arithmetic operations. Contains circuitry that allows it to carry out arithmetic operations. Series of logic gates such as AND, OR, NOT, etc… logic gateslogic gates The operation code of each instruction is decoded by the control unit which then tells the ALU which set of gates to use. The operation code of each instruction is decoded by the control unit which then tells the ALU which set of gates to use. Bit shifting operations can be efficient ways of performing multiplication or division It allows for logical comparisons to be made (e.g. Is this value negative? or Is this number larger than this number? ….). It allows for logical comparisons to be made (e.g. Is this value negative? or Is this number larger than this number? ….). All input and output to and from the processor and memory must pass through the ALU and wait there until the control unit decides what to do with it. All input and output to and from the processor and memory must pass through the ALU and wait there until the control unit decides what to do with it. Acts a buffer. Note: The ALU does not make any decisions, it simply reports the result of any calculations or comparisons to the control unit (any decisions are the control unit’s responsibility).

724/06/2016 RAM The primary memory of the computer is the memory that is advertised as being “128 Mbytes of RAM”. This simply describes the capacity of the memory This simply describes the capacity of the memoryRAM Random Access Memory Random Access Memory Random Access = the ability to find (jump to) a file, program or specific data immediately without having to go through other files or data first (sequential access). Random Access = the ability to find (jump to) a file, program or specific data immediately without having to go through other files or data first (sequential access). Think of the difference between finding and playing a song/track/movie on an old cassette or video tape versus a CD, DVD or mp3 player.

824/06/2016 Memory Unit / Primary / Main Memory (or at least part of it is – the cache or processor’s memory & registers). There are two other parts of the memory unit/primary/main memory besides the main large- capacity RAM: Processor registers and processor cache memory which are both located inside the processor. So conceptually the term main memory includes "stuff" in the processor and this is why “main memory” can be considered to located in the processor

924/06/2016 Memory Unit / Primary / Main Memory Sometimes called the memory unit as it consists of the RAM and the registers & processor cache memory in the processor (processor’s memory). Therefore, technically the memory unit is considered to be in the processor (as at least part of it is). Therefore, technically the memory unit is considered to be in the processor (as at least part of it is). Also called the Primary / Main Memory as it so important to the processor. Stores data and parts of the application software and operating system currently in use by the control unit. If they are being held in locations other than in main memory (e.g. hard disk) they cannot be used by the processor until it is moved into the processor’s memory. If they are being held in locations other than in main memory (e.g. hard disk) they cannot be used by the processor until it is moved into the processor’s memory. As it is so important it is called Main / Primary memory. As it is so important it is called Main / Primary memory. However it is Volatile: When the computer is switched off all data is lost. When the computer is switched off all data is lost.

1024/06/2016 ROM (Read Only Memory) ROM is internal memory that cannot be altered. It is non-volatile : This means that even switching the computer off will not affect the contents of the ROM. This means that even switching the computer off will not affect the contents of the ROM. It contains the Bootstrap program which is part of the BIOS (see next slides). This Bootstrap program is small so very little needs to be stored in ROM so it tends to be very small.

1124/06/2016 Bootstrap / Booting So the operating system is stored on the hard drive of a computer along with all the other programs that may be used. A problem arises because when the computer is switched on it needs the operating system to be able to do anything useful, so a small program is stored on ROM whose job it is to go and get the operating system from the hard drive and move it into the Main/Primary Memory/Memory unit (RAM and the registers & processor cache memory in the processor - processor’s memory) so that the computer can work. This little program is called the bootstrap, and the process of retrieving the operating system is known as booting.

1224/06/2016 Basic Input Output System (BIOS) Includes the bootstrap program This part is held in the ROM as it is unchangeable and needs to be there when the computer is switched on. This part is held in the ROM as it is unchangeable and needs to be there when the computer is switched on. See previous slide. The rest of the BIOS is held on secondary storage e.g. the hard drive as it is changeable.

ROM Note that in the past the whole operating system was stored on ROM, but that means that if you want to use your computer in a different way or you want to install the latest edition of an operating system to replace the one in use, you can’t because the computer can’t delete the old one. Note that in the past the whole operating system was stored on ROM, but that means that if you want to use your computer in a different way or you want to install the latest edition of an operating system to replace the one in use, you can’t because the computer can’t delete the old one. When the computer is turned on it would be there.

1424/06/2016 RAM & ROM - Similarities Both have random access (even though ROM stands for Read Only Memory it still has random access). Otherwise access data, programs and files would be too slow. Otherwise access data, programs and files would be too slow.

1524/06/2016 Difference between main memory and auxiliary (secondary) storage Main memory: Transitory. Transitory. Secondary storage: (Semi-) Permanent. (Semi-) Permanent.

1624/06/2016 Why use auxiliary (secondary) storage? To store the operating system, application software and files: When the power to the processor is switched off (as RAM would lose them). When the power to the processor is switched off (as RAM would lose them). To allow them to be alterable and upgradeable (as ROM is Read Only Memory). To allow them to be alterable and upgradeable (as ROM is Read Only Memory). To store files which are too large to be stored in the processor itself, until they are needed (as RAM and ROM have much smaller storage capacities). To allow for the transfer of data from one machine to another (as RAM, ROM and the internal hard disk are installed internally). A full operating system requires a large amount of storage space that is better utilised in the computer memory for applications.

1724/06/2016 Plenary Describe the purpose of the control unit control unit memory unit memory unit arithmetic logic unit arithmetic logic unit in a computer.

1824/06/2016 Plenary Control Unit To manage the execution of instructions To manage the execution of instructions By running a clock By running a clock To decode instructions To decode instructions Memory Unit To store OS To store OS To store those parts of applications programs currently running To store those parts of applications programs currently running To store data currently in use To store data currently in use Arithmetic Logic Unit Carries out arithmetic operations and makes logical comparisons. Carries out arithmetic operations and makes logical comparisons. All I/O must pass through here. All I/O must pass through here.