PREVIEW
Tag

combinational-logic

A collection of 9 posts

Isometric illustration of an ALU at the heart of a CPU, with input lines feeding a central processing block and status flag bits glowing on the side.
alu

How an ALU Works: Arithmetic Logic Unit from Gates

TL;DR: An Arithmetic Logic Unit (ALU) is a combinational circuit inside a CPU that performs arithmetic operations (addition, subtraction) and bitwise logic operations (AND, OR, XOR, NOT, shifts) on two...

7 min read
Karnaugh map visualization next to a simplified digital circuit, demonstrating logic simplification.
karnaugh-maps

Karnaugh Maps: Visual Boolean Simplification

TL;DR: A Karnaugh map (K-map) arranges a truth table into a Gray-coded 2D grid where adjacent cells differ by one variable. Grouping adjacent 1s into rectangular powers-of-two produces minimal Sum-of-Products...