von Neumann Architecture CPU

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Stored Program Architecture
Central Processing Unit
Slide 4-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 4 Computer Organization.
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
Computer Systems. Computer System Components Computer Networks.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
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.
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.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Basic Operational Concepts of a Computer
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer Science 210 Computer Organization The von Neumann Architecture.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Lecture #30 Page 1 ECE 4110– Sequential Logic Design Lecture #30 Agenda 1.von Neumann Stored Program Computer Architecture Announcements 1.N/A.
The Central Processing Unit (CPU) and the Machine Cycle.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Science 101 Computer Systems Organization.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Structure & Architecture 7b - CPU & Buses.
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
Overview von Neumann Architecture Computer component Computer function
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
Computer Babble Talk Dung X. Nguyen Rice University.
An Adder A Subtractor. A and B are the inputs of the adder/ subtractor R is the output of the adder/ subtractor F is the control to tell it to add or.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Logic Gates Dr.Ahmed Bayoumi Dr.Shady Elmashad. Objectives  Identify the basic gates and describe the behavior of each  Combine basic gates into circuits.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Von Neumann architecture
Chapter 10: Computer systems (1)
CS161 – Design and Architecture of Computer Systems
Computer Organization
The Stored Program Computer
Control Unit Lecture 6.
Computer Science 210 Computer Organization
Computer Architecture
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
The fetch-execute cycle
Hmmm Assembly Language
Computer Science 210 Computer Organization
COMS 161 Introduction to Computing
Intro to Architecture & Organization
MIPS Processor.
Chapter 5: Computer Systems Organization
von Neumann Architecture CPU
Central Processing Unit
MARIE: An Introduction to a Simple Computer
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Computer Organization and Assembly Languages Yung-Yu Chuang 2005/09/29
Basic components Instruction processing
A Top-Level View Of Computer Function And Interconnection
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.
Hmmm Assembly Language
Computer Architecture
Little work is accurate
Sec (2.3) Program Execution.
Presentation transcript:

von Neumann Architecture CPU

CPU: Central Processing Unit https://www.anandtech.com/show/6985/choosing-a-gaming-cpu-at-1440p-adding-in-haswell-

RAM: Random Access Memory http://www.techgriff.com/nedir/ram-nedir-ne-ise-yarar-2-14853

CPU in von Neumann Architecture CPU Registers Control Unit Arithmetic Logic Unit Circuits for Adder Shifter Multiplier Divider Control Processing Unit (CPU)

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 0000010100110000 Control Unit ALU 0110100111100001 Program Counter 1011100110001100 00000011 0100000000000111 Instruction Register 0000000000011110 00110100 0000100000010000 Control Processing Unit (CPU) 0000000000000001

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 0000010100110000 Control Unit ALU 0110100111100001 Program Counter 1011100110001100 00000011 0100000000000111 Instruction Register 0000000000011110 00110100 0000100000010000 Control Processing Unit (CPU) 0000000000000001 A few fast registers + math circuits Lots of slow registers

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 000001010011000 Control Unit ALU 000100111100001 Program Counter 000000110001100 00000000 100000000000111 Instruction Register 000000000000110 00000000 000000000010000 Control Processing Unit (CPU) 0000000000000001 Programs AND data Fetch-Execute Cycle Runs Program

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 000001010011000 Control Unit ALU 0000100111100001 Program Counter 000000110001100 00000001 100000000000111 Instruction Register 00000000000110 1010011000 000000000010000 Control Processing Unit (CPU) 0000000000000001 Programs AND data Fetch-Execute Cycle Runs Program

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 000001010011000 Control Unit ALU 0000100111100001 Program Counter 000000110001100 00000010 100000000000111 Instruction Register 00000000000110 100111100001 000000000010000 Control Processing Unit (CPU) 0000000000000001 Programs AND data Fetch-Execute Cycle Runs Program

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers 000001010011000 Control Unit ALU 0000100111100001 Program Counter 000000110001100 00000011 100000000000111 Instruction Register 00000000000110 110001100 000000000010000 Control Processing Unit (CPU) 0000000000000001 Programs AND data Fetch-Execute Cycle Runs Program

Von Neumann Architecture CPU Random Access Memory (RAM) CPU Registers Next time Control Unit ALU we'll start Program Counter to run actual 00000011 programs Instruction Register using Hmmm 110001100 Control Processing Unit (CPU) Programs AND data Fetch-Execute Cycle Runs Program

How do programs execute? Problem – a CPU does not execute instructions directly from memory. Instructions need to be brought into the CPU from memory one at a time. The fetch – execute cycle while not halt instruction Fetch instruction from memory and place in Instruction Register(IR) Add one to Program Counter(PC) Decode instruction Execute instruction

More Bits of the implementation… An 8-bit register: s D Q s D Q s D Q s D Q s D Q s D Q s D Q s D Q Registers are an integral part of every CPU (Nothing more than collection of D Flip Flops!) The PC register holds the memory address of the next instruction. Program Counter PC The IR register holds the instruction to be executed. Instruction Register IR A register is only a collection of D Flip flops. Data registers can be used as the programmer wishes. But who is this hypothetical programmer? Reg3 Reg4 A Control Unit (CU) keeps all of the logic in sync and keeps track of what needs to be done next… 1 1 0 0 0 0 0 CU 2 0 1 0 0 0 0 3 0 0 1 0 0 0 4 0 0 0 1 0 0 5 0 0 0 0 1 0

RAM CU ripple8 a Von Neumann machine 05 addn r3, 4 1 7+4 4 strobe PC IR Reg3 1 The instruction Argument 1 Argument 2 the same Reg3 the register the constant 4 old value of Reg3 = 7 new value of Reg3 = 11 CU read enable RAM 8 data bits 8 address bits strobe for all IR bits D in Q out decode instruction strobe to finish instruction (to all bits) ripple8 7+4 8 output bits flip-flop strobe for next instruction Instruction Decoding Guide 2 3 5 05 addn r3, 4 Just explain the pieces. This is a SIMPLE model! Direct their attention to the bottom right table. It's a simple 4 instruction machine! More to come.... 00 = LOAD from memory 01 = STORE to memory 10 = add a constant to a reg. (addn) a Von Neumann machine 11 = ADD a reg. to a reg.