
Write a Finite State Machine in Verilog the Synthesisable Way
Build a Moore finite state machine in Verilog with a state register, next-state logic and outputs, using defaults that avoid latches in synthesis.
Everything you need to level up your coding skills.

Build a Moore finite state machine in Verilog with a state register, next-state logic and outputs, using defaults that avoid latches in synthesis.

Build and run the STREAM benchmark with gcc and OpenMP to measure sustainable memory bandwidth, size the arrays so they miss cache, and read the four kernels.

Learn when to use = and <= in Verilog, how the simulator schedules each, and what goes wrong when you mix them in clocked or combinational blocks.

NUMA gives each CPU socket its own local memory, so a core reads its own memory fastest and pays extra to reach another socket's. Learn why and how to see it.

Write a Verilog blinking LED counter, simulate it with a testbench in Icarus Verilog, then see the Yosys report for an iCE40 FPGA build.

Latency is the wait for one memory access and bandwidth is bytes moved per second. See how they differ, how Little's law links them and which limits your loop.

A hardware description language describes circuits that all run at once, not steps. See how concurrency, wires and registers change how you read Verilog.

Learn how UART, SPI, I2C, APB, Wishbone, AXI4-Lite, AXI4 and AXI-Stream move data on wires and inside chips, with Verilog for each and a way to choose.

Learn to write a CPU emulator in C from nothing: registers, memory, the fetch-decode-execute loop, flags, timing, devices, testing and a path to RISC-V.

Write a complete Linux 6.12 PCI driver: probe, BAR mapping, MSI interrupts, DMA with a restricted mask, a user-space interface, error recovery and testing.

Simulate Verilog and VHDL with Icarus Verilog, Verilator, GHDL and cocotb, view waveforms in GTKWave, write self-checking tests and choose the right tool.

How open-source FPGA toolchains work: Yosys, nextpnr, IceStorm, Trellis and loaders, with a full iCE40 and ECP5 build, constraints, timing and CI.
We send one email when a new post is published. No spam.