1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MIPS Pipelining help

  1. Mar 11, 2017 #1
    1. The problem statement, all variables and given/known data
    Assembly Code:
    LW R1, 0(R2)
    add R4, R3, R1
    add R3, R1, R4
    What are the dependencies
    Fill the pipelining timeline if:
    a. There is forwarding
    b. There is no forwarding

    2. Relevant equations
    N/A

    3. The attempt at a solution
    With forwarding attempt:
    A7YtB.png
    Without forwarding attempt:
    9l320.png
    Am I filling the pipelining timeline correctly?
     
  2. jcsd
  3. Mar 12, 2017 #2

    Mark44

    Staff: Mentor

    Are you working from a textbook? There are only two that I am aware of: "MIPS Assembly Language Programming," by Robert Britton, and "Computer Organization and Design: The Hardware/Software Interface," by Patterson and Hennessey. Chapter 10 in the Britton book, which I have, discusses pipelined implementations. I don't have the other book, so can't comment on it.
    As far as your question, I'm in the process of learning MIPS programming, but I'm not up to speed on the forwarding business just yet.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: MIPS Pipelining help
  1. Mips subroutines (Replies: 1)

  2. MIPS help (Replies: 1)

Loading...