Other DataPath designs: Microprogrammed and pipelined datapaths

Slides:



Advertisements
Similar presentations
Control Unit Implemntation
Advertisements

6-1 Chapter 6 - Datapath and Control Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of Computer Architecture.
Adding the Jump Instruction
CS364 CH16 Control Unit Operation
CS1104: Computer Organisation School of Computing National University of Singapore.
1 ITCS 3181 Logic and Computer Systems B. Wilkinson Slides9.ppt Modification date: March 30, 2015 Processor Design.
1 Datapath and Control (Multicycle datapath) CDA 3101 Discussion Section 11.
CS-447– Computer Architecture Lecture 12 Multiple Cycle Datapath
CS364 CH17 Micro-programmed Control
Microprogramming Andreas Klappenecker CPSC321 Computer Architecture.
1 COMP541 Sequencing – III (Sequencing a Computer) Montek Singh April 9, 2007.
Lec 17 Nov 2 Chapter 4 – CPU design data path design control logic design single-cycle CPU performance limitations of single cycle CPU multi-cycle CPU.
Lecture 16: Basic CPU Design
Chapter 6 Memory and Programmable Logic Devices
Lecture 24: CPU Design Today’s topic –Multi-Cycle ALU –Introduction to Pipelining 1.
Lecture 8 Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Chapter 5 Basic Processing Unit
Computer Science 210 Computer Organization The von Neumann Architecture.
Lab 8: A Calculator Using Stack Memory
Instructor: Yuzhuang Hu Midterm The midterm is schedule on June 17 th, 17:30-19:30 pm. It covers the following:  VHDL Programming. 
Multiple-Cycle Hardwired Control Digital Logic Design Instructor: Kasım Sinan YILDIRIM.
Chap. 8 Sequencing and Control A Simple Computer Architecture A Simple Computer Architecture Single-Cycle Hardwired Control Single-Cycle Hardwired Control.
ECE 445 – Computer Organization
TEAM FRONT END ECEN 4243 Digital Computer Design.
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
CPU Overview Computer Organization II 1 February 2009 © McQuain & Ribbens Introduction CPU performance factors – Instruction count n Determined.
1 COMP541 Datapaths I Montek Singh Mar 8, Topics  Over next 2/3 classes: datapaths  Basic register operations Book sections 7-2 to 7-6 and 7-8.
Lecture 15: Pipelined Datapath Soon Tee Teoh CS 147.
Jeremy R. Johnson William M. Mongan
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
Design of Digital Circuits Lecture 14: Microprogramming
CS161 – Design and Architecture of Computer Systems
CS 270: Mathematical Foundations of Computer Science
Computer Organization and Architecture + Networks
CS161 – Design and Architecture of Computer Systems
CSCI206 - Computer Organization & Programming
Lecture 16: Basic Pipelining
Computer Science 210 Computer Organization
Performance of Single-cycle Design
Introduction CPU performance factors
Lecture on Microcomputer
Morgan Kaufmann Publishers The Processor
Morgan Kaufmann Publishers
Overview Instruction Codes Computer Registers Computer Instructions
The fetch-execute cycle
Lecture 16: Basic Pipelining
Computer Science 210 Computer Organization
Basic Processing Unit Unit- 7 Engineered for Tomorrow CSE, MVJCE.
Computer Organization “Central” Processing Unit (CPU)
Lecture 5: Pipelining Basics
Computer Structure S.Abinash 11/29/ _02.
CSCI206 - Computer Organization & Programming
Team A.W.E.S.O.M.- O 4000 February 13, 2007.
Drawbacks of single cycle implementation
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Rocky K. C. Chang 6 November 2017
The Little Man Computer
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Computer Architecture
Data Dependence Distances
COMP541 Datapaths I Montek Singh Mar 18, 2010.
Other DataPath designs: Microprogrammed and pipelined datapaths
Today: a look to the future
Introduction to Computer Organization and Architecture
William Stallings Computer Organization and Architecture
A relevant question Assuming you’ve got: One washer (takes 30 minutes)
CS161 – Design and Architecture of Computer Systems
Presentation transcript:

Other DataPath designs: Microprogrammed and pipelined datapaths Laxmikant Kale http://charm.cs.uiuc.edu Parallel Programming Laboratory Department of Computer Science University of Illinois at Urbana Champaign 9/20/2018 cs231Kale

Problems with our datapath Other than the obvious: need more registers, more bits in each register (and therefore in datapath) The clock cycle time is contrained by the longest possible instruction execution time. Solution: break an instruction execution into multiple cycles Bucket brigade: pipelined datapath Microprogrammed datapath Access PC 1 ns Instruction Memory 4 ns Register read 3 ns MUX B ALU or Memory MUX D Register write 9/20/2018 cs231Kale

A Microprogrammed Datapath The datapath we worked with for the past few weeks was just an example We will look at another datapath today To emphasize that alternate designs are possible To show an example where each instruction takes multiple cycles to finish To show a different way of generating control signals Material is not based on the book Used to be in the older version.. For the exam: Basic understanding of the slides, and section 8-7 (of the 3rd edition) Follow the web link there if you are interested 9/20/2018 cs231Kale

Why multiple cycles? Wouldn’t it be slower? Not necessarily: if each clock cycle can be made shorter Variable number of cycles for instructions (some 2, some 5) 9/20/2018 cs231Kale

Let us use one memory module New Datapath Let us use one memory module for both data and instructions Allow for multiple cycles for each instruction 9/20/2018 cs231Kale

IR: Instruction Register PC IR: Instruction Register Register File MUX B MUX M ALU Memory Data In Address Data Out MUX D 9/20/2018 cs231Kale

How to generate contol signals Consequence of this datapath: Needs a cycle to fetch instruction from memory Control word: the set of control signals In our older datapath: Control word was determined fully by the instruction Here: It depends on instruction and on which cycle within the instruction we are in Example: 9/20/2018 cs231Kale

Generating control: sequential circuit IR: Instruction Register Control Unit Control word Cycle Counter 9/20/2018 cs231Kale

Generating Control:Microprogram Memory IR: Instruction Register Microprogram Memory Control word Next MicroInstruction Address MicroProgram Counter 9/20/2018 cs231Kale

9/20/2018 cs231Kale

Pipelined datapath Simplified scenario: 4 step assembly line Instruction Fetch Operand Fetch Execution of operation Writeback Although total time for each instruction to finish is the same (or slightly larger) The unit as a whole processes more instructions per unit time Just as in assembly of a car More on this in CS 232 and beyond 9/20/2018 cs231Kale