Computing Library › Classical Logic Gates
Classical Logic Gates

Buffer

A buffer passes its input to its output unchanged, restoring signal strength and adding controlled drive or delay.

What it does

A buffer is a gate whose logical output equals its input: 0 stays 0 and 1 stays 1. It changes nothing about the logic but a great deal about the electrical behavior.

Truth table

Kronos motion — classical
AOUT
00
11

Why a do-nothing gate is useful

How it is built

The simplest buffer is two inverters in series: the first inverts, the second inverts back, and the pair delivers strong drive with the original polarity. A single-stage non-inverting buffer can also be designed directly.

In code

python
out = a   # a buffer is the identity function

Relation to the tri-state buffer

Adding an enable control turns a plain buffer into a tri-state buffer, which can also disconnect from the wire entirely. That variant is essential for shared buses, whereas the plain buffer is about strength and timing.

A buffer is the identity of logic and the amplifier of electronics, doing nothing to the value while doing everything for the signal.