Blog

Project stories

How I designed and built my projects, what broke along the way and how I fixed it. Some posts are tutorials you can follow for your own designs.

  1. MCLP load-cell platform

    Correcting weigh-in-motion results with a small neural network

    How I added edge AI to the MCLP weighing core without hardware or field data: a vehicle simulator, a baseline that exposed a flaw in the core's own rule, an int8 model trained for the FPGA, and the speed where the model stops helping.

    →
  2. MCLP load-cell platform

    Building an int8 inference engine from DSP slices

    A tutorial built on the MCLP inference engine: fix the integer arithmetic first, describe layers as data, turn the loops into counters, pipeline one DSP multiply-accumulate, and test the RTL bit for bit against a reference.

    →
  3. MCLP load-cell platform

    Designing MCLP, a multi-channel load-cell weighing core for FPGAs

    How the MCLP core reads up to 64 AD7190 converters at the same instant, corrects each load cell, filters the sum into a weight and checks itself, and what testing found.

    →
  4. MCLP load-cell platform

    Designing an 8-channel load-cell ADC card in KiCad

    The FMC card for the MCLP core: the analog front end for eight load cells, how I checked the schematic, and how I routed the 4-layer board.

    →
  5. MCLP load-cell platform

    Co-simulating embedded Linux software with RTL, using cocotb and QEMU

    A tutorial from the MCLP project: the C console talks to the RTL in Icarus over a TCP socket, and the PetaLinux image in QEMU drives the same RTL. It includes the code, the protocol, the commands and the bugs that the setup found.

    →
  6. MCLP load-cell platform

    Prototyping with MCLP, and designing for RF data converters

    How to prototype a weighing product with the MCLP core, and how the same converter chain looks on an RFSoC: aliasing, clock jitter, converter alignment, bit widths, the DAC side, the board and testing.

    →
  7. Fitting an M.2 SDR into an Artix-7 50T and closing timing at 61.44 MSPS

    An M.2 SDR on an Artix-7 50T with an AD9364: the host-link budget, the source of 10000 extra LUTs, and timing closure of a 4 ns domain at 61.44 MSPS.

    →
  8. 44 runs to signoff: closing timing on a RISC-V SoC with open-source tools

    The architecture of an RV32IM microcontroller SoC, the open-source RTL-to-GDSII flow on SKY130, and the 44 tracked runs that took it from −10 ns of worst setup slack to tapeout-ready GDSII.

    →
  9. Migrating a SKY130 RISC-V SoC to GF180MCU

    What changes, and what stays the same, when a signed-off SoC moves to a new PDK and a fixed chip-on-board pad ring, and how it reached tapeout-ready GDSII.

    →

Subscribe with RSS to get new posts as they land.