Computer System Design Lecture 5

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Multicycle Datapath & Control Andreas Klappenecker CPSC321 Computer Architecture.
CS152 Lec9.1 CS152 Computer Architecture and Engineering Lecture 9 Designing Single Cycle Control.
CS61C L26 Single Cycle CPU Datapath II (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Savio Chau Single Cycle Controller Design Last Time: Discussed the Designing of a Single Cycle Datapath Control Datapath Memory Processor (CPU) Input Output.
The Control Unit. The Instruction Register The Instruction Formats The Register Type (R type) Fields AND RD, RS, RT -- #and(RS,RT) -> RD.
Computer ArchitectureFall 2007 © October 3rd, 2007 Majd F. Sakr CS-447– Computer Architecture.
ECE 232 L13. Control.1 ©UCB, DAP’ 97 ECE 232 Hardware Organization and Design Lecture 13 Control Design
10/18/2005Comp 120 Fall October Questions? Instruction Execution.
Computer Structure - Datapath and Control Goal: Design a Datapath  We will design the datapath of a processor that includes a subset of the MIPS instruction.
Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.
CS 61C L17 Control (1) A Carle, Summer 2006 © UCB inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #17: CPU Design II – Control
CS61C L26 CPU Design : Designing a Single-Cycle CPU II (1) Garcia, Fall 2006 © UCB Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
361 control Computer Architecture Lecture 9: Designing Single Cycle Control.
CS61C L26 CPU Design : Designing a Single-Cycle CPU II (1) Garcia, Spring 2010 © UCB inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures.
CS61C L27 Single Cycle CPU Control (1) Garcia, Fall 2006 © UCB Wireless High Definition?  Several companies will be working on a “WirelessHD” standard,
Chapter 4 Sections 4.1 – 4.4 Appendix D.1 and D.2 Dr. Iyad F. Jafar Basic MIPS Architecture: Single-Cycle Datapath and Control.
IT253: Computer Organization Lecture 10: Making a Processor: Control Signals Tonga Institute of Higher Education.
Computer Organization CS224 Fall 2012 Lesson 26. Summary of Control Signals addsuborilwswbeqj RegDst ALUSrc MemtoReg RegWrite MemWrite Branch Jump ExtOp.
Processor: Datapath and Control
EEM 486: Computer Architecture Designing Single Cycle Control.
EEM 486: Computer Architecture Designing a Single Cycle Datapath.
IT253: Computer Organization Lecture 9: Making a Processor: Single-Cycle Processor Design Tonga Institute of Higher Education.
CPE 442 single-cycle datapath.1 Intro. To Computer Architecture CpE242 Computer Architecture and Engineering Designing a Single Cycle Datapath.
W.S Computer System Design Lecture 4 Wannarat Suntiamorntut.
Datapath and Control Unit Design
CS3350B Computer Architecture Winter 2015 Lecture 5.7: Single-Cycle CPU: Datapath Control (Part 2) Marc Moreno Maza [Adapted.
1. Building A CPU  We’ve built a small ALU l Add, Subtract, SLT, And, Or l Could figure out Multiply and Divide  What about the rest l How do.
By Wannarat Computer System Design Lecture 4 Wannarat Suntiamorntut.
Chapter 4 From: Dr. Iyad F. Jafar Basic MIPS Architecture: Single-Cycle Datapath and Control.
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
EEM 486: Computer Architecture Lecture 3 Designing Single Cycle Control.
Single Cycle Controller Design
MIPS Processor.

Designing a Single-Cycle Processor
IT 251 Computer Organization and Architecture
Five Execution Steps Instruction Fetch
MIPS Instructions.
Processor Architecture: Introduction to RISC Datapath (MIPS and Nios II) CSCE 230.
Prof. Sirer CS 316 Cornell University
ECS 154B Computer Architecture II Spring 2009
Processor (I).
Design of the Control Unit for Single-Cycle Instruction Execution
CSCI206 - Computer Organization & Programming
CSCI206 - Computer Organization & Programming
MIPS Processor.
Datapath & Control MIPS
Rocky K. C. Chang 6 November 2017
Composing the Elements
Composing the Elements
The Processor Lecture 3.2: Building a Datapath with Control
An Introduction to pipelining
Multicycle Approach We will be reusing functional units
Datapath: Instruction Store/Fetch & PC Increment
COMS 361 Computer Organization
Computer System Design Lecture 6
Lecture 14: Single Cycle MIPS Processor
Access the Instruction from Memory
Multicycle Design.
Prof. Sirer CS 316 Cornell University
CSC3050 – Computer Architecture
Review Fig 4.15 page 320 / Fig page 322
Computer System Design Lecture 5
Data Path Diagrams.
Instructors: Randy H. Katz David A. Patterson
COMS 361 Computer Organization
What You Will Learn In Next Few Sets of Lectures
MIPS Processor.
Processor: Datapath and Control
Presentation transcript:

241-440 Computer System Design Lecture 5 Wannarat Suntiamorntut 241-440 @ W.S.

Part II: Control Path for (Single Cycle) 241-440 @ W.S.

Outline Control for Register-Register Or Immediate Instructions Control Signal for Load/Store Branch Jump Local control : ALU control Main control 241-440 @ W.S.

Single Cycle Datapath 241-440 @ W.S.

Add Instruction Add rd, rs, rt - Mem[PC] - R[rd] <= R[rs] + R[rt] - PC = PC + 4 241-440 @ W.S.

Fetch Unit : Add 241-440 @ W.S.

Single Cycle Datapath : Add 241-440 @ W.S.

Fetch Unit : End of Add 241-440 @ W.S.

Single Cycle Datapath : Immed. 241-440 @ W.S.

Single Cycle Datapath : Immed. 241-440 @ W.S.

Single Cycle Datapath : Load 241-440 @ W.S.

Single Cycle Datapath : Store 241-440 @ W.S.

Single Cycle Datapath : Branch 241-440 @ W.S.

End of Branch instruction 241-440 @ W.S.

Summary of Control Signal 241-440 @ W.S.

Table of summary control signal 241-440 @ W.S.

Concept of Logical Control 241-440 @ W.S.

Decode of “func” Field 241-440 @ W.S.

241-440 @ W.S.

Truth Table for Main Control 241-440 @ W.S.

Put It Together 241-440 @ W.S.

Worst Case timing Load 241-440 @ W.S.

Next on Lecture 6 241-440 @ W.S.