1 Computer Organization Notes: Test 2 on Thursday TA office hours moved from Fri to Wed this week: Wed 9-11 (Mehul); Wed 12-3 (Vivek) in JEC 6119 Today:

Slides:



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

Computer Organization, Bus Structure
Machine cycle.
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
The 8085 Microprocessor Architecture
Processor System Architecture
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
1 Sec (2.1) Computer Architectures. 2 For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
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
GCSE Computing - The CPU
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.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
Computer Structure.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
The Structure of the CPU
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Organization Computer Organization & Assembly Language: Module 2.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
1 Computer Organization Today: First Hour: Computer Organization –Section 11.3 of Katz’s Textbook –In-class Activity #1 Second Hour: Test Review.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
EXECUTION OF COMPLETE INSTRUCTION
Computer Design Basics
Computer Architecture Lecture 09 Fasih ur Rehman.
Module 8 Part B Adapted By and Prepared James Tan © 2001.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
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 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.
J. Stover, CSD-HS.  A computer is an electronic device that is programmed to accept data (input), process it into useful information (output), and store.
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.
Computer Organization CDA 3103 Dr. Hassan Foroosh Dept. of Computer Science UCF © Copyright Hassan Foroosh 2002.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
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.
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
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.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Gandhinagar Institute of Technology
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
GCSE Computing - The CPU
Computing Science Computer Structure: Lesson 1: Processor Structure
Computers’ Basic Organization
The 8085 Microprocessor Architecture
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Computer Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Number Representations and Basic Processor Architecture
Overview Last lecture Digital hardware systems Today
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
A Top-Level View Of Computer Function And Interconnection
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:

1 Computer Organization Notes: Test 2 on Thursday TA office hours moved from Fri to Wed this week: Wed 9-11 (Mehul); Wed 12-3 (Vivek) in JEC 6119 Today: First Hour: Computer Organization –Section 11.1 of Katz’s Textbook –In-class Activity #1 Second Hour: Test Review

2 Register Data In (N bits) Load Data Out (N bits) Output Enable N N (we have Tri-state outputs) Basic Building Blocks (1)

3 Basic Building Blocks (2) Shift Register Data In Load Data Out Output Enable N N Shift Controls (left/right/no shift) Shift Register

4 Basic Building Blocks (3) Combinational Shifter Shifter N N Shift Control Signals Edge Inputs Edge Outputs

5 Basic Building Blocks (4) Arithmetic-Logic Unit N N A B ALU Operation N Flags (carry out, overflow, etc.) Result Keep in mind: The ALU is a combinational circuit. Keep in mind: The ALU is a combinational circuit.

6 Buses Data Lines (two-way) N Address Lines (one-way) M Control Lines (mix of 1 and 2-way lines) C A shared collection of wires for exchanging data, with some defined rules Rule 1: Only one device can write to a bus at any time Rule 2: Multiple devices can read the bus at any time Rule 3: There is usually a bus protocol that is followed strictly by all devices sharing the bus Rule 1: Only one device can write to a bus at any time Rule 2: Multiple devices can read the bus at any time Rule 3: There is usually a bus protocol that is followed strictly by all devices sharing the bus

7 3 Registers Sharing a Bus N M C Register 1Register 2Register 3 OE1 OE2 OE3 LOAD1LOAD2LOAD3 Only one of these OE’s can be true at once Several of these can be true at once OE’s and LOAD’s generally determined by the control lines

8 Register-to-Register Data Transfer N OE1 M C Register 1Register 2Register 3 OE2 OE3 LOAD1LOAD2 LOAD3 Register 1  Register 3

9 RAM Random Access Memory M A R Address Register (we provide address here) M B R Memory Buffer Register (we exchange data here) Request (Chip Select) Read/Write Wait Memory Control Signals Memory Control Signals Slow RAMs usually ask Processor to wait

10 Note: This is not the only way to build a computer, but is the most common one. Note: This is not the only way to build a computer, but is the most common one. I want to build a computer! Basic Idea #1: The Stored Program Computer Concept This is an instruction-controlled digital system with a memory A sequence of instructions are stored in memory This set of instructions constitute the program that defines the machine’s behavior The same memory also holds the data needed to execute the program The same memory also holds the outputs produced by the program, as well as any intermediate results The memory is large (ideally, infinite)

11 The processor executes the following “infinite loop” forever: Step 1. Fetch the next instruction from memory to a register The register is usually called the instruction register The address of the next instruction is usually stored in a register called the program counter. Step 2. Decode the instruction Step 3. Fetch any operands needed Step 4. Execute the instruction Step 5. Do internal housekeeping, and Go to Step 1 One important chore is to change the address in the program counter to point to the next instruction. The Cycle of Life Basic Idea #2: The Instruction Cycle

12 Structure of a Computer Processor Memory System Control Datapath Address Read/Write Data Control Signals Data Inputs execution unit The Datapath Unit, also called the execution unit. It is analogous to the flesh and bones in the human body. Main parts: Registers, Shifter, ALU, Buses. instruction unit The Control Unit, also called the instruction unit. It is analogous to the brain and nervous system in the human body. Main parts: Finite-State Machine execution unit The Datapath Unit, also called the execution unit. It is analogous to the flesh and bones in the human body. Main parts: Registers, Shifter, ALU, Buses. instruction unit The Control Unit, also called the instruction unit. It is analogous to the brain and nervous system in the human body. Main parts: Finite-State Machine The Processor consists of two major parts: Central Processing Unit (CPU) Central Processing Unit (CPU) In its simplest form, a computer consists of a processor (CPU) and a memory system. In its simplest form, a computer consists of a processor (CPU) and a memory system.

13 BUS The BUS is like a highway for transferring data from one point to any other point Program Counter (Holds address of NEXT instruction) Instruction Register (Holds the fetched instruction) Accumulator Involved in most instructions Note that this one has two outputs Put Them Together! Single Bus Design The Datapath Unit

14 Do Activity #1 Now The Datapath Unit Random Access Memory M A R M B R Request (Chip Select) Read/Write Wait

15 RETAIN THE LAST PAGE(S) (#3 onwards)!! For Next Class: Bring Randy Katz Textbook, & TTL Data Book Required Reading: – Sec 11.3, skim 11.2 of Katz, omit the ABEL and ASM descriptions This reading is necessary for getting points in the Studio Activity!