Output follows input
Combinational logic has no memory. Its output depends only on the inputs right now, not on anything that came before. Change the inputs and the output follows.
Every circuit you built in Module 1, the gates and the multiplexer, is combinational.
The other kind
The opposite kind of logic does remember. It is called sequential logic, and it is the whole of Module 3.
| Combinational | Sequential |
|---|
| Depends on | Inputs now | Inputs now + past |
| Memory | None | Stores state |
| Example | Adder, MUX, decoder | Counter, register |
For this module, stay in the left column. Everything here reacts instantly and forgets instantly.
Propagation delay
Figure: A single logic gate with an input waveform stepping from 0 to 1 on the left and the output waveform stepping up slightly later on the right
A gate cannot switch instantly. Charge has to move through real transistors, and that takes time. The delay between an input changing and the output settling is the propagation delay, written .
It is small, often tens of picoseconds (), but it is never zero.
Delays in series
When a signal passes through gates one after another, their delays add. A signal crossing three gates of each takes to come out the far end.