Computer Architecture

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?
Machine cycle.
Chapter 1. Basic Structure of Computers
Processor System Architecture
Computer Systems. Computer System Components Computer Networks.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
Chapter 0 Introduction to Computing
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Elements of the Computer (How a processor works)
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.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
The Computer Processor
Basic Operational Concepts of a Computer
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
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.
The Central Processing Unit (CPU) and the Machine Cycle.
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.
CSCI 211 Intro Computer Organization –Consists of gates for logic And Or Not –Processor –Memory –I/O interface.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Dale & Lewis Chapter 5 Computing components
Computer operation is of how the different parts of a computer system work together to perform a task.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
CPUz 4 n00bz.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
CPU Lesson 2.
Computing Science Computer Structure: Lesson 1: Processor Structure
Systems Architecture Keywords Fetch Execute Cycle
Chapter 10: Computer systems (1)
Chapter 7.2 Computer Architecture
Introduction to Computer Architecture
Chapter 4 The Von Neumann Model
CENTRAL PROCESSING UNIT CPU (microprocessor)
Chapter 4 The Von Neumann Model
Teaching Computing to GCSE
The Processor and Machine Language
Number Representations and Basic Processor Architecture
Functional Units.
Computer Architecture
Basic Computer Organization
Introduction to Computer Architecture
von Neumann Architecture CPU
The Stored Program Computer
GCSE OCR 1 The CPU Computer Science J276 Unit 1
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.
Computer Architecture
Sec (2.3) Program Execution.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Computer Architecture Memory, Math and Logic

Basic Building Blocks Seen: Memory Logic & Math

Computer Parts Things that go into a computer:

Simplified Parts Logical structure of parts:

Simplified Parts Logical structure of parts:

Simplified Parts Logical structure of parts: CPU Memory Input Output

Higher Level Architecture CPU Central Processing Unit Memory Programs and Data Input & Output Keyboards, Mice, Screens Printers, Networks, etc… CPU Input & Output Memory

CPU Busses Memory Busses Separate busses for different signals Groups of wires that carry a signal 1 wire for each bit Separate busses for different signals Input & Output Memory

Memory Memory Collection of bytes Access byte by address

Memory Memory Collection of bytes Access byte by address Meaning defined by program Byte 0x00 could be: 74 J Red part of a 24-bit color 0x00-0x02 Part of a 64-bit floating point 0x00-0x07

Memory Hierarchy Memory is Too slow Too small Temporary

Memory Hierarchy Main Memory : medium speed/capacity RAM

Memory Hierarchy On processor: Small, Ultra Fast memory Registers Cache

Memory Hierarchy Secondary Memory : slower, larger, permanent storage Hard drives / Flash drives / CD Drives

Using the Hierarchy Program’s trip through memory levels:

Inside the CPU Registers ALU CU Input & Output Memory

Registers Registers Examples: Special purpose memory in CPU PC : Program Counter What memory address has next instruction IR : Instruction Register What instruction we are working on ACC : Accumulator Result of what we just did

ALU Arithmetic Logic Unit Can: Add/Subtract Compare values Do Logic < > = Do Logic NOT, OR, AND,…

CU Control Unit Decoder : reads instructions from IR, sends control signals to control ALU, memory Clock : synchronizes operations across computer

Machine Code Machine Code : Instruction stored as binary Bits to represent operation to perform (opcode) value to use (operand) 0001 1100 0100 1011

Sample Code 0010000010 0010000101 0100001101 0110001101 Machine code Function 0010000010 Load the value 2 into the Accumulator 0010000101 Load the value 5 into the Accumulator 0100001101 Store the value of the Accumulator in memory location 13 0110001101 Add the value of memory location 13 to the Accumulator

Fetch-Decode-Execute http://computerscience.chemeketa.edu/cs160Reader/ComputerArchitecture/MachineCycle.html