The whole syllabus, in one place. Every topic is explained in simple with a real-life example, followed by practice questions from easy to hard.
Everything inside a digital system is just 0 and 1. Logic gates are the tiny decision makers that combine them.
Algebra with only 0 and 1. It is the maths used to simplify circuits before building them.
Binary, octal, decimal and hexadecimal, and how to move between them without panic.
How a computer adds and subtracts using only an adder: subtraction becomes addition of a complement.
Codes are different ways to write numbers and letters in 0s and 1s. Error codes let a receiver catch (and even fix) flipped bits.
Gates come inside chips. Families like TTL and CMOS decide speed, power and voltage levels, and tri-state lets many outputs share one wire.
Every logic function can be written in a standard form. The Karnaugh map is a picture of the truth table that makes simplification visual.
Group the 1s in the biggest rectangles of size 1, 2, 4, 8 or 16 and read off the surviving variables.
K-maps are great for 4 variables. For more variables we need a method a computer can follow: the Q-M table.
Half and full adders, subtractors, the ripple adder, the adder-subtractor and the BCD adder: the arithmetic heart of a computer.
How computers add fast, add with tiny hardware, and combine arithmetic with logic in the ALU.
A MUX picks one of many inputs. A DEMUX sends one input to one of many outputs. Together they share a single wire among many signals.
A decoder turns a binary code into one active line. An encoder does the opposite. Display drivers turn BCD into the segments of a number display.
Circuits that compare numbers, make and check parity bits, and translate between binary codes.
A latch is the smallest memory: a circuit with feedback that remembers one bit.
Flip-flops are edge-triggered memory cells: they sample their inputs only at the clock edge. They are the building blocks of every register and counter.
A shift register is a chain of flip-flops that moves a bit pattern one place per clock. It converts serial data to parallel and back.
A counter is a group of flip-flops that steps through a fixed sequence of states, one per clock pulse. Ripple counters pass the clock from stage to stage.
In a synchronous counter every flip-flop sees the same clock, so all change together. It is fast and glitch-free, but needs extra gates.
Ready-made counter chips save design time. Asynchronous sequential circuits work without a clock, and counters are used almost everywhere.
A D/A converter (DAC) turns a binary number into a proportional analog voltage.
An ADC measures an analog voltage and gives a binary number. Before converting, the signal is sampled and quantized.
Other ADC types trade speed for accuracy and hardware: SAR is a good all-rounder, dual slope is very accurate but slow.
A memory is a large array of storage cells addressed by a binary number. Chips can be combined to make bigger or wider memory.
Semiconductor memories differ in whether they can be written, lose data without power, and how fast they are.
Because a ROM has all 2^n minterms ready, programming its OR plane lets it implement any truth table.
PLA and PAL are small programmable chips with an AND plane and an OR plane. You program the connections to build your own logic functions.
CPLD and FPGA are large programmable chips that can hold a whole digital system, from counters to processors.