TEAM FRONT END ECEN 4243 Digital Computer Design.

Slides:



Advertisements
Similar presentations
Adding the Jump Instruction
Advertisements

331 W08.1Spring :332:331 Computer Architecture and Assembly Language Spring 2006 Week 8: Datapath Design [Adapted from Dave Patterson’s UCB CS152.
The Processor: Datapath & Control
L14 – Control & Execution 1 Comp 411 – Fall /04/09 Control & Execution Finite State Machines for Control MIPS Execution.
Levels in Processor Design
Fall 2007 MIPS Datapath (Single Cycle and Multi-Cycle)
Computer ArchitectureFall 2007 © October 3rd, 2007 Majd F. Sakr CS-447– Computer Architecture.
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.
CS61C L25 CPU Design : Designing a Single-Cycle CPU (1) Garcia, Fall 2006 © UCB T-Mobile’s Wi-Fi / Cell phone  T-mobile just announced a new phone that.
The Processor 2 Andreas Klappenecker CPSC321 Computer Architecture.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicH: Building a Data Path and a Control Path for a Microprocessor José Nelson.
Chapter Five The Processor: Datapath and Control.
Inst.eecs.berkeley.edu/~cs61c UCB CS61C : Machine Structures Lecture 25 CPU design (of a single-cycle CPU) Intel is prototyping circuits that.
L15 – Control & Execution 1 Comp 411 – Spring /25/08 Control & Execution Finite State Machines for Control MIPS Execution.
Processor I CPSC 321 Andreas Klappenecker. Midterm 1 Thursday, October 7, during the regular class time Covers all material up to that point History MIPS.
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.
Chapter 5 Basic Processing Unit
CS3350B Computer Architecture Winter 2015 Lecture 5.6: Single-Cycle CPU: Datapath Control (Part 1) Marc Moreno Maza [Adapted.
COSC 3430 L08 Basic MIPS Architecture.1 COSC 3430 Computer Architecture Lecture 08 Processors Single cycle Datapath PH 3: Sections
Pipelined Datapath and Control
Processor: Datapath and Control
Computer Organization CS224 Fall 2012 Lesson 22. The Big Picture  The Five Classic Components of a Computer  Chapter 4 Topic: Processor Design Control.
ARM MIPS.  32 registers, each 32-bit wide. 30 are general purpose, R30(Hi) and R31(Low) are reserved for the results of long multiplication (64-bit.
ECE 445 – Computer Organization
EEM 486: Computer Architecture Designing a Single Cycle Datapath.
Computer Organization & Programming Chapter 6 Single Datapath CPU Architecture.
Electrical and Computer Engineering University of Cyprus LAB 2: MIPS.
CS2100 Computer Organisation The Processor: Datapath (AY2015/6) Semester 1.
Computer Architecture and Design – ECEN 350 Part 6 [Some slides adapted from A. Sprintson, M. Irwin, D. Paterson and others]
EECE 476: Computer Architecture Slide Set #5: Implementing Pipelining Tor Aamodt Slide background: Die photo of the MIPS R2000 (first commercial MIPS microprocessor)
W.S Computer System Design Lecture 4 Wannarat Suntiamorntut.
Team DataPath Research Computer Architechture. PC and IF in the Processor.
1 A single-cycle MIPS processor  An instruction set architecture is an interface that defines the hardware operations which are available to software.
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.
Microarchitecture. Outline Architecture vs. Microarchitecture Components MIPS Datapath 1.
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.
COM181 Computer Hardware Lecture 6: The MIPs CPU.
Chapter 4 From: Dr. Iyad F. Jafar Basic MIPS Architecture: Multi-Cycle Datapath and Control.
Computer Architecture Lecture 6.  Our implementation of the MIPS is simplified memory-reference instructions: lw, sw arithmetic-logical instructions:
Electrical and Computer Engineering University of Cyprus
Computer Architecture
Control & Execution Finite State Machines for Control MIPS Execution.
IT 251 Computer Organization and Architecture
Introduction CPU performance factors
ELEN 468 Advanced Logic Design
Instruction Format MIPS Instruction Set.
ECS 154B Computer Architecture II Spring 2009
CSCI206 - Computer Organization & Programming
Single-cycle datapath, slightly rearranged
Current Design.
Systems Architecture II
Levels in Processor Design
Rocky K. C. Chang 6 November 2017
Composing the Elements
Levels in Processor Design
Lecture 9. MIPS Processor Design – Decoding and Execution
COMS 361 Computer Organization
Levels in Processor Design
Instruction Format MIPS Instruction Set.
Levels in Processor Design
MIPS processor continued
Chapter 7 Microarchitecture
Chapter 7 Microarchitecture
Levels in Processor Design
The Processor: Datapath & Control.
COMS 361 Computer Organization
MIPS Pipelined Datapath
Processor: Datapath and Control
Presentation transcript:

TEAM FRONT END ECEN 4243 Digital Computer Design

What is MIPS? MIPS : Microprocessor without Interlocked Pipelined Stages developed in 1981 Reduced Instruction Set Computing (RISC) Can be single cycle or pipelined – We will be developing a 5 pipeline version 2

5 Stage Pipeline 3

Pipelined Datapath 4

Who is the Front End? 5

What is the Front End? The Front End is the first section that an instruction traverses on its way through the pipeline Made up of two pipeline stages – Instruction Fetch – Instruction Decode 6

Front End Stages: IF/ID Fetch 7

Instruction Fetch Pulls an instruction from memory Updates the PC based on the PCSrc control line 8

Front End Stages: ID Decode 9

Instruction Decode What’s in a MIPS Decode stage? – Definitely no decoding like x86 Register File Sign Extend Register Destination Mux 10

Read Ports Input: – Two Addresses: RR1 & RR2 Each 5 bit bus determines what register will show on its respective read port Asynchronous Reading Output: – Two data outputs: RD1 & RD2 32 bit register contents sent to execution Data is chosen from multiplexers using RS and RT as the respective control lines 11

Write Port Input – Write Address 5 bit address input from WB Stage goes into a 5 to 32 decoder – Write Data 32 bit word from WB Stage – Write Enable ANDed with decoder output so only 1 register is written Tells register that Write Address specifies to write the data on the negative edge 12

Summary Write Address (WA) is the input to the 5 to 32 decoder Write Enable (WE) ANDed with the output of the decoder and is the clock for the register Write Data (WD) is the data input to the registers Read Data 1 (RD1) is the 32 bit output of the mux controlled by RR1 Read Data 2 (RD2) is the 32 bit output of the mux controlled by RR2 The inputs for the muxes are all of the registers (32 32 bit registers, 1024 total in the register file) Asynchronous reads and synchronous writes 13

What is in a Register File? Note: Register 0 will be hard wired to always have the value 0 14

Other Components 16 to 32 bit sign extender – Copies bit 15 to bits 16 through 31 – Immediate values need to be 32 bits for ALU Reg Write Mux – Different types of instructions need to store to registers in different parts of the instruction – R-Type writes to $rd – I-Type writes to $rt – J-Type writes to $ra 15

Questions? 16