Home › Practice › Digital Fundamentals
Digital logic fundamentals
Before RTL comes digital logic: gates, adders, multiplexers, decoders, counters and simple registers. This track covers those building blocks with small problems that each teach one idea.
Most problems are short Verilog exercises that are checked against a reference design. There are also Karnaugh map puzzles where you group the ones to find the smallest logic expression. Every problem starts with a plain explanation of the idea, then asks you to build it.
This track suits first and second year engineering students, people changing careers into chip design, and anyone who wants to refresh the basics before tackling larger designs. Everything runs in your browser. There is nothing to install and no sign-up is needed to try the problems.
Open this track in Practice →42 problems
- 2-input AND gateEasy
- 2-input XOR gateEasy
- Wire: input to outputEasy
- 2:1 multiplexer, 4-bitEasy
- Half adderEasy
- 2-to-4 decoderEasy
- 8-bit parity bitEasy
- 4-bit comparatorEasy
- D flip-flop, synchronous resetEasy
- 4-bit shift registerEasy
- Three judges voteEasy
- Borrowing in one columnEasy
- Borrowing across columnsEasy
- Two half adders make a full adderEasy
- Carry passed hand to handEasy
- Flip and add oneEasy
- One circuit, two jobsEasy
- A dial that changes one bit at a timeEasy
- Reading the dial backEasy
- A rotary switch for dataEasy
- A mail sorterEasy
- Light up a clock digitEasy
- Blink an LED at half speedEasy
- Running lightsEasy
- How many lights are on?Easy
- K-map: the hallway lampEasy
- K-map: read a map that wrapsEasy
- K-map: fill it from a tableEasy
- K-map: the greenhouse fanEasy
- Is it a decimal digit?Easy
- Widen a signed numberEasy
- Guard bits that find a flipEasy
- Light up the volume barEasy
- 4-bit barrel rotatorEasy
- 4-bit saturating unsigned adderEasy
- 4-bit one-hot validatorEasy
- Dual-edge detectorEasy
- 4-bit universal shift registerEasy
- Single-digit BCD adderEasy
- 4-bit signed absolute valueEasy
- 4-bit unsigned min and maxEasy
- 8-bit conditional bit reverserEasy