LEGO: The Open-Source Framework That Turns AI Loops into Silicon—No RTL Templates Required

3 hours ago 高效码农

Keywords: LEGO accelerator, automatic RTL generation, spatial accelerator, tensor applications, AI chip design, Gemmini comparison, data-flow fusion, MIT Han Lab TL;DR LEGO is an open-source toolchain released by MIT Han Lab in 2025. Feed it a plain tensor loop (GEMM, Conv2D, Attention, MTTKRP) and it returns production-grade Verilog—no human-written templates, no HLS headaches. On a 28 nm test chip LEGO beats the state-of-the-art Gemmini generator by 3.2× speed and 2.4× energy while using the same MAC count and on-chip memory. What you will learn in 12 minutes Why even Google still hand-tunes TPU blocks—and where that hurts How LEGO removes …