The CPU

  • Basic Operation.
  • There are a number of ways we need to control registers and other things, and we want to number them.
  • Why does the ALU get two lines (10,11) ?
  • We have already mentioned the fetch/execute loop, but now we can make it much more concrete now.
  • Notice the numbers beside each box. This is called the state.
  • For every instruction, we go through states 0-3
  • For a store we use states 4 and 5
  • For a load, we use state 6 and 7
  • For an add, we use state 6 and 8
  • What do we need to do at state 0?
  • What does each control line do?
  • How long does the state need to last last?
  • Now consider the Control portion of our machine.