EEC4133 Computer Organization & Architecture Chapter 5: Datapath & Control by Muhazam Mustapha, April 2014.

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Stored Program Architecture
6-1 Chapter 6 - Datapath and Control Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of Computer Architecture.
Fall 2012SYSC 5704: Elements of Computer Systems 1 MicroArchitecture Murdocca, Chapter 5 (selected parts) How to read Chapter 5.
The CPU Revision Typical machine code instructions Using op-codes and operands Symbolic addressing. Conditional and unconditional branches.
1 Lecture-2 CSIT-120 Spring 2001 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
Computer Systems. Computer System Components Computer Networks.
1 Lecture-2 CS-120 Fall 2000 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Elements of the Computer (How a processor works)
State Machines Used to Design Sequential Circuits.
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.
Design and Synthesis of a RISC Stored-Program Machine
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Computer Science 210 Computer Organization The Instruction Execution Cycle.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
TEAM 1: Miguel Harmant Rodney Rodriguez Elias Crespo Javier Parra Alfredo Alonso Marc-Wayne Anglin.
4-1 Chapter 4 - The Instruction Set Architecture Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring.
4-1 Chapter 4 - The Instruction Set Architecture Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of.
Introduction to Computer Organization and Architecture Micro Program ภาษาเครื่อง ไมโครโปรแกรม.
6-1 Chapter 6 - Datapath and Control Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of.
EXECUTION OF COMPLETE INSTRUCTION
EEC4133 Computer Organization & Architecture Chapter 6: Languages and the Machine by Muhazam Mustapha, May 2014.
4-1 Chapter 4 - The Instruction Set Architecture Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
Chapter 4 MARIE: An Introduction to a Simple Computer.
The Central Processing Unit (CPU) and the Machine Cycle.
4-1 Chapter 4 - The Instruction Set Architecture Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles.
Computer Architecture And Organization UNIT-II General System Architecture.
Chapter 2 Data Manipulation Yonsei University 1 st Semester, 2015 Sanghyun Park.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
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.
5-1 Chapter 5 - Datapath and Control Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring Computer Architecture.
COMPUTER ORGANISATION I HIGHER STILL Computing Computer Systems Higher Marr College Computing Department 2002.
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
EEC4133 Computer Organization & Architecture Chapter 7: Memory by Muhazam Mustapha, April 2014.
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.
CMSC 104, Lecture 061 Stored Programs A look at how programs are executed.
EEE2243 Digital System Design Chapter 10: Advanced Topic: Programmable Processor by Muhazam Mustapha extracted from Frank Vahid’s slides, May 2012.
M211 – Central Processing Unit
Jeremy R. Johnson William M. Mongan
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Copyright © 2005 – Curt Hill MicroProgramming Programming at a different level.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Basic Computer Organization and Design
Today’s Agenda Exam 2 Part 2 (11:15am-12:30pm)
Control Unit Lecture 6.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Computer Architecture and Organization Miles Murdocca and Vincent Heuring Chapter 4 – The Instruction Set Architecture.
Overview Instruction Codes Computer Registers Computer Instructions
Processor Organization and Architecture
The fetch-execute cycle
Figure 8.1 Architecture of a Simple Computer System.
Figure 8.1 Architecture of a Simple Computer System.
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
The Processor Lecture 3.1: Introduction & Logic Design Conventions
A Discussion on Assemblers
A Top-Level View Of Computer Function And Interconnection
Instruction execution and ALU
Sec (2.3) Program Execution.
Presentation transcript:

EEC4133 Computer Organization & Architecture Chapter 5: Datapath & Control by Muhazam Mustapha, April 2014

Learning Outcome By the end of this chapter, students are expected to be able to understand and explain the components and controls of a microprocessor’s datapath system Most of the material in this slide set is adopted from Murdocca & Heuring 2007

Chapter Content Basics of the Microarchitecture Microprocessor Datapath Microprocessor Cycle Control –Microprogramming –Hardwiring

Basics of Microarchitecture

The Fetch-Execute Cycle The steps that the control unit carries out in executing a program are: –Fetch the next instruction to be executed from memory –Decode the opcode –Read operand(s) from main memory, if any –Execute the instruction and store results, if any –Go to first step (fetch)

The Fetch-Execute Cycle Fetch Decode Load Operands Execute

Microprocessor Datapath

The microarchitecture consists of the control unit and the programmer-visible registers, functional units such as the ALU, and any additional registers that may be required by the control unit These are basically the datapath of the microprocessor High Level View of Microarchitecture

A More Detailed View

Microprocessor Cycle Control

Flow of user’s application is controlled by assembly program Flow of fetch-execute cycle is controlled by microprogram –One of the way to control the flow of fetch- cycle is by microprogramming – the other way is by hardwiring Control Unit internal circuitry runs microprograms transparently Microprogram

[Definition] Microprogramming is the scheme to control the control unit (CU) of a microprocessor in running fetch-execute cycle by having assembly like instructions With microprogram CU directs the flow of data in the datapath Microprogramming has instruction set just like assembly language, but it is FIXED for executing certain assembly instruction Microprogram

Example of microprogram: Microprogram

Since the pattern of the execution of fetch- execute cycle is short and almost similar from one assembly instruction to another, often times there are many repeated patterns in the microprogram These repeated patterns in microprograms are coded as nanoprograms Nanoprogram

Hence during the actual fetch-execute cycle, the nanoprograms are being executed in place of microprograms when the repetitions are encountered [Definition] Nanoprogramming is the scheme to replace the repeated sequences in microprogramming with one single instruction Nanoprogram

[Definition] Hardwiring is the scheme to control the control unit (CU) of a microprocessor in running fetch-execute cycle by having dedicated circuitry that performs the proper state machine to direct the data flow through the microprocessor’s datapath Hardwire

Hardwiring is done by designing the circuit using an HDL The HDL will define how the CU should direct the data flow in the datapath based on the input from the datapath Hardwire

Example of HDL defining CU: Hardwire

Example of the resulting circuit: Hardwire