Skip to content
systemcoding.dev
Topic

Hardware

Verilog, VHDL and Clash on FPGAs, soft cores, buses and peripherals, and reading datasheets, reference manuals and schematics like a firmware engineer.

Flat illustration of guest machines running on a hypervisor over hardware, with the C, QEMU and RISC-V logos.
Virtualization

Write a 6502 CPU Emulator Core in C

Build a 6502 CPU core in C11: registers, the status flags, addressing modes, ADC and SBC with overflow, branches with cycle counts, and a small test program.

10 min read
Flat illustration of logic gates wired into a small circuit, with the Haskell, KiCad and SparkFun logos.
Hardware

Write an I2C Master State Machine in Verilog

Build an I2C master in Verilog that writes one byte to a 7-bit address with quarter-bit timing, open-drain lines and ACK checking, tested against a slave model.

9 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.