Datapath in Operation for an Rtype Instruction - PowerPoint PPT Presentation

About This Presentation
Title:

Datapath in Operation for an Rtype Instruction

Description:

Memory access: 200ps. ALU and adders: 100 ps. Register file read: 50ps ... register. written. So, the clock needs to be at least 10 200 50 100 10 = 370ps ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 11
Provided by: Zhen67
Learn more at: http://www.cs.fsu.edu
Category:

less

Transcript and Presenter's Notes

Title: Datapath in Operation for an Rtype Instruction


1
(No Transcript)
2
Datapath in Operation for an R-type Instruction
add t1, t2, t3
3
Datapath in Operation for a Load Instruction
lw t1, offset(t2)
4
Datapath in Operation for a Store Instruction
5
Datapath for beq
6
Performance
  • Assume that
  • Memory access 200ps
  • ALU and adders 100 ps
  • Register file read 50ps
  • Register file write 50ps (the clk-to-q delay)
  • PC update 10ps (the clk-to-q delay)
  • The setup time of DFFs 10ps
  • Other parts do not have delay
  • How fast is
  • An R-type instruction?
  • A lw instruction?
  • A sw instruction?
  • A beq instruction?
  • Need to find the critical path the longest path

7
R-type
  • So, the clock needs to be at least
    102005010010 370ps
  • Will there be a problem if the next instruction
    is also an R-type instruction, considering that
    the register is written and stable only after the
    next rising edge of the clock?
  • Figure not to the exact scale

8
lw
  • So, the clock needs to be at least
    102005010020010 570ps
  • Figure not to the exact scale

9
beq
  • So, it is 102005010010 370ps
  • Figure not to the exact scale

10
Clock cycle
  • So, how long should the clock cycle be?
  • Is it efficient?
Write a Comment
User Comments (0)
About PowerShow.com