Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.

Slides:



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

Microprocessors A Beginning.
Computer Organization and Architecture
SECTION 4a Transforming Data into Information.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Processor Technology and Architecture
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Associative Cache Mapping A main memory block can load into any line of cache Memory address is interpreted as tag and word (or sub-address in line) Tag.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
1 CS402 PPP # 1 Computer Architecture Evolution. 2 John Von Neuman original concept.
GCSE Computing - The CPU
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
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.
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
CH12 CPU Structure and Function
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
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...
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Computer Processing of Data
Introduction to Computing: Lecture 4
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Random access memory.
Computing hardware CPU.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
1 CSC 101 Introduction to Computing Lecture 11 Dr. Iftikhar Azim Niaz 1.
Computer Architecture Lecture 3 Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
Advanced Computer Architecture Cache Memory 1. Characteristics of Memory Systems 2.
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
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.
Memory Hierarchy. Hierarchy List Registers L1 Cache L2 Cache Main memory Disk cache Disk Optical Tape.
Identifying Hardware Components in a Computer (continued) Clock Speed (continued) The computer has a system clock that generates a regular electronic beat.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Computer operation is of how the different parts of a computer system work together to perform a task.
The Central Processing Unit (CPU)
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Lecture # 10 Processors Microcomputer Processors.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Software Design and Development Computer Architecture Computing Science.
What’s going on here? Can you think of a generic way to describe both of these?
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
Chapter 2 content Basic organization of computer What is motherboard
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE OCR Computing A451 The CPU Computing hardware 1.
Processor/Memory Chapter 3
William Stallings Computer Organization and Architecture 8th Edition
CS-301 Introduction to Computing Lecture 17
Teaching Computing to GCSE
Overview of Computer Architecture and Organization
CPU Key Revision Points.
Chapter 5: Computer Systems Organization
Computer Evolution and Performance
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Lecture#14

Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and volatile Non Volatile ROM, PROM, EPROM, EEPROM, Flash RAM – Volatile Memory Static RAM, Dynamic RAM, MRAM SDRAM and its types

Components affecting Speed CPU Memory Registers Clock speed Cache memory Data bus

Achieving Increased Processor Speed Increase the hardware speed of the processor. shrinking the size of the logic gates on the processor chip, so that more gates can be packed together more tightly Increasing the clock rate individual operations are executed more rapidly. Increase the size and speed of caches In particular, by dedicating a portion of the processor chip itself to the cache, cache access times drop significantly. Make changes to the processor organization and architecture that increase the effective speed of instruction execution. Typically, this involves using parallelism in one form or another.

Registers processor contains small, high-speed storage locations temporarily hold data and instructions part of the processor, not part of memory or a permanent storage device. Different types of registers, each with a specific storage function including storing the location from where an instruction was fetched storing an instruction while the control unit decodes it storing data while the ALU computes it, and storing the results of a calculation.

Register Function Almost all computers load data from a larger memory into registers where it is used for arithmetic, manipulated, or tested, by some machine instruction. Manipulated data is then often stored back in main memory, either by the same instruction or a subsequent one.

Register Size Number of bits processor can handle Word size indicates the amount of data with which the computer can work at any given time Larger indicates more powerful computer Increase by purchasing new CPU 16 bit registers 32 bit registers 64 bit registers

User Accessible Registers Data registers can hold numeric values such as integer and floating-point values, as well as characters, small bit arrays and other data. In some older CPUs, a special data register accumulator, is used implicitly for many operations. Address registers hold addresses and are used by instructions that indirectly access main memory i.e. RAM

Other types of Registers Conditional registers hold truth values often used to determine whether some instruction should or should not be executed. General purpose registers (GPRs) can store both data and addresses, i.e., they are combined Data/Address registers. Floating point registers (FPRs) store floating point numbers in many architectures. Constant registers hold read-only values such as zero, one, or pi. Vector registers hold data for vector processing done by SIMD instructions (Single Instruction, Multiple Data).

Other types of Registers Control and Status registers hold program state; they usually include Program counter (aka instruction pointer) and Status register (aka processor status word or Flag register). Instruction register store the instruction currently being executed Registers related to fetching information from RAM, Memory Buffer register (MBR) Memory Data register (MDR) Memory Address register (MAR) Memory Type Range Registers (MTRR) Hardware registers are similar, but occur outside CPUs.

System or Internal Clock Operations performed by a processor, such as fetching an instruction, decoding the instruction, performing an arithmetic operation, and so on, are governed by a system clock Typically, all operations begin with the pulse of the clock Speed of a processor is dictated by the pulse frequency produced by the clock, measured in cycles per second, or Hertz (Hz) Clock signals are generated by a quartz crystal, which generates a constant signal wave while power is applied. This wave is converted into a digital voltage pulse stream that is provided in a constant flow to the processor circuitry

System or Internal Clock The rate of pulses is known as the clock rate, or clock speed. One increment, or pulse, of the clock is referred to as a clock cycle, or a clock tick or the time it takes to turn a transistor off and back on again. The time between pulses is the cycle time. controls the timing of all computer operations A processor can execute an instruction in a given number of clock cycles. Pace of the system clock is called the clock speed Modern machines use Giga Hertz (GHz) One billion clock ticks in one second

Intel Cache Evolution Problem Solution Processor on which feature first appears External memory slower than the system bus. Add external cache using faster memory technology. 386 Increased processor speed results in external bus becoming a bottleneck for cache access. Move external cache on- chip, operating at the same speed as the processor. 486 Internal cache is rather small, due to limited space on chip Add external L2 cache using faster technology than main memory 486 Contention occurs when both the Instruction Prefetcher and the Execution Unit simultaneously require access to the cache. In that case, Prefetcher is stalled while the Execution Unit’s data access takes place. Create separate data and instruction caches. Pentium Increased processor speed results in external bus becoming a bottleneck for L2 cache access. Create separate back-side bus that runs at higher speed than the main (front-side) external bus. The BSB is dedicated to the L2 cache. Pentium Pro Move L2 cache on to the processor chip. Pentium II Some applications deal with massive databases and must have rapid access to large amounts of data. The on-chip caches are too small. Add external L3 cache.Pentium III Move L3 cache on-chip.Pentium 4

Access Time