IorD 控制信号在 MIPS 中

huangapple go评论46阅读模式
英文:

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.

IorD 控制信号在 MIPS 中

答案1

得分: 1

这个特定的MIPS数据通路图显示了一个用于指令和数据的共享内存。

在上面的设计中,由于内存用于同时存储指令和数据,因此需要一个控制信号来告诉多路选择器(mux)应该使用哪个地址进行内存访问,无论是PC(用于指令获取)还是ALUOut(用于数据访问),因此有了IorD

另一种替代设计(更常见的设计)是分离的指令内存和数据内存。当指令内存和数据内存分开时,就不再需要IorD多路选择器的控制信号,因为指令内存始终使用PC作为地址,而数据内存始终使用ALUOut作为地址。数据内存仍然需要MemReadMemWrite信号。您可以通过搜索“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.

huangapple
  • 本文由 发表于 2023年2月8日 17:41:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/75383845.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定