Multicycle conclusion coursecswashingtonedu结论coursescswashingtonedu多旋回.ppt

Multicycle conclusion coursecswashingtonedu结论coursescswashingtonedu多旋回.ppt

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

March 12, 2003 Multicycle conclusion My office hours, move to Mon or Wed? Plan: Pipelining this and next week, maybe performance analysis Today: Microprogramming Extending the multi-cycle datapath Multi-cycle performance The multicycle datapath Finite-state machine for the control unit Implementing the FSM This can be translated into a state table; here are the first two states. You can implement this the hard way. Represent the current state using flip-flops or a register. Find equations for the next state and (control signal) outputs in terms of the current state and input (instruction word). Or you can use the easy way. Stick the whole state table into a memory, like a ROM. This would be much easier, since you don’t have to derive equations. Pitfalls of state machines As we just saw, we could translate this state diagram into a state table, and then make a logic circuit or stick it into a ROM. This works pretty well for our small example, but designing a finite-state machine for a larger instruction set is much harder. There could be many states in the machine. For example, some MIPS instructions need 20 stages to execute in some implementations—each of which would be represented by a separate state. There could be many paths in the machine. For example, the DEC VAX from 1978 had nearly 300 opcodes... that’s a lot of branching! There could be many outputs. For instance, the Pentium Pro’s integer datapath has 120 control signals, and the floating-point datapath has 285 control signals. Implementing and maintaining the control unit for processors like these would be a nightmare. You’d have to work with large Boolean equations or a huge state table. Motivation for microprogramming Think of the control unit’s state diagram as a little program. Each state represents a “command,” or a set of control signals that tells the datapath what to do. Several commands are executed sequentially. “Branches” may be taken depending on the instruction opcode. The state ma

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档