[計組]101台聯大 pipeline

作者: king8313   2017-11-11 11:53:38
https://i.imgur.com/eMY1p3N.jpg
請問一下第一題,要算出最長的stage耗時。從我抄的筆記上如果沒錯的話看起來應該是E
X stage(75ps)
但是題目最後一行寫說register write occur at the end of the clock cycle,我感覺
是要在算完每個stage的components後再加上寫入pipeline register保存的時間,
但這樣的話IF stage就是 15+50+15=80
想請問pipeline register的時間要怎麼看是算在stage中的前還是後
作者: aqw0960aqw (Spencer121)   2017-11-15 11:44:00
最後一行的意思是暫存器會在cycle最後才寫入,而課本一般都假設暫存器前半週寫,後半週期讀,所以會產生額外的hazard要再重新trace一次路徑較好不過你問的這小題好像跟register write occur at theend of the clock cycle沒啥關係IFstage是50+15,前面那根pipeline reg是屬於前一個stage的,這個stage不會去寫到

Links booklink

Contact Us: admin [ a t ] ucptt.com