Systems Architecture Keywords Fetch Execute Cycle

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Computer Architecture and the Fetch-Execute Cycle
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
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)
GCSE Computing - The CPU
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
A-Level Computing#BristolMet Session Objectives#5 MUST identify different buses and registers used in a CPU SHOULD describe the use of buses to send information.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Structure of a computer system
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.
General Concepts of Computer Organization Overview of Microcomputer.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Electronic Analog Computer Dr. Amin Danial Asham by.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Academic PowerPoint Computer System – Architecture.
Computer operation is of how the different parts of a computer system work together to perform a task.
C HAPTER 4 OS: C OMPUTER O RGANIZATION TOPICS: The Von Neumann Architecture The CPU.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Computer Architecture Adapted from CS10051 originally by Professor: Johnnie Baker Computer Science Department Kent State University von Neuman model.
Computer Architecture 1 CPU IAS (The computer’s main memory) Store (e.g. Disk, DVD) Input/output Interfaces Clock Bus Keyboard, printer, mouse monitor,
Chapter 2 content Basic organization of computer What is motherboard
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
GCSE Computing - The CPU
Computing Science Computer Structure: Lesson 1: Processor Structure
The CPU, RISC and CISC Component 1.
Von Neumann architecture
Chapter 10: Computer systems (1)
Chapter 2.1 CPU.
Starter: Stored Program Concept (von Neumann Architecture)
Computer Hardware – System Unit
Computing Systems Organization
Chapter 7.2 Computer Architecture
GCSE COMPUTER SCIENCE Topic 4 - Computers 4.2 Hardware.
Lesson Objectives A note about notes: Aims
Introduction of microprocessor
introduction to computer
Microprocessor and Assembly Language
Microcomputer Architecture
Computer Architecture
Hook – CPU Knowledge Check
IB Computer Science Topic 2.1.1
Teaching Computing to GCSE
Number Representations and Basic Processor Architecture
Functional Units.
COMS 161 Introduction to Computing
Introduction to Computer Architecture
Chapter 5: Computer Systems Organization
Components of a CPU AS Computing - F451.
Computer Architecture
1-2 – Central Processing Unit
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
OCR GCSE (9-1) Computer Science (J276)
Computer Architecture
Presentation transcript:

Systems Architecture Keywords Fetch Execute Cycle Von Neumann Architecture, MAR (Memory Address Register), MDR (Memory Data Register), Program Counter, Accumulator, ALU (Arithmetic Logic Unit), CU (Control Unit), Cache, Fetch/Execute, Busses. Systems Architecture Fetch Execute Cycle

Internal CPU Diagram Objectives Diagram Answer: BEGINNER: Define CPU keywords and label an internal CPU diagram. ADVANCED: Describe and explain the MAR, MDR, Accumulator, ALU, CU, Cache and Program counter. EXPERT: Explain how the fetch-execute cycle works. Task: Define the keywords and then label the internal CPU diagram. Diagram Answer: PC MAR CIR MDR ALU Accumulator 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 INP Add 5 STO 8 ADD 8 Address Bus Data Bus Processor Main Memory Starter activity

Computer System Components Objectives BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Internal Parts The processor Main memory (RAM, ROM, EEPROM) I/O controllers Buses External Parts Starter activity Peripherals I/O Devices / I/O Ports Secondary Storage

Definitions Processor Objectives Main Memory - RAM BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Processor The “brains” of the computer Carries out instructions (Executes Instructions) Processes Data Retrieves Data/Instructions from Main Memory (Fetch) Stores Data into Main Memory once Executed Main Memory - RAM Starter activity Holds Data and Instructions that are currently in use by the processor Located on the Motherboard Directly Accessible by the processor All data/instructions are lost once power is turned off

Definitions Main Memory - ROM Objectives Main Memory - EEPROM BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Main Memory - ROM Instructions are permanently etched onto a ROM Chip When power is turned off – instructions still remain on the ROM chip. Bootstrap Loader is held in ROM Gives the instructions to start up the Operating System Main Memory - EEPROM Starter activity EEPROM – Electronically Erasable Programmable Read Only Memory E.g. Sim cards / Flash Memory Instructions/Data can be erased electronically and replaced

Definitions I/O Controllers Objectives System Busses BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. I/O Controllers These are used to allow an interface between a hardware device external to the motherboard (e.g. a Keyboard) and the Processor itself. I/O controllers are used for: Keyboard, Mouse, Disk Drive, VDU System Busses Starter activity A bus is a set of parallel wires connecting two or more independent components of a computer system in order to pass signals between them. The System is split into three separate busses: The data bus The address bus The control bus

Definitions Address Bus Objectives Data Bus BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Address Bus Carries addresses from the Processor to main memory or other I/O devices It is one direction (Uni-Directional) The processor generates an address All data/Instructions are returned on the Data Bus Data Bus Starter activity Carries Data/Instructions from Main Memory to the Processor (or from other secondary storage devices) to the processor. Bi-Directional (two way) Data can be read/written

Definitions Control Bus Objectives Peripherals BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Control Bus Control signals are sent along the control bus E.g. Memory Read, Memory Write This instructs which was data will be travelling to/from memory. Peripherals Starter activity Peripherals are any devices that are not directly connected to the CPU E.g. mouse, keyboard, printer, hard disk drive, cd-rom drive These devices are known as I/O devices (Input/Output Devices)

Definitions I/O Ports Objectives Secondary Storage BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. I/O Ports I/O Ports allow communication from an I/O device and the motherboard (hence CPU) Secondary Storage Starter activity Used for long term storage of data and instructions Hard Disk Drive Solid State Drive Flash Memory DVD-R Blu-ray

Fetch Objectives BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Program counter is incremented for each instruction of the program being executed The contents of the Program Counter are put into the MAR (Memory Address Register) The address is transferred along the Address Bus to Main Memory (this address indicates which part of memory to fetch the data/instructions from The data/instruction that has been addressed is transferred back to the processor along the data bus This is held in the Memory Data Register The instruction would then be transferred to the Current Instruction Register. Starter activity

Registers Objectives Program Counter Memory Address Register BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. Program Counter Memory Address Register Holds the location of the next instruction/data address in Main Memory The contents of the PC are copied here and then transferred along the Address Bus Memory Data Register Current Instruction Register Once Data/Instructions are brought from the Memory Address in Main Memory – they are placed in the MDR. The instructions stored in the MDR are copied here Starter activity

Decode/Execute Objectives BEGINNER: Describe the purpose and state the function of a CPU. ADVANCED: Explain common characteristics of a CPU and how they effect performance. EXPERT: State the purpose of embedded systems and give examples. The instruction to be decoded is held in the Current Instruction Register The instruction is split into an Op-Code and an Operand The instruction is carried out by the ALU (Arithmetic Logic Unit) ALU Accumulator Control Unit Performs arithmetic and logical operations including +, -, AND, OR Results of calculations are placed into the Accumulator Sends Control Signals between the different internal components: Memory Read Memory Write Hard Disk Drive Read I/O Write Starter activity