Software Design and Development Computer Architecture Computing Science.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
The Fetch – Execute Cycle
Machine cycle.
Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Stored Program Concept: The Hardware View
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.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
CPU Describe the purpose of the CPU
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.
The Computer Processor
CPU Fetch/Execute Cycle
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Computing hardware CPU.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
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.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
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 Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
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.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer operation is of how the different parts of a computer system work together to perform a task.
The Central Processing Unit (CPU)
Session 4 Teaching Computing to GCSE Level with Python.
A-Level Computing#BristolMet Session Objectives#3 MUST identify components of a CPU SHOULD describe the purpose of a CPU and its individual components.
CBP 2002ITY 270 Computer Architecture1 Module Structure Whirlwind Review – Fetch-Execute Simulation Instruction Set Architectures RISC vs x86 How to build.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
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 Hardware What is a CPU.
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
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)
Lecture 5: Computer systems architecture
Stored program concept
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
IB Computer Science Topic 2.1.1
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
Introduction to Computer Architecture
CPU Key Revision Points.
Chapter 5: Computer Systems Organization
1-2 – Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
A Top-Level View Of Computer Function And Interconnection
WJEC GCSE Computer Science
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Architecture
Little work is accurate
Sec (2.3) Program Execution.
Presentation transcript:

Software Design and Development Computer Architecture Computing Science

Learning Objectives By the end of this topic you will be able to: describe the function of the registers, the arithmetic and logic unit and the control unit in a processor; describe the function of the registers, the arithmetic and logic unit and the control unit in a processor; describe the role of the control, address and data buses in the fetch execute cycle; describe the role of the control, address and data buses in the fetch execute cycle; describe how cache memory affects processor performance; describe how cache memory affects processor performance describe modern trends in computer architecture;

Learning Objectives By the end of this topic you will be able to: understand what an emulator is and how it is used; describe the concept of a virtual machine; understand the influence that mobile devices have on the software development process. understand the influence that mobile devices have on the software development process.

Processor components Processors have three main components Arithmetic and Logic Unit (ALU) Control; Unit Registers

Processor components The Arithmetic and Logic Unit performs calculations The Control Unit loads, decodes and executes instructions The Registers are small memory locations used by the processor

Buses Buses are the lines which connect the CPU to the main memory There are three buses – Data bus – Address bus – Control bus

Links between Processor and memory Address Bus Data Bus Control Bus Processor Memory

Registers Registers are temporary storage areas in the processor which can be used to hold: – The address of the next instruction (Program Counter) – The address where data is to be read from or written to (Address Register) – The result of the last calculation (Accumulator) – Data or instructions transferred between the CPU and memory (Data Register) – The current instruction being decoded (Instruction Register)

Registers Arithmetic and Logic Unit Control Unit Accumulator Instruction register Program Counter Address register Data register Memory Control linesAddress BusData Bus

The Address Bus: The address bus is a 1 way bus 1.The processor sets up the address register with the address of the memory location to be accessed 2.The processor activates the read or write line on the control bus 3.Data is then transferred to or from the data register via the data bus

The Data Bus Memory Read / write Operation The data bus is a 2 way bus The memory location to be read from or written to is set up with the address bus The read or write line is activated on the control bus The data is transferred to or from the data register via the data bus

Read Operation Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter

Read Operation Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter

Read Operation Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter

Read Operation Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter

Write Operation Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

Write Operation Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

Write Operation Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

Write Operation Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

The Fetch - Execute cycle Fetch Instruction Decode Instruction Execute Instruction

The Fetch - Execute cycle in detail Transfer Program Counter (PC) to Memory Address Register (MAR) Increment the Program Counter Activate Read line (via Control bus) Transfer instruction to Data Register (via Data bus) and then to Control Unit Decode Instruction Execute Instruction

The contents of the Program Counter are copied into the Address Register Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter Instruction Register

The Program Counter is incremented Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

Instruction Register The read line is activated and the contents of memory at the location are copied into the Data Register Address Bus Data Bus Control Bus Processor Memory Read line Data RegisterAddress Register Control Unit Program Counter

Instruction Register The Contents of the Data Register are copied into the Instruction Register Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter

The Instruction is decoded Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter Instruction Register

The Instruction is executed Processor Memory Write line Address BusControl Bus Data RegisterAddress Register Control Unit Data Bus Program Counter Instruction Register

Cache memory Cache memory is memory that can be accessed more quickly than regular RAM. Copies of instructions and data that are frequently used are stored here Processor will try to predict which instructions are needed and load them into cache

Cache memory Accessing cache memory is quicker because It uses faster (and more expensive) memory chips It is closer to the processor than normal RAM

Cache memory Cache memory comes in different levels Level 1 (L1) cache, which is extremely fast but relatively small, is located close to the processor. Level 2 (L2) cache is located half-way between the process and the system bus; it is fairly fast and medium-sized. Level 3 (L3) cache is relatively large and close to RAM.

Modern trends in architecture Strategies used to improve processor performance Speeding up the processor Increasing the instruction size executed in one operation Reducing the size of the transistors

Modern trends in architecture Increasing on-chip memory Parallel computing Possible developments in future Quantum computing Optical computing

Emulators An Emulator is a piece of software that allows a computer system to emulate another computer system. They can be used for several purposes. For example To allow programs written for obsolete machine to run on a modern system. This is often to allow computer games written for consoles or arcade systems to run on modern machines

Emulators A second reason is to allow the development of software for systems that have not yet been built. This allows software for a new system to be available when the system is first launched. Virtual machines are also examples of emulators

Virtual machines Virtual machines are again pieces of software that allow multiple types of software to run on a single machine. They can be used to allow several OS to run on a single machine, or several copies of the same OS to run on one machine. They can also be used to provide program portability. A single version of a program can be created and then a virtual machine created for each OS that it has to run with. This is the process that programs written in Java use with the Java Virtual Machine.

Mobile devices Rise in use of mobile devices has led to Need for emulators for development of software Redesign of displays for smaller screen sizes Need for touch screen technology Dealing with more limited bandwith Integrating facilities like GPS