[理工] 交大 107 記系 2 classic componets

看板Grad-ProbAsk作者 (dumpling)時間5年前 (2019/01/30 02:06), 5年前編輯推噓4(408)
留言12則, 3人參與, 5年前最新討論串1/2 (看更多)
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

01/30 02:40, 5年前 , 1F
Data path你把他想成 例如你執行一個 add指令,你會用
01/30 02:40, 1F

01/30 02:40, 5年前 , 2F
到哪些元件? reg file啊 或者是ALU這些 完整的路徑 就
01/30 02:40, 2F

01/30 02:40, 5年前 , 3F
是他的Datapath 每種指令的Datapath都不太一樣
01/30 02:40, 3F

01/30 02:42, 5年前 , 4F
至於Control 你把他想成,因為很多時候在電腦管線內都是
01/30 02:42, 4F

01/30 02:42, 5年前 , 5F
多對一 由一個多工器決定讓哪邊的資料通過,或者是 現在
01/30 02:42, 5F

01/30 02:42, 5年前 , 6F
Mem單元 sw在執行,那mem write這根信號線就要設成1才可
01/30 02:42, 6F

01/30 02:42, 5年前 , 7F
以寫入,control單元就是在做這種事情,控制各個多工器
01/30 02:42, 7F

01/30 02:42, 5年前 , 8F
,或者給各個主要單元設定0/1 類似控制權限的感覺
01/30 02:42, 8F

01/30 09:33, 5年前 , 9F
就是計組第四章畫的那些!
01/30 09:33, 9F

01/30 11:03, 5年前 , 10F
datapath是管線的身體 control unit是大腦
01/30 11:03, 10F

01/30 11:04, 5年前 , 11F
所以flush指令就是大腦空掉了 control全部設0 (by張凡)
01/30 11:04, 11F

01/30 11:06, 5年前 , 12F
像你原文寫的 datapath做運算 control告訴它該做什麼運算
01/30 11:06, 12F
感謝各位 ※ 編輯: dumpling1234 (42.77.145.166), 01/31/2019 13:21:31
文章代碼(AID): #1SK9OmOz (Grad-ProbAsk)
文章代碼(AID): #1SK9OmOz (Grad-ProbAsk)