Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In digital
circuit theory, sequential logic is a type of logic circuit whose output
depends not only on the present input but also on the history of the
input. This is in contrast to combinational logic, whose output is a
function of, and only of, the present input. In other words, sequential
logic has state (memory) while combinational logic does not. Sequential
logic is therefore used to construct some types of computer memory,
other types of delay and storage elements, and finite state machines.
Most practical computer circuits are a mixture of combinational and
sequential logic.