英文:
IorD Control Signal in MIPS
问题
控制信号为什么被称为IorD?这个名称代表什么?
找不到关于这个的任何文档。
英文:
Why is the control signal called IorD? What does the name stand for?
Couldn't find any documentation about this.
答案1
得分: 1
这个特定的MIPS数据通路图显示了一个用于指令和数据的共享内存。
在上面的设计中,由于内存用于同时存储指令和数据,因此需要一个控制信号来告诉多路选择器(mux)应该使用哪个地址进行内存访问,无论是PC
(用于指令获取)还是ALUOut
(用于数据访问),因此有了IorD
。
另一种替代设计(更常见的设计)是分离的指令内存和数据内存。当指令内存和数据内存分开时,就不再需要IorD
多路选择器的控制信号,因为指令内存始终使用PC
作为地址,而数据内存始终使用ALUOut
作为地址。数据内存仍然需要MemRead
和MemWrite
信号。您可以通过搜索“MIPS单周期数据通路”来查找相关图像。
英文:
This particular MIPS datapath diagram shows a shared memory used for both instructions and data.
In the above design, since the memory is shared for both instructions and data, there needs to be a control that tells that mux which address to use for a memory access, whether PC
(Instruction fetch) or ALUOut
(Data access) — hence IorD
.
An alternative (a more popular design) has separate Instruction Memory and Data Memory. When the Instruction Memory and Data Memory are separated, there is no need for a IorD
mux control signal because the Instruction Memory always sources PC
for the address and the Data Memory always sources ALUOut
for the address. (MemRead
and MemWrite
are still necessary for the Data Memory.) You can see this by searching for "MIPS single cycle datapath" for images.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论