作者dumpling1234 (dumpling)
看板Grad-ProbAsk
标题[理工] 交大 107 记系 2 classic componets
时间Wed Jan 30 02:06:37 2019
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://webptt.com/cn.aspx?n=bbs/Grad-ProbAsk/M.1548785200.A.63D.html
1F:推 S2067030: Data path你把他想成 例如你执行一个 add指令,你会用01/30 02:40
2F:→ S2067030: 到哪些元件? reg file啊 或者是ALU这些 完整的路径 就01/30 02:40
3F:→ S2067030: 是他的Datapath 每种指令的Datapath都不太一样01/30 02:40
4F:推 S2067030: 至於Control 你把他想成,因为很多时候在电脑管线内都是01/30 02:42
5F:→ S2067030: 多对一 由一个多工器决定让哪边的资料通过,或者是 现在01/30 02:42
6F:→ S2067030: Mem单元 sw在执行,那mem write这根信号线就要设成1才可01/30 02:42
7F:→ S2067030: 以写入,control单元就是在做这种事情,控制各个多工器01/30 02:42
8F:→ S2067030: ,或者给各个主要单元设定0/1 类似控制权限的感觉01/30 02:42
9F:推 skyHuan: 就是计组第四章画的那些!01/30 09:33
10F:推 imadog: datapath是管线的身体 control unit是大脑01/30 11:03
11F:→ imadog: 所以flush指令就是大脑空掉了 control全部设0 (by张凡)01/30 11:04
12F:→ imadog: 像你原文写的 datapath做运算 control告诉它该做什麽运算01/30 11:06
感谢各位
※ 编辑: dumpling1234 (42.77.145.166), 01/31/2019 13:21:31