
Implement a UART Transmitter and Receiver in Verilog
Write an 8N1 UART transmitter and receiver in Verilog with mid-bit sampling and a loopback testbench that sends 0x55 and 0xA3 and checks the bytes.
Everything you need to level up your coding skills.

Write an 8N1 UART transmitter and receiver in Verilog with mid-bit sampling and a loopback testbench that sends 0x55 and 0xA3 and checks the bytes.

Write a CHIP-8 emulator in Rust 1.85: a safe Chip8 struct, enum-based opcode decoding with pattern matching, wrapping arithmetic and a testable display buffer.

Write a mode 0 SPI slave in Verilog that samples SCK, CS and MOSI with the FPGA clock, shifts bytes in and out and is tested with a simulated SPI master.

Build a complete CHIP-8 interpreter in C11: memory, registers, the font, all 35 opcodes, timers, a 64x32 display buffer and a text-mode renderer to test it.

Decode an SPI flash ID read and an I2C TMP102 temperature read by hand from logic analyser captures, with sample points, start, stop and ACK bits explained.

Learn the three-step loop at the heart of every emulator: fetch an opcode, decode its fields, execute its effect, with a complete C example you can follow.

Run verilator --lint-only -Wall on every Verilog file, fix the common warnings, waive the rest in a .vlt file with a reason and make lint a Makefile target.

Write cocotb 1.9 tests in Python for a Verilog counter: drive a Clock, await RisingEdge and ReadOnly, assert outputs and run on Icarus Verilog from a Makefile.

Turn a Verilog counter into a C++ model with Verilator 5, drive its clock and reset from main(), check outputs in C++ and write a VCD trace with VerilatedVcdC.

Move sleeping work out of an interrupt handler with INIT_WORK, schedule_work and a worker function on Linux 6.12, including delayed work and safe teardown.

Record simulation waveforms with $dumpfile and $dumpvars, choose which scopes to dump, switch dumping on and off, and read the VCD file Icarus Verilog writes.

Learn how push-pull and open-drain GPIO outputs differ at the transistor level, when each is right (LEDs, I2C, shared lines), and how to set both on an STM32.
We send one email when a new post is published. No spam.