What you will be able to do. By the end of this chapter you will be able to design a circuit in the way larger ones are really built: a state machine that gives orders, and a set of counters and registers that carry them out. You will know how to make something happen more slowly than the clock without creating a second clock, how to write a module whose numbers can be changed from outside, and how two circuits agree on when one may give the other a job. These are the last tools you need for the final chapter, where you build a UART transmitter.
From watching to commanding
The state machines of the previous chapter were observers. Each one watched a stream of bits and raised an output when it noticed something. Useful machines do more: they make other parts of the circuit do things, at the right moments and in the right order.