Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)

Slides:



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

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.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Recap – Our First Computer WR System Bus 8 ALU Carry output A B S C OUT F 8 8 To registers’ input/output and clock inputs Sequence of control signal combinations.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
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.
COMPONENTS OF THE SYSTEM UNIT
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Processor Structure & Operations of an Accumulator Machine
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Computer Processing of Data
The CPU The Central Presentation Unit Main Memory and Addresses Address bus and Address Space Data Bus Control Bus The Instructions set Mnemonics Opcodes.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
Computer Systems - Processor. Objectives To investigate and understand the structure and role of the processor.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
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,
Computer operation is of how the different parts of a computer system work together to perform a task.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
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.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Software Design and Development Computer Architecture Computing Science.
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;
Chapter 2 content Basic organization of computer What is motherboard
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE Computing - The CPU
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Chapter 10: Computer systems (1)
Chapter 2.1 CPU.
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
What is a computer? Simply put, a computer is a sophisticated electronic calculating machine that: Accepts input information, Processes the information.
The Central Processing Unit
Assembly Language for Intel-Based Computers, 5th Edition
Microprocessor and Assembly Language
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Instructions at the Lowest Level
IB Computer Science Topic 2.1.1
Teaching Computing to GCSE
The Processor and Machine Language
Functional Units.
CS149D Elements of Computer Science
Introduction to Computing
Computer Architecture
The Von Neumann Model Basic components Instruction processing
CPU Key Revision Points.
1-2 – Central Processing Unit
Introduction to Computer Architecture
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
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.
Computer Operation 6/22/2019.
COMPUTER ARCHITECTURE
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)

Memory Main memory usually refers to RAM (usually dynamic RAM or DRAM), which stands for Random-Access Memory, a name is has because anything stored in the RAM can be accessed in roughly the same amount of time. RAM has quick read/write times, and its function is to load open programs and operating system data currently in use from the slower secondary storage, so they can be accessed directly by the CPU. Latency: The time delay between stimulation and response i.e the time wasted waiting for a response Static RAM or SRAM is faster than RAM (but more expensive), and is often used for CPU cache, a smaller, faster memory that stores copies of frequently accessed data from memory. Most of this is likely not on the specification, but I feel at least some of it is important base knowledge Another type of memory often contrasted with RAM is ROM, which stands for Read-Only Memory. This memory can only be read, and not changed or updated, and can be used in small amounts in computers to store essential programs, like the initial programs that run when the computer boots up.

Processor (CPU) …CPU stands for Central Processing Unit and it is the circuitry in a computer that controls the manipulation of data Modern computers often have multiple processing units contained on one chip (multi-core processors) The CPU architecture we’re looking at largely consists of 3 main parts: the arithmetic/ logic unit (ALU) – the circuits that perform the operations on data (e.g. + -, Boolean etc) The registers are quick, small stores of data within the CPU that temporarily hold data, addresses and instructions being manipulated by the processor. The control unit (CU) is the circuitry coordinating the activities of the computer Data in the form of bit patterns are transferred through a bus – a transmission channel connecting components. Two types are: Computers have internal clocks for synchronising the operation of a digital circuit, like those in CPUs. The clocks produce repeated alternating signals, like a metronome. We use the clock speed (in Hz) as an indicator of a CPU’s speed. An address bus which is used to specify the physical memory location where the processor needs to read and write to in the memory. It sends the address along the bus from the CPU to the memory. A data bus is used to transmit the actual data to and from the memory. The width of a bus is the capacity of how much data can be transmitted at one time e.g. an 8 bit address bus can locate a maximum of 256 unique locations

The Stored Program Concept Program Counter (PC) – stores the memory location of the next instruction to be executed. It increments after the end of the fetch stage. Current Instruction Register (CIR) – stores instruction currently being processed. This is the idea that program instructions, just like data, can be stored in the computer’s main memory. Early computers had their programs built into the control unit of the CPU, meaning the wiring had to be changed whenever different instructions were being executed. FETCH -The CPU receives the address of the next instruction to be executed from the program counter (PC) register -This is added to the address bus, which the main memory receives and then transfers the instruction in that location via the data bus back to the CPU. The instruction is stored in the current instruction register (CIR). Now, the CPU extracts the program from the main memory, decodes the instructions then executes them. Instead of rewiring, the contents of the memory is changed. The Fetch-Execute Cycle Manchester Baby (1948) DECODE -The control unit will make sense of the instruction stored in the CIR according to the instruction set. The instruction is decomposed into its individual components and based on this the appropriate circuitry is prepared for the execution stage. EXECUTE -Here the control unit activates and initiates the processing required by the instruction. E.g., if the instruction requires an arithmetic calculation, the control unit will activate and transfer data to the ALU and then the output will be stored in a different register.

Assembly Code 0010 1010 1010 0101 or… ADD R5, #10 All computer programs are executed as machine code (1s and 0s) by the processor When translated, each high-level instruction is split into smaller low-level instructions, which are split into an opcode (or operator, which denotes the basic machine operation e.g. ADD) and an operand (which is the data). 0010 1010 1010 0101 Binary numbers are difficult to understand and write (which is why we don’t program in machine code), so assembly language was created. or… ADD R5, #10 Assembly language code uses mnemonics (e.g. MOV or SUB) which are short codes representing the instructions (so the opcode) # refers to immediate addressing, meaning the value following it is the actual data item (not just a value in a register, called direct addressing) The actual mnemonics used and the associated binary codes are unique for each processor. The patterns of 0s and 1s that a particular processor recognises as commands is its instruction set. This means that assembly code or machine code written for one processor won’t work on another