作者Transfat (Transfat)
看板Grad-ProbAsk
標題[理工] ALUsrc
時間Sat Jan 7 17:05:14 2017
For single-cycle MIPS,
「If the control signal ALUsrc is sutck on 0, insturctions lw, sw, and beq may
fail to run correctly.」
這敘述錯在哪啊?ALUsrc設為0, 會讓readdata2資料出來,可是lw要去ALU的資料是
SE(imm16), 所以lw和sw的ALUsrc不都要設為1, 如果stuck on 0就會造成錯誤(?)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.25.105
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1483779916.A.6BE.html
→ Transfat: 打錯字了,不是se是sw 01/07 17:05
※ 編輯: Transfat (140.112.25.105), 01/07/2017 17:05:57
推 darren0831: beq不會錯吧 01/07 17:11
→ Transfat: 懂了Q 01/07 17:17