为什么写被认为是输入操作而读被认为是输出操作?
Why is writing considered an input operation and reading considered an output operation?
我目前正在研究计算机系统:程序员的视角 3,在第 4 章中,他们始终将 Y86 处理器中的读取操作称为从各种 CPU 组件输出,而我不不明白为什么。我们当然想要输入数据从内存到硬件组件?
这里引用了文本中的一段话和一张图表:
The Register file has four ports. It supports up to two simultaneous
reads (on ports A and B) and two simultaneous writes (on ports E and
M). Each port has both an address connection and a data connection,
where the address connection is a register ID, and the data connection
is a set of 64 wires serving as either an output word (for a read
port) or an input word (for a write port) of the register file.
此对应关系已通过正文保持一致
只是角度问题:
读取端口:可以读取的端口:即数据将从寄存器文件流向读取实体,因此从寄存器文件实现的角度来看,数据连接是输出线。
我目前正在研究计算机系统:程序员的视角 3,在第 4 章中,他们始终将 Y86 处理器中的读取操作称为从各种 CPU 组件输出,而我不不明白为什么。我们当然想要输入数据从内存到硬件组件?
这里引用了文本中的一段话和一张图表:
The Register file has four ports. It supports up to two simultaneous reads (on ports A and B) and two simultaneous writes (on ports E and M). Each port has both an address connection and a data connection, where the address connection is a register ID, and the data connection is a set of 64 wires serving as either an output word (for a read port) or an input word (for a write port) of the register file.
此对应关系已通过正文保持一致
只是角度问题:
读取端口:可以读取的端口:即数据将从寄存器文件流向读取实体,因此从寄存器文件实现的角度来看,数据连接是输出线。