Discovering LiteX: Building SoCs Like LEGO

If you’ve ever tried to build a microprocessor from scratch, you know it’s a battlefield full of hazards, memory control, and instruction handling. A true digital mess. In the middle of that chaos, I came across a tool that completely changed the way I see FPGA development: LiteX. What is LiteX? LiteX is a framework for designing SoCs (System on Chip) on FPGA, transforming the process into something like assembling LEGO blocks: you pick a processor, add controllers, memory, peripherals, and done!...

May 20, 2025 · 4 min · Fabian Alvarez

Linux on LiteX: Building a RISC-V SoC with Buildroot on Tang Nano 20K

Introduction One of the most exciting milestones when working with embedded systems is running an operating system (OS). Among all options, Linux stands out as the premier choice—especially being free, open-source, and backed by a massive ecosystem of tools and community support. The ability to run Linux on custom FPGA-based SoCs opens up endless possibilities for prototyping, research, and production systems. In this guide, we’ll walk through the complete process of booting Linux on a Tang Nano 20K FPGA using LiteX to generate a RISC-V SoC and Buildroot to create a minimal Linux system....

June 12, 2025 · 10 min · Fabian Alvarez