Digital logic, one idea at a time
Read in order, or jump to what you need. Each lesson links straight into the simulator so you can test what it says.
- Lesson 1Logic gates explained, with truth tablesAND, OR, NOT, NAND, NOR, XOR and XNOR gates explained with truth tables, Boolean expressions and Verilog, plus why NAND and NOR are called universal gates.
- Lesson 2Boolean algebra laws, with examples you can checkThe Boolean algebra laws used to simplify logic: identity, complement, distributive, absorption, De Morgan's theorems and consensus, each checkable in the simulator.
- Lesson 3SOP, POS, minterms and Karnaugh mapsHow sum of products and product of sums forms are built from a truth table, what minterms and maxterms are, and how a Karnaugh map groups them to simplify logic.
- Lesson 4Verilog operators: a quick reference with examplesVerilog bitwise, logical, reduction, shift, relational and conditional operators, their precedence, and how they behave on single bits and vectors.