[理工] 計組99交大資聯 Datapath問題

作者: clonsey1314 (Clonsey)   2017-09-07 14:29:21
In a single-cycle datapath design of MIPS architecture, which of the following description is correct?
(a) The data flow of R-type instructions does not go through the data ememory.
(b) The data flow of SW goes through all components in a clock cycle.
(c) The data flow of LW goes through all components at most once in a clock cycle.
(d) The data flow of J-type instructions goes through all components.
答案: (a) (b)
想問(b),SW的data flow如下圖

沒有經過branch的那個adder,那這樣應該就不是go through "all" components了吧?
另外想請問(c)錯是因為把data從Memory write back回Register File,這樣就會經過Register File"第二次",所以"at most once"是錯的,這樣子嗎?
圖片來源:
https://image.slidesharecdn.com/lec-12-15mipsinstructionsetprocessor-150916045626-lva1-app6892/95/lec-1215-mips-instruction-set-processor-24-638.jpg?cb=1442379456
作者: krusnoopy (push)   2017-09-07 14:38:00
component只包含PC、指令及資料Mem、ALU、register五個(c)的部分你說的沒錯
作者: clonsey1314 (Clonsey)   2017-09-07 14:51:00
原來如此! 謝謝解釋

Links booklink

Contact Us: admin [ a t ] ucptt.com