TactivergeLite

Lite / Engineering Complex Systems / Week 24

Week 24: Finite-state machines

Term 3: Signals and Computing Hardware

This week you will

Lessons

  1. Specifying a state machine · about 35 min
    A lock that opens only when you type 1-0-1 has to remember something between key presses. What is the least it needs to remember?
  2. A state machine in hardware · about 35 min
    Turn a state-transition table into a circuit and it is always the same shape: a register and a cloud of gates. Why that shape?
  3. A state machine in software · about 40 min
    The same traffic-light controller can be twelve gates and four flip-flops, or twenty lines of code in a loop. When would you choose each?
← Week 23Week 25 →