Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.

Slides:



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

Microprocessors A Beginning.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
The CPU - Outline. Components of CPU Englander p
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
GCSE Computing - The CPU
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
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.
By: Clara Miles and Jarrick Lumma.  The motherboard is the main circuit board of the system unit. It can also be called a system board.  It contains.
Processing Devices.
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.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Introduction to Computing: Lecture 4
created by :Gaurav Shrivastava
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
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.
Introduction to Microprocessors
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Academic PowerPoint Computer System – Architecture.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Overview von Neumann Architecture Computer component Computer function
Computer operation is of how the different parts of a computer system work together to perform a task.
The Central Processing Unit (CPU)
Structure and Role of a Processor
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
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.
Block diagram of a computer system Basic components of a computer system using block diagrams: Cpu Memory Input and output unit Evolution of microprocessor.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Internal hardware of a computer Learning Objectives Learn how the processor works Learn about the different types of memory and what memory is used for.
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE Computing - The CPU
Systems Architecture Keywords Fetch Execute Cycle
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Chapter 7.2 Computer Architecture
Introduction of microprocessor
Components of Computer
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Hook – CPU Knowledge Check
Teaching Computing to GCSE
Number Representations and Basic Processor Architecture
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Fundamentals of Computer Organisation and Architecture
Components of a CPU AS Computing - F451.
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.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine Typical processor contains 100,000,000 transistors Moore’s law – number of components integrated into a single chip doubles every months ProcessorInput/OutputMain Memory Bus

Internal hardware and external components of a computer  Main Memory Also known as ROM, RAM or IAS (Immediate access store) Mainly used to store program instructions and data Available in memory chips able to store 512k. Integrated onto bigger boards to store up to 4gig in 32bit computers ROM – Read only memory RAM – Random Access Memory EEPROM – Electrically erasable programmable read only memory  Bus The three areas are connected by a set of parallel wires These wires pass signals between the components. There are 3 types of bus Data – a bidirectional bus, typically consisting of 32 wires used to transport data between components Address – a unidirectional bus, typically consisting of 32 wires used to address memory and I/O locations. Control – a bidirectional bus, typically consisting of 8 wires, used to transport control signals between the components.

Internal hardware and external components of a computer  Input / Output (I/O) Commonly known as peripherals. Processor Keyboard Main memory Keyboard Input Controller VDU Output Controller Visual Display Unit (Disk) I/O Controller Secondary Store Data and Address Buses Control Bus

Internal hardware and external components of a computer  Peripherals A computer device that is not part of the CPU. The system bus is not connected directly to I/O devices but via an I/O controller The I/O controller is connected to the I/O device  I/O Controller The controller is an electronic circuit consisting of three parts 1)Electronics that interface the controller to the system bus 2)A set of data, command and status registers 3)Electronics appropriate for sending control signals to the device connected to the computer  Secondary Storage This is a permanent storage memory that is a peripheral to the CPU e.g. A hard disk.

Functional Characteristics of a processor.  A processor controls the system bus  Performs operations on data by executing program instructions  Program instructions are stored in main memory and are “Fetched” by the Processor  Only one operation can be carried out at one time for each processor.  A large part of the traffic on the system bus is addresses for memory locations. Addressable Memory  Memory locations each have a unique address which the processor sends down the address bus.  The processor determines over the control bus whether it needs to read or write to that memory location.  The processor uses the data bus to then transfer any data back and fore.

Functional Characteristics of a processor. Stored program concept  Proposed by John von Neumann and Alan Turing  A program must be resident in main memory to be executed  machine code instructions are fetched, one after another, from main memory in sequence and are executed, one at a time in the processor. Von Neumann stored program computer  A serial machine  Instructions are fetched one after anaother  Single memory shared between program instructions and data.  Data and instructions travel along a shared data bus. Harvard stored program computer  Separate instruction and data memories  Separate instruction and data buses  Still functions as a serial computer Harvard Vs Von Neumann No sharing resources with accessing data and instructions so the performance speed of a Harvard infrastructure is better.

Functional Characteristics of a processor. Microcontroller  A complete computer on a single chip. Processor, memory and I/O  Used for small devices where a cheap compact system is required, e.g. Mp3 players  Often use the Harvard architecture.

Functional Characteristics of a processor. Structure and role of the processor A processor consists of the following components 1)Program Control Unit Fetches program instructions from memory, decodes them and executes them one a time 2) Arithmetic Logic Unit The ALU performs arithmetic and logical operations on data such as addition and subtraction, fixed point and floating point arithmetic, Boolean logic such as AND, OR< XOR and a range of shift operations. 3) Registers Fast memory locations inside the processor that may be dedicated or general- purpose 4) Internal Clock Derived directly or indirectly from the system clock

Functional Characteristics of a processor. Structure and role of the processor A processor consists of the following components 5) Internal Buses Several internal buses link the control unit, the ALU and the registers 6) Logic gates Used for flow control

Functional Characteristics of a processor. General Purpose and dedicated registers General Purpose  Fast memory locations used to store data temporarily  Labelled as R1, R2.....Rn  Accessed with instructions such as LOAD, STORE and ADD Dedicated Registers 1)Stack Pointer (SP) Points to a stack holding return addresses, procedure or functional parameters, and local variables. It is accessed when a procedure or function is called or an interrupt is serviced. 2) Program Counter (PC) Points to the next instruction to be fetched and executed

Functional Characteristics of a processor. General Purpose and dedicated registers Dedicated Registers 3) Status Register Holds condition codes to indicate the outcome of operations e.g. Positive, negative, zero, interrupts enabled or overflow. 4) Accumulator (ACC) The result of the current set of calculations 5) Current Instruction register (CIR) Holds the current instruction to be executed while it is decoded and executed 6) Memory Address Register (MAR) Holds the address of the memory location currently being accessed by the processor. 7) Memory Buffer Register (MBR) Holds the data item being transferred to or from the memory location currently being accessed by the processor. Sometimes called the MDR (Memory Data Register)

Functional Characteristics of a processor. System Clock and Clock Speed  Timing signals that are used to regulate the rate at which instructions are executed  Used to synchronise the operation of various computer components.  Measured in megahertz (MHz) or gigahertz (GHz)  This frequency is known as clock speed.  Instructions required a set amount of clock ticks to execute.  The frequency of these ticks can be increased by frequency multiplying circuits to the rate that is required by the processor.  Clock ticks are provide to regulate the transfer of data, addressed and control signals along the busses at a slower rate than the processor.  Clock speeds double every year. Intel 8088 (1990 – 4.77MHz) 486 DX2 66 – 66Mhz (1994 est) Pentium – Up to 300 Mhz Pentium 4 up to 3-4 GHz Dual Core – Up to 6GHz Quad Core

Functional Characteristics of a processor. Limits on Clock Speed A limit needs to be set on clock speed due to the heat being generated by the chip with higher frequencies. This is why modern computers have a fan directly on the chip itself. This causes a deviation from Moore’s law due to the level of heat and power consumption. To solve this problem multiple cores are now used with lower frequencies. Multicore Processors  More processors are put onto one microprocessor chip.  These processors are called cores  Operate at lower frequencies  Multiple tasks can be implemented and processes can be split.

Functional Characteristics of a processor. Word Length Computers works with binary words which are codes for instructions, memory addresses, characters, integer numbers, colours of pixels and digitised sound samples. The greater the word length the greater the instruction set, the larger the memory, the larger the numbers that can be used etc.. Increasing Word length Increasing this allows larger operands in instructions preventing the need to spend time breaking down the operands which affects performance. 32 bit computers can have more memory than 16 bits computer as more addresses accessable. Bus Width The number of wires on a bus. Each wire represent one bit of information. This affects the word length. Increasing the bus width will obviously affect the performance as more data and larger addresses can be accessed.

CPU WARS Episode 1 A day in the life of a CPU Fetch Decode Execute Cycle

The Players The Control Unit The Clock The Status Register The Current Instruction Register (CIR) The Interrupt Register The Program Counter The Memory Data Register (MDR) The Memory Address Register (MAR) The Arithmetic Logic Unit (ALU) The Accumulator

Scene 1 – The Fetch Hi PC. What is my next instruction? Hi CU. This is your next instruction and where in Memory you can find it.

Since this is an address the MAR needs to hold its location. F124 AC4D

Scene 1 – The Fetch Address bus – I need you to go to the memory with this address for my next instruction No problem sir! Ah. This is the instruction from the Memory

Scene 1 – The Fetch There you go sir. Thankyou CIR Right. I can now increment to the next instruction I now need to pass this instruction onto the CIR

Scene 2 – The Decode Right. I have my instructions – now what do they mean? I better check my instruction set. Instruction Set – Add – Move – Subtract – Multiply Store Ah cool. According to this my instruction is “MOVE”

Scene 3 – The Execute Ok Guys. Thanks for all of you coming. Here is what I would like you to do…..

The End…. Tick..