[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 757
  • Last Modified:

pipeline datapath and instruction dependency

I am asked to identify the dependencies between these instructions for a pipelined datapath

I can see that there's 3 dependencies here..

instruction in line 2 & 3
instruction in line 4 & 5
instruction in line 9 & 10

assuming that we number the instructions from 1 at the start of the line... is this true?
instruction.png
0
kuntilanak
Asked:
kuntilanak
  • 3
  • 3
1 Solution
 
CallandorCommented:
I assume dependencies in pipelined datapaths means the second instruction has to wait for the first to finish?
What does line 6 do?  Is it dependendent on what happens in line 5?
0
 
kuntilanakAuthor Commented:
you are right about dependencies

oh yes... the store word depends on the add as well... I missed that... any other dependencies?
0
 
CallandorCommented:
How about the BNE instruction - doesn't it depend on the contents of the registers?
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
kuntilanakAuthor Commented:
well yes it depends on the register $4 and $0, but those two registers don't cause a problem
0
 
CallandorCommented:
Ok, then I think your question is resolved.
0
 
kuntilanakAuthor Commented:
also the add and the sw doesn't seem to create a hazard as there is forwarding in the pipeline architecture
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now