第一讲 流水线数据通路与控制逻辑第二讲 流水线冒险处理第.ppt

第一讲 流水线数据通路与控制逻辑第二讲 流水线冒险处理第.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第一讲 流水线数据通路与控制逻辑第二讲 流水线冒险处理第

Here are the timing diagrams showing the differences between the single cycle, multiple cycle, and pipeline implementations. For example, in the pipeline implementation, we can finish executing the Load, Store, and R-type instruction sequence in seven cycles. In the multiple clock cycle implementation, however, we cannot start executing the store until Cycle 6 because we must wait for the load instruction to complete. Similarly, we cannot start the execution of the R-type instruction until the store instruction has completed its execution in Cycle 9. In the Single Cycle implementation, the cycle time is set to accommodate the longest instruction, the Load instruction. Consequently, the cycle time for the Single Cycle implementation can be five times longer than the multiple cycle implementation. But may be more importantly, since the cycle time has to be long enough for the load instruction, it is too long for the store instruction so the last part of the cycle here is wasted. +2 = 77 min. (X:57) The solution we have is to AND the write enable signal to the clock input. The Write Enable signal to register file or memory is probably the ONLY place where you as a logic designer can gate (AND) the clock with a control signal. This is the place where you need to take off your logic designer’s hat and put on an electrical engineer’s hat to make sure by ANDING the write enable signal to the clock signal, you are NOT violating any timing consideration. One obvious thing you should check is that the clock high time must be greater than the write access time because the C_WrEn signal will only be high during the clock high time. After the circuit designer have taken a good look at this block and make sure no timing constraint is violated, he or she will create a symbol like this and give it to the logic designer. And he probably will tell the logic designer something like: “Hey, don’t change anything in this block without first asking me.” The logic designer can then us

文档评论(0)

317960162 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档