需要帮助向 MIPS 单周期数据路径添加功能吗?
我正在尝试向这些数据路径添加功能,以便它可以读取以下指令:
ADDNEW X, Y, Z
if (Y > Z) X = Y+ Z
else X = MEM[Y+Z]
不太确定在哪里开始..所以任何提示都会受到赞赏。我想我需要在某个地方重写 slt 的结果来告诉它走哪条路..但不确定如何?是的,用于家庭作业,所以不期待答案......只是希望有一个方向。谢谢..
第二个http://www.utdallas.edu/~cantrell/ee4304/Pipe-data+control.jpg
I'm trying to add functionality to these datapaths so that it can read the following instruction:
ADDNEW X, Y, Z
if (Y > Z) X = Y+ Z
else X = MEM[Y+Z]
Not really sure where to start.. so any hints are appreciated. I think I need to rewrite the result of the slt somewhere to tell it which way to go.. but not sure how? Yes is for homework so not expecting answers.. just hopefully a direction. Thank you..
second http://www.utdallas.edu/~cantrell/ee4304/Pipe-data+control.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
顶部设计为单循环,底部设计为流水线设计。
The top design is a single cycle and the bottom design is a pipeline design.