Course · Fundamentals
Hardware fundamentals
Bits, logic, state and time, with experiments you can operate in the page. No HDL is needed yet; each language course says which chapter it builds on.
What you build
- Read and write binary and hexadecimal values of a given width
- Turn a condition in words into a logic expression and a truth table
- Predict a register, a counter and a two-stage delay cycle by cycle
- Turn a requirement into normal, boundary and reset test cases
Before you start
Nothing. Each chapter says what it builds on.
Table of contents
8 chaptersNumbers and logic
- Bits and numbers
Bits as the binary model of digital values, buses that group bits into signals, binary place value, hexadecimal notation, and how width determines the unsigned range.
Checkpoint: Answer the checks in this chapter
- Logic and truth tables
NOT, AND, OR and XOR as rules from input bits to an output bit, the truth table that states each rule completely, and how a requirement in words becomes a logic expression.
Checkpoint: Answer the checks in this chapter
- Wiring and combinational circuits
Selecting and joining bits as wiring that costs no gate, then three circuits built from gates, the multiplexer that chooses, the decoder that points and the adder that carries, and how to tell wiring from an operation.
Checkpoint: Answer the checks in this chapter
- Width and sign
Two's complement, why one bit pattern is two numbers depending on how it is read, what widening and narrowing do to a value, and the difference between a lost carry and an overflow.
Checkpoint: Answer the checks in this chapter
State, time and verification
- State and registers
Why a circuit needs memory, the register with its D input and Q output, and the difference between the value a register holds now and the value it will hold after the next clock edge.
Checkpoint: Answer the checks in this chapter
- Clock, reset and enable
The clock's period, edge and cycle; the enable that chooses between updating and holding; and reset by kind, polarity and priority, including why a clear wins over an enable.
Checkpoint: Answer the checks in this chapter
- Waveforms and time
Reading a waveform against the rising edge, telling apart driving an input, sampling it at the edge and observing the output after it, and why one or two register stages delay a value by one or two cycles.
Checkpoint: Answer the checks in this chapter
- Design and verification
From a requirement to a design under test and its testbench; what compile, elaborate, simulate and synthesize each do; normal, boundary and reset cases; and how to reason from a first mismatch to a likely cause.
Checkpoint: Answer the checks in this chapter