Digital Circuit

A digital circuit is an electronic circuit that processes signals taking only a few discrete values, almost always two, and so computes by logic rather than by continuous variation. Its building blocks are gates that compute Boolean functions, memory elements that hold a bit, and a clock that coordinates when values are allowed to change. Everything from a pocket calculator to a multi-billion-transistor processor is a digital circuit, differing from its analog cousins in that small errors are corrected at every step instead of accumulating.

The first division is between combinational and sequential circuits. In a combinational circuit the outputs depend only on the present inputs: an adder, a multiplexer that picks one of several inputs, and a decoder are examples, and each is just a network of gates with no memory. A sequential circuit's outputs depend also on stored state, so it must contain a feedback loop that remembers. The simplest memory is the latch or flip-flop, whose ancestor is the 1918 Eccles-Jordan trigger circuit built from two vacuum tubes; a modern D flip-flop copies its input to its output on a clock edge and holds it until the next edge. Counters, registers, finite-state machines and whole processors are built by combining combinational logic between banks of flip-flops.

The clock turns a tangle of gates into something predictable. In synchronous design, all flip-flops capture their inputs on the same clock edge, so the logic between them has one clock period to settle. A rule of thumb is that the clock period must exceed the sum of the flip-flop's delay, the longest logic path, and the setup time of the next stage. Two timing requirements govern correctness: setup time is how long the data must be stable before the clock edge, and hold time is how long it must remain stable afterward. If either is violated, the flip-flop may capture the wrong value or hover in an undefined state, metastability. Timing closure is the design phase in which engineers adjust logic, placement and wiring until every path meets its setup and hold constraints at the target frequency, across process, voltage and temperature variations; for large chips it can be among the most laborious steps.

Logic gates
AND, OR, NOT, NAND, NOR built from transistors
Two families of digital circuit
Combinational
output depends only on current inputs: adder, multiplexer, decoder
Sequential
output also depends on stored state: flip-flop, register, counter
Clock edge captures data
logic must settle before the edge (setup) and hold steady after it (hold)
Implementation milestones
7400 series, Texas Instruments 1964
standard TTL chips wired together on circuit boards
Microprocessors, 1970s
whole processor on one chip
FPGAs, 1980s onward
reprogrammable logic fabric
Custom chips
ASICs and system-on-chip, billions of gates

The 7400 series made digital design a catalog of off-the-shelf parts. Texas Instruments introduced its SN54 and SN74 families of TTL integrated circuits from 1964, with the 7400 itself a package of four two-input NAND gates, and competitors made compatible parts. Engineers could build a computer, a terminal or an instrument by wiring standard chips for gates, counters, registers and adders, and the family's logic levels became a de facto standard that survives in the numbering of today's CMOS successors. Programmable logic followed: Xilinx introduced the first commercial FPGA, the XC2064, in 1985, a chip whose logic blocks and interconnect are configured by loading a bit pattern, so the same silicon can be a different digital circuit each time. Today hardware is usually designed in languages such as Verilog or VHDL, synthesized into gates automatically, and either mapped onto an FPGA or fabricated as a custom chip.

Noise margins are what let this scale. Each gate output must sit comfortably inside the range that the next input accepts as high or low, and the gap that remains is the noise margin, the room allowed for supply fluctuation, crosstalk and interference. As voltages fall, the margin shrinks and designers must control noise more carefully, but regeneration at every gate still prevents it from accumulating. A common misconception is that digital circuits are purely abstract and ideal. In reality, each gate is an analog device whose signal rises and falls over finite time, whose edges ring on long wires, and whose delays vary with temperature and voltage; digital correctness is a carefully maintained illusion built on analog behavior.

Today's digital circuits span from a few gates to AI accelerators. A processor is millions to billions of flip-flops and gates clocked at a few gigahertz, and graphics and AI chips replicate arithmetic units thousands of times. FPGAs sit in network gear, test equipment and prototyping boards, where a design can be changed after manufacture. Clock distribution alone is a major design task, consuming a large part of the power, which is why clock gating is routine.

Read the digital circuit as logic and memory kept in step by a clock: a design discipline in which analog devices are forced to behave like clean switches at the right instants, with timing rules, not just logic, deciding whether it works.

Take digital circuit further

Ask the copilot about this term, or have our engineers assess it against your process.