CPU Design use pipeline

Slides:



Advertisements
Similar presentations
Pipeline Exceptions & ControlCSCE430/830 Pipelining in MIPS MIPS architecture was designed to be pipelined –Simple instruction format (makes IF, ID easy)
Advertisements

Pipeline Example: cycle 1 lw R10,9(R1) sub R11,R2, R3 and R12,R4, R5 or R13,R6, R7.
ELEN 468 Advanced Logic Design
{ CPU Design-Project CPU Design-Project Multicycle Datapath with Finite State Machine as Control Unit N.S.V Ravi Tej Uppu.
Savio Chau Single Cycle Controller Design Last Time: Discussed the Designing of a Single Cycle Datapath Control Datapath Memory Processor (CPU) Input Output.
Processor II CPSC 321 Andreas Klappenecker. Midterm 1 Tuesday, October 5 Thursday, October 7 Advantage: less material Disadvantage: less preparation time.
Copyright 1998 Morgan Kaufmann Publishers, Inc. All rights reserved. Digital Architectures1 Machine instructions execution steps (1) FETCH = Read the instruction.
The Datapath Andreas Klappenecker CPSC321 Computer Architecture.
EECC550 - Shaaban #1 Selected Chapter 5 For More Practice Exercises Winter The MIPS jump and link instruction, jal is used to support procedure.
©UCB CS 161Computer Architecture Chapter 5 Instructor: L.N. Bhuyan LECTURE 10.
Morgan Kaufmann Publishers Dr. Zhao Zhang Iowa State University
The Processor: Datapath & Control. Implementing Instructions Simplified instruction set memory-reference instructions: lw, sw arithmetic-logical instructions:
MIPS processor continued. In Class Exercise Question Show the datapath of a processor that supports only R-type and jr reg instructions.
EE 3755 Datapath Presented by Dr. Alexander Skavantzos.
PC Instruction Memory Address Instr. [31-0] 4 Fig 4.6 p 309 Instruction Fetch.
MIPS processor continued
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
Single Cycle Controller Design
Pipeline Processor Design Project Jarred Beck. Design Assumptions Three bit opcode This is to be able to address all of the 8k memory directly =
Morgan Kaufmann Publishers The Processor
Lecture 9. MIPS Processor Design – Single-Cycle Processor Design Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System.
Spr 2016, Mar 9... ELEC / Lecture 7 1 ELEC / Computer Architecture and Design Spring 2016 Pipeline Control and Performance.
Lecture 5. MIPS Processor Design
Computer Architecture Lecture 6.  Our implementation of the MIPS is simplified memory-reference instructions: lw, sw arithmetic-logical instructions:
ECE/CS 552: Single Cycle Control Path
Single-cycle CPU Control
Access the Instruction from Memory
EE204 Computer Architecture

MIPS Microarchitecture Single-Cycle Processor Control
Single Cycle CPU - Control
Computer Architecture
CSCI206 - Computer Organization & Programming
ELEN 468 Advanced Logic Design
Extensions to the Multicycle CPU
The Interconnect, Control, and Instruction Decoding
Single Cycle Processor
Discussion Session Week 10
MIPS processor continued
ADITI SHINDE CHIDAMBARAM ALAGAPPAN
Designing MIPS Processor (Single-Cycle) Presentation G
Instruction Execution in Simple Computer
SOLUTIONS CHAPTER 4.
CS/COE0447 Computer Organization & Assembly Language
Single-Cycle CPU DataPath.
CS/COE0447 Computer Organization & Assembly Language
CSCI206 - Computer Organization & Programming
CS/COE0447 Computer Organization & Assembly Language
CS/COE0447 Computer Organization & Assembly Language
Computer Architecture
Datapath & Control MIPS
CSCI206 - Computer Organization & Programming
Rocky K. C. Chang 6 November 2017
Composing the Elements
Composing the Elements
The Processor Lecture 3.2: Building a Datapath with Control
Lecture 9. MIPS Processor Design – Decoding and Execution
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Datapath and Control Exceptions
Data Path Diagrams.
MIPS processor continued
Introduction to Computer Organization and Architecture
CS/COE0447 Computer Organization & Assembly Language
Control Unit (single cycle implementation)
The Processor: Datapath & Control.
COMS 361 Computer Organization
MIPS Processor.
Processor: Datapath and Control
ELEC / Computer Architecture and Design Spring 2015 Pipeline Control and Performance (Chapter 6) Vishwani D. Agrawal James J. Danaher.
CS/COE0447 Computer Organization & Assembly Language
Presentation transcript:

CPU Design use pipeline Xiang Gao and Dongsheng Chen

Design choice Why pipeline Drawbacks of the pipeline design Pipeline would be faster then other choices No state machine No time difference Drawbacks of the pipeline design Without of Hazard detection unit and forwarding Relative address limitation 3 bits (-7 to 7) Jump and link (jal) needs more nops

Instruction type R types: Add, Sub, And, Or, Slt, nop Format R opcode(15-12) rs(11-8) rt(7-4) rd(3-0) I Imm(3-0) J address(11-0) R types: Add, Sub, And, Or, Slt, nop I types: lw, sw, beq, bne, Addi, Sll, J types: j, jr, jal

Control Unit Input: opcode(15-12) Output: branch_ctr, jump, Alu-src, M-wr, M_red, Mem to reg, Alu_op, reg_dst, branch, Reg_wr, Jal_wr Branch_ctr Control jump Alu_src M_wr 15-12 memtoreg Alu_op Reg_dst branch reg_wr Jal_wr

Control signal

Datapath

Simulation results

Test program

Simulation result

Question ?