Combinational logic versus sequential logic
Combinational circuits depend only on current inputs. Sequential circuits also depend on past state. This memory lets digital systems count, store information, and control processes over time.
How a circuit stores state
Latches and flip-flops are basic memory elements. A latch responds while its enable level is active; a flip-flop updates at a clock edge. The clock gives synchronous systems a predictable point at which state changes.
Common flip-flop types
SR, D, JK, and T flip-flops provide different state-control behaviors. Some are simple data storage, while others provide set, reset, or toggle behavior. These differences matter when building counters, registers, and state machines.
State and next state
A sequential circuit’s next output depends on current inputs and the state it currently stores. The state summarizes relevant history, letting the same input produce different behavior depending on what happened before.
Think of the circuit as a system over time
With clocks and state transitions, a circuit is more than a static equation. It is a machine that changes over time according to inputs, stored state, and timing rules.