Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Computer Systems Nat 4/5 Computing Science Computer Structure:
The CPU The Central Presentation Unit What is the CPU?
Computer Structure.
Computer Memory and Data Transfer
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
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.
Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
IT Systems Memory EN230-1 Justin Champion C208 –
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
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.
Processing Devices.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
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.
Chapter 3 Computer Hard ware
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Higher Computing Computer Structure.
Higher Grade Computing
Computer Processing of Data
Introduction to Computing: Lecture 4
Random access memory.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
Marr CollegeHigher ComputingSlide 1 Part 2: Computer Structure – 6 hours Higher Computing: COMPUTER SYSTEMS.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Intermediate 2 Computing Computer structure. Organisation of a simple computer.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Structure of a computer system
COMPUTER Structure Higher Unit 1 – Computer Systems St Kentigern’s Academy.
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.
Information Technology Basic Computer Architecture Adnan Khalid.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Overview von Neumann Architecture Computer component Computer function
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Chapter 2.
STATUS REGISTER  It is a group of flip-flops. But it is not used to store data.  Each bit in the status register is used to indicate a particular condition.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 2 content Basic organization of computer What is motherboard
Computer Systems Nat 4/5 Computing Science Computer Structure:
CPU Lesson 2.
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
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.
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.
Chapter 7.2 Computer Architecture
The Central Processing Unit
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Electronics Technology
Hook – CPU Knowledge Check
CPU Key Revision Points.
Components of a CPU AS Computing - F451.
MICROPROCESSOR MEMORY ORGANIZATION
Unit 1.1 System Architecture Lesson 2
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer... CONTROL UNIT ALU REGISTERS RAM ROMROM INPUT DEVICES keyboard + mouse etc. OUTPUT DEVICES monitor + printer etc. BACKING STORAGE CPU MAIN MEMORY

Higher Computing Computer Systems S. McCrossan 2 Higher Grade Computing Studies 2. Computer Structure The Structure of the CPU - The Control Unit The control unit is like the CPU’s manager. The main functions of the control unit are: To send out the signals to fetch instructions from memory. To interpret those instructions. To send out signals to enable instructions to be carried out.

Higher Computing Computer Systems S. McCrossan 3 Higher Grade Computing Studies 2. Computer Structure The Structure of the CPU - The ALU The arithmetic and logic unit, the ALU, performs the following functions; Calculations such as addition, subtraction, multiplication and division. Logic functions, such as comparing values.

Higher Computing Computer Systems S. McCrossan 4 Higher Grade Computing Studies 2. Computer Structure Main Memory The main memory part can be visualised as a series of individual boxes with their own unique address.

Higher Computing Computer Systems S. McCrossan 5 Higher Grade Computing Studies 2. Computer Structure The Size & Number of Memory Locations The word length of a computer is the size of the data, in bits, which can be manipulated as a single unit by the processor. Logically, it is also the number of bits that a single memory location can store. The size is determined by the width of the data pathways (or buses) within the computer, between the processor and the memory. The system above has a word length of 16 bits.

Higher Computing Computer Systems S. McCrossan 6 Higher Grade Computing Studies 2. Computer Structure Main Memory RAM has the following features: The CPU can write to, or read from, RAM at high speed. RAM can be changed by the CPU at any time - it is volatile. All information stored in RAM is lost when the computer is switched off. Static RAM holds its contents as long as there is a power supply. Dynamic RAM, has to be refreshed by reading and rewriting its contents frequently. DRAM is more common because it needs less power and its circuitry is simpler.

Higher Computing Computer Systems S. McCrossan 7 Higher Grade Computing Studies 2. Computer Structure Main Memory ROM has the following features: The bootstrap loader is stored in ROM. Data in ROM can be read by the CPU from the moment the computer is switched on. Data in ROM is permanently written into a microchip. Data stored in ROM is not lost when the computer is turned off.

Higher Computing Computer Systems S. McCrossan 8 Higher Grade Computing Studies 2. Computer Structure Main Memory PROM (Programmable Read Only Memory) Empty of data when the chip is manufactured, can be programmed by the user. Once programmed the data cannot be erased. EPROM (Erasable PROM) Like PROM only the chip can be removed from the computer and the program erased and another stored in its place using ultraviolet light. EEPROM (Erasable PROM) Like EPROM but electricity is used to erase and reprogram selected contents.

Higher Computing Computer Systems S. McCrossan 9 Higher Grade Computing Studies 2. Computer Structure Storage Outside Main Memory Reading /writing data to and from memory can slow down the system performance. To combat this problem, the processor can store data in cache memory or its internal registers instead of the RAM. Cache memory small amount of memory e.g. 512 KB. stores the next instructions to be read. physically closer to the processor than RAM. uses static memory (SRAM).

Higher Computing Computer Systems S. McCrossan 10 Higher Grade Computing Studies 2. Computer Structure Storage in the CPU - Registers Registers are temporary storage locations in the processor. A register can be used for tasks like ; holding data for a calculation. storing the address of the next instruction to be executed. holding the instruction as it is being decoded and executed. We will look at registers in more detail in the Fetch-Execute cycle.

Higher Computing Computer Systems S. McCrossan 11 Higher Grade Computing Studies 2. Computer Structure The Processor and Main Memory ALU Control Unit Other registers Memory Address Register Memory Data Register Main Memory Address Processor Address bus 32 lines Data bus 16 lines Control bus 6 lines

Higher Computing Computer Systems S. McCrossan 12 Higher Grade Computing Studies 2. Computer Structure Buses A bus is an electronic highway or a collection of cables where each cable can transmit one bit. There are three buses: The address bus, which is used by the processor to pinpoint the memory location, needed. This is a one-way bus. The data bus, which is used to transfer the data. Its size will usually match the word size i.e. the size of the memory locations. This is a two-way bus. The control bus, which is used to initiate and control what is happening.

Higher Computing Computer Systems S. McCrossan 13 Higher Grade Computing Studies 2. Computer Structure The Address Bus information is carried from the processor to the main memory this informs the main memory which memory location will be read or used to store data. the number of wires in this bus determines the number of memory locations. each wire on the bus carries one bit of information at a time. 8 lines will allow 256 memory locations. 32 lines will allow 68,719,476,736 memory locations. increasing the width of this bus, increases the number of memory locations that it is possible to address. Memory Address Register Address bus Main Memory Address Processor

Higher Computing Computer Systems S. McCrossan 14 Higher Grade Computing Studies 2. Computer Structure The Data Bus information is carried to and from the processor and main memory. this stores data in a memory location and reads data from a memory location. the description of the computer i.e 32 bit computer, informs the user of the number of wires in this bus. each wire on the bus carries one bit of information at a time. increasing the width of this bus, increases the quantity of data that can be carried at one time and so increases the performance of the computer system. Memory Data Register Data bus Main Memory Address Processor

Higher Computing Computer Systems S. McCrossan 15 Higher Grade Computing Studies 2. Computer Structure The Control Bus each wire on the bus has its own separate function and is activated independently of the others. Read Informs the memory that data is to be sent to the processor from a particular memory location. Write Informs the memory that data is to be stored in a particular memory location. Clock Generates a constant pulse which regulates the flow of information. A clock of 600MHz (megahertz) generates a pulse 600,000,000 times a second. Control Unit Control bus Main Memory Address Processor

Higher Computing Computer Systems S. McCrossan 16 Higher Grade Computing Studies 2. Computer Structure The Control Bus Interrupt This is a signal informs the processor that some important external activity has taken place. The current state of processing is saved, then the processor deals with the interrupting device, it then returns to the previous state when finished with the interrupt request. Reset Clears all internal processor registers and returns the computer to its initial switched on state. Control Unit Control bus Main Memory Address Processor NMI The Non-Maskable Interrupt operates like an interrupt but it cannot be ignored. It must be dealt with immediately.

Higher Computing Computer Systems S. McCrossan 17 Higher Grade Computing Studies 2. Computer Structure The Links Between Processor and Memory The Stored Program concept: The program and data are stored in RAM until needed by the processor. The first instruction is fetched from memory into the processor where it is decoded and executed. The same happens to the second instruction and so on until the program ends. The FETCH-EXECUTE cycle: The processor has to be able to pinpoint any memory location in which instructions or data are stored. Each memory location is assigned an unique address.

Higher Computing Computer Systems S. McCrossan 18 Higher Grade Computing Studies 2. Computer Structure Read From Memory A processor needs an instruction from memory or requires some data to perform a calculation. Here are the steps and buses needed to fetch that information from memory. 1. Processor sets up address bus with the address to be read in memory in the MAR 2. Processor activates the read line on the control bus 3. Data from the memory is copied onto the data bus and transferred into the MDR This pinpoints the desired location This tells the memory a ‘read’ is to occur and the memory finds the requested location Data is transferred to the processor

Higher Computing Computer Systems S. McCrossan 19 Higher Grade Computing Studies 2. Computer Structure Write To Memory Here are the steps and buses needed to write information to memory. 1. Processor sets up address bus with the address of the location to be written to in the MAR 3. Processor activates the write line on the control bus 4. Data from the processor is copied onto the data bus and into memory This pinpoints the desired location This tells the memory a ‘write’ is to occur and the memory finds the requested location Data is transferred to the memory 2. Processor sets up data bus with the data to be written to memory into the MDR This prepares the data