D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.

Slides:



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

D75P 34 – HNC Computer Architecture Week 4 Reading and writing to RAM. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where.
Processor System Architecture
SECTION 4a Transforming Data into Information.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Discovering Computers 2010
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
1 TK6123: COMPUTER ORGANISATION & ARCHITECTURE Prepared By: Associate Prof. Dr Masri Ayob Lecture 6: CPU and Memory (1)
6. The CPU and Memory Chapt. 7.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
COMPONENTS OF THE SYSTEM UNIT
Computer Structure.
Lesson 3 — How a Computer Processes Data
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
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
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
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.
D75P 34 – HNC Computer Architecture Week 1 Main Components Of A Processor © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
DH2T 34 – HNC Computer Architecture 1 Lecture 14 The Fetch-Decode-Execute Cycle [1]. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College.
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
D75P 34 – HNC Computer Architecture
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
HOW a Computer Works ? Anatomy of Microprocessor.
Electronic Analog Computer Dr. Amin Danial Asham by.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
Motherboard A motherboard allows all the parts of your computer to receive power and communicate with one another.
Academic PowerPoint Computer System – Architecture.
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
1 Chapter 2 Central Processing Unit. 2 CPU The "brain" of the computer system is called the central processing unit. Everything that a computer does is.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
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 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
Computer Hardware – System Unit
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
THE CPU i Bytes 1.1.
Computer Architecture
Teaching Computing to GCSE
Number Representations and Basic Processor Architecture
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.
Microprocessor I 7/18/2019.
Presentation transcript:

D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College unless otherwise stated Prepared 8/12/04

To begin with we will look at the Central Processing Unit, or “Processor”. This is the “classic” diagram of a CPU. It is not based on any particular model, but most will have these seven components.

The CPU contains of a number of registers. A register is an area for storing information in a binary format. They are typically made of tiny capacitors (a component capable of holding an electrical charge). Capacitors can be either charged (1) or discharged (0) allowing the storage of binary values. Various types of capacitor, used for different purposes. An old name for a capacitor is a condenser.

The Control Unit. An average, modern Control Unit uses about 27 million transistors and capacitors. It will also contain a Decoder unit and the System Clock.

The clock is a tiny crystal of pure silicon, with an electrical current passed across it. This makes it oscillate at very high speeds - in a 1 GHz processor it will vibrate 1,000,000,000 times per second. The decoder consists of transistors and capacitors. When it receives a program instruction, it interprets the binary code.

The CU needs a “workspace” where it can decode any instructions it receives. This is called the Instruction Register.

Whenever a program is about to be run, the binary code is first loaded into the RAM (Random Access Memory). The CU then “imports” it’s instructions from the RAM.

But the CPU needs to know from which address in the RAM - the Memory Address Register points to the right one.

But how does the MAR know where to point? (Sometimes) the Program Counter tells it. The Program Counter also keeps track of what point in the program we have reached.

The data and instructions may only enter or leave the CPU by one “portal” or buffer. This is the Memory Data (Memory Buffer) Register.

When performing calculations or Boolean logic, data is sent to the Arithmetic and Logic Unit. The ALU also consists of capacitors and transistors. It is usually depicted as a “V” shape in diagrams.

Like the CU, the ALU needs a “workspace” to manipulate values. This is called the Accumulator.

The seven components shown are essential to the CPU. Different models will have many, more registers in addition to those shown here.

Whenever a program is running, it must first be loaded into RAM. RAM is divided up into cells, each with a unique number. Each cell contains part of the program code, stored in a binary format.

The CPU accesses each RAM cell in turn, retrieves the fragment of code and processes (runs) it.

The RAM chips sit apart from the CPU on the motherboard. For the data values to transfer from one place to the other, there must be a physical connection between the two. We call this connection a BUS. There are three main types of bus in any computer system. © C Nyssen 2001

The Data Bus The RAM is connected to the CPU by copper circuit wires, which can carry electrical signals. Data values are passed along this circuit, the data bus.

The data bus consists of a flat ribbon of several “wires”, usually in multiples of eight. This enables it to carry whole bytes of information at once.

The Address Bus We already saw that the Memory Address Register points to the correct location in RAM. This particular register is connected to the RAM by the address bus. The address bus carries binary signals which are then interpreted as address numbers, preparing the correct cell to send or receive data.

The address bus can be any number of lines wide. The number of RAM cells it can directly reference, or point to, will be 2 width of address bus.

The Control Bus The third main type of bus connects the Control Unit to all other components. It carries timing and control signals so it is called the control bus.

The data bus is bi-directional – data can flow in both directions between the MDR and the RAM. The address bus is uni-directional – it only ever points from the MAR to the RAM. The control bus is bi-directional as the CU sends out control signals and receives acknowledgements.

As well as RAM, the CPU must also communicate with “peripherals”. This enables us to add input and output facilities to the system. Examples of peripherals are the sound card, graphics card and keyboard.

Peripherals are small circuit boards that slot into the bus system. They do this by plugging into special slots on the motherboard. They also communicate with the CPU by the address, data and control buses.

Modern peripherals on a PCI card require a data bus 32 bits wide. AGP graphics cards use 32 or 64 bit data busses. Older ISA peripherals use 8 or 16 bits to transfer data. The width of the bus affects how quickly a computer can transfer data.

Summary (1) The CPU contains a number of registers. These consist of capacitors and transistors. The CU is the overall controller. It decodes instructions held in the IR. It also contains the system clock. The PC and MAR are pointer registers. They keep track of where the program has reached and which RAM cell is being currently addressed. The MDR acts as a point of entry/exit to/from the CPU. The ALU performs arithmetic and logic operations. It manipulates data in the Accumulator.

Summary (2) The CPU communicates with the RAM and peripherals by the Busses. The Data Bus carries data values. It is bi- directional. The number of bits width will always be a multiple of eight. The Address Bus points to the correct RAM location. It is uni-directional. It can be any width. It can directly reference 2 width RAM locations. The Control Bus carries control and timing signals to all the other components.