What you will be able to do. By the end of this chapter you will be able to say why a circuit made only of gates cannot remember anything, and how feeding an output back to an input creates memory. You will know what a clock is, how a latch differs from a flip-flop, and how the D, T, JK and SR flip-flops behave. You will write a D flip-flop in Verilog, with a reset and an enable, and then put flip-flops and gates together into a complete sequential circuit, the form that every digital system takes. You will also know which flip-flop real chips use and why.
Why gates alone are not enough
Every circuit in this course so far has one thing in common: its outputs depend only on what its inputs are right now. Set the switches of an adder to 3 and 2 and it shows 5. Change them and the 5 is gone without trace. Such a circuit is called combinational, and it has no past.