title: Register file forwarding in MIPS
body: <p>I am reading section 4.7 in in Computer Organization and Design: The Hardware/Software Interface on data forwarding. In the example given in the book, there is register file forwarding.(This is exactly how it appears in the book <a href="https://books.google.com/books?id=H7wxDQAAQBAJ&amp;pg=PA298&amp;lpg=PA298&amp;dq=register+file+forwarding&amp;source=bl&amp;ots=bCWJPrpl8V&amp;sig=9sFzV_jYbRHrEygK2nPM0RpdFIw&amp;hl=en&amp;sa=X&amp;ved=0ahUKEwickuPOzt_UAhWHxYMKHRKKB0gQ6AEIVTAJ#v=onepage&amp;q=register%20file%20forwarding&amp;f=false" rel="nofollow noreferrer">example</a>)</p>
  
  <p>Why do you need register file forwarding? Data in the register is written in the first half of the clock and read in the second half of the clock, so it should be safe without forwarding.  </p>
  
  <p>Just to clarify the example given in the link above: Left side shading of <code>Reg</code> means it being written into, right - being read from.</p>
  
  <p>Thanks !</p>