Datapath - PowerPoint PPT Presentation

About This Presentation
Title:

Datapath

Description:

register. written. So, the clock needs to be at least 10 200 50 100 10 = 370ps ... that the register is written and stable only after the next rising edge of ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 12
Provided by: zhen6
Learn more at: http://www.cs.fsu.edu
Category:

less

Transcript and Presenter's Notes

Title: Datapath


1
Datapath
2
Designing a processor for R-type, memory, and
branch operations
3
Datapath for Memory, R-type and Branch
Instructions
4
Datapath in Operation for an R-type Instruction
add t1, t2, t3
5
Datapath in Operation for a Load Instruction
lw t1, offset(t2)
6
Datapath in Operation for a Store Instruction
7
Datapath for beq
8
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

9
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?

10
lw
  • So, the clock needs to be at least
    102005010020010 570ps

11
beq
  • So, it is 102005010010 370ps
Write a Comment
User Comments (0)
About PowerShow.com