看板 Grad-ProbAsk 關於我們 聯絡資訊
https://imgur.com/HKMQVGP 寫了這ㄧ題發現不懂 five classic component Google 了一下 知道 five classic component 是 input output memory datapath control 然後 datapath + control 是 CPU 看了英文敘述 還是不太懂 datapath 跟 control 是做什麼用的 附上我看到的敘述 Datapath: The component of the processor that performs arithmetic operation Control: The component of the processor that commands the datapath, memory, and I/O devices according to the instrutions of the program 麻煩知道大神幫我解惑一下 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.239.66.88 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1548785200.A.63D.html
S2067030: Data path你把他想成 例如你執行一個 add指令,你會用01/30 02:40
S2067030: 到哪些元件? reg file啊 或者是ALU這些 完整的路徑 就01/30 02:40
S2067030: 是他的Datapath 每種指令的Datapath都不太一樣01/30 02:40
S2067030: 至於Control 你把他想成,因為很多時候在電腦管線內都是01/30 02:42
S2067030: 多對一 由一個多工器決定讓哪邊的資料通過,或者是 現在01/30 02:42
S2067030: Mem單元 sw在執行,那mem write這根信號線就要設成1才可01/30 02:42
S2067030: 以寫入,control單元就是在做這種事情,控制各個多工器01/30 02:42
S2067030: ,或者給各個主要單元設定0/1 類似控制權限的感覺01/30 02:42
skyHuan: 就是計組第四章畫的那些!01/30 09:33
imadog: datapath是管線的身體 control unit是大腦01/30 11:03
imadog: 所以flush指令就是大腦空掉了 control全部設0 (by張凡)01/30 11:04
imadog: 像你原文寫的 datapath做運算 control告訴它該做什麼運算01/30 11:06
感謝各位 ※ 編輯: dumpling1234 (42.77.145.166), 01/31/2019 13:21:31