看板 Grad-ProbAsk 關於我們 聯絡資訊
※ 引述《florenceL (佛羅倫斯)》之銘言: : Assume that logic blocks needed to implement the datapath have the following : latencies: (Delays for other components are ignored. ) : __________________________________________________________ : I-Mem Add Mux ALU Regs D-Mem Sign-Ext shift-left2 : __________________________________________________________ : 400 100 40 120 200 350 20 10 : Compute the required delay time for each instruction and determine the minimum : cycle time of the computer. : 張凡給的答案: : add: 400 +200+ 40+ 120+ 40+ 200 = 1000 : I-Mem Regs Mux ALU Mux Regs(WB) : 我的問題1: : 為什麼 regDst這個Mux 不用考慮? : 記得好像說是因為兩條路,一個有Mux一個沒有 : 可是ALuSrc這個Mux前面不是也是兩條路,一個有Mux一個沒有?但是ALuSrc這個Mux : 卻要考慮? : 我的問題2: : 課本習題的這題好像不用考慮WB的時間, : 為什麼交大這一題需要考慮? 借一下標題~ 想請問同一題的beq 答案是: beq: 400 +200+ 40+ 120 = 760 疑惑的是beq不是還要再考慮ALU做完,AND(Zero,Branch)後面的MUX?? 所以應該寫成 400+200+120+ 40 =800 (我的想法) 麻煩解惑了~ 資料途徑圖 http://ppt.cc/tV_b -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 1.172.112.194 ※ 編輯: yyy15748 來自: 1.172.112.194 (01/25 14:16)
ezWang:800沒錯 01/25 14:20
BuliBuchi:老問題 你的解答就是舊版的XD 新版改成800了 01/25 14:22
BaaaSwin:如果圖上面有jump還得+一個mux 01/25 14:22
yyy15748:QQ 謝謝解惑,我還特地去找了一下多工器是怎麼跑的XD 01/25 14:27