What you will be able to do. By the end of this chapter you will be able to build the two workhorses of sequential design out of D flip-flops: the register, which stores a number, and the counter, which steps through numbers. You will know the shift register and what it is for, and you will know why <= is the right assignment inside a clocked block. Then you will combine these with the adders, comparators and multiplexers from earlier chapters into three circuits that do a real job: a blinking light, a seconds counter for a clock, and a circuit that sends a byte down a single wire.
From one flip-flop to a register
The previous chapter ended with the shape of every sequential circuit: flip-flops that hold the state, and logic that works out the next state. A single D flip-flop holds one bit. To hold a number you need one flip-flop for each of its bits, all on the same clock. That group is a register, a word you met briefly in the previous chapter. A 4-bit register is four D flip-flops side by side, and an 8-bit register is eight.