Learning

Combinational logic

MUXes, decoders, adders — no memory, output is a pure function of the inputs.

Log in to track your progress.

Concurrent assignments: when/else and with/select

Reading14 min

Two ways to write the same combinational logic — and when each reads better.

Open in the app

Sample: 3-to-8 decoder

Sample12 min

Drive a 3-bit code and watch one-hot outputs light up in the waveform.

Open in the app

Sample: 4-bit ripple-carry adder

Sample14 min

A classic — two 4-bit numbers in, 4-bit sum + carry-out. The simplest piece of an ALU.

Open in the app

Fix it: the tristate buffer that always drives

Exercise18 min

This tristate buffer never releases the bus. Find the typo, fix the behavior.

Open in the app

An unhandled error has occurred. Reload 🗙