git404hub

what is chip-design fr?

dennisonbertram/chip-design — explained in plain English

Analysis updated 2026-05-18

0VerilogAudience · researcherComplexity · 5/5Setup · hard

tl;dr

An open source project that designs, verifies, and physically lays out a real computer chip capable of running a tiny language model.

vibe map

mindmap
  root((nano_accel))
    What it does
      Chip that runs a tiny AI model
      INT4 low precision inference
      Model fits fully on chip
    Tech stack
      Verilog RTL
      Yosys synthesis
      OpenROAD place and route
      Python and numpy
    Verification
      Bit exact golden model check
      Post route timing analysis
      Zero DRC violations
    Use cases
      Learn open source chip design
      Explore AI accelerator hardware
      Tape out via Tiny Tapeout
    Audience
      Hardware engineers
      Chip design students
      AI hardware researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Study a complete open source flow from chip logic to a manufacturable layout.

VIBE 2

Experiment with running a small AI model directly on custom hardware.

VIBE 3

Swap in a different sized model and observe how chip area and timing change.

VIBE 4

Adapt the smaller variant for submission to a shared chip manufacturing program.

what's the stack?

VerilogPythonYosysOpenROADDockerSystemVerilog

how it stacks up fr

dennisonbertram/chip-designkassane/fpga_coursekonano/mips32-cpu
Stars0
LanguageVerilogVerilogVerilog
Last pushed2026-05-102019-01-09
MaintenanceMaintainedDormant
Setup difficultyhardmoderatehard
Complexity5/54/55/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires yosys, iverilog, Python with numpy, and Docker for the place and route stage.

The README does not state a license, so terms of use are not specified.

in plain english

This project designs an actual computer chip that can run a tiny language model, and it walks the whole path from writing the chip's logic to producing a manufacturable layout file, using only open source tools. The chip, called nano_accel, is built to do INT4 inference, a compact numeric format that lets a small AI model fit entirely inside the chip's own memory instead of needing external storage. The model the chip runs is a small character level neural network trained from scratch on the tiny-shakespeare text dataset using numpy, then compressed down to about 208 kilobytes so it fits on chip. The project includes a verification step where a golden software model built in numpy is compared token by token against what the real chip hardware produces, and the repository reports a fully matching, bit exact result across all 32 tokens tested. Beyond simulation, the design was pushed through synthesis and place and route on the open Nangate 45 nanometer library, meaning it was turned into a real layout of standard cells with reported area, timing, power, and zero design rule violations. The README includes concrete results: a maximum clock speed near 195 MHz, about 143 milliwatts of power, and a final GDSII file, which is the standard format used to send a chip design to a factory for manufacturing. To try it, a user needs yosys, iverilog, python3 with numpy, and Docker for the place and route stage, then can run simple make commands to train the model, simulate the chip, synthesize it, or run the full physical design flow. The project also lets someone swap in a different, differently sized model and rerun the flow to see how area and timing change, or intentionally tighten the clock constraint to watch timing fail. A separate variant targets Tiny Tapeout, a shared multi-project chip manufacturing service, using a much smaller one multiply add unit design that streams model data from external memory over a four wire interface, trading speed for a design small enough to fit the tighter area budget of that program. This repository is aimed at people interested in digital chip design and hardware for AI, and assumes familiarity with hardware description languages like Verilog.

prompts (copy fr)

prompt 1
Explain how the INT4 dequantization and requantization math in this chip's drain stage works.
prompt 2
Walk me through how to run the make sim command in nano_accel and interpret the token output.
prompt 3
Help me change the model dimensions in sw/build.py and predict how chip area will shift.
prompt 4
Explain the difference between the on-chip SRAM version and the Tiny Tapeout QSPI PSRAM version of this design.
prompt 5
Show me how to read the post route timing report to find the setup slack for this chip.

Frequently asked questions

what is chip-design fr?

An open source project that designs, verifies, and physically lays out a real computer chip capable of running a tiny language model.

What language is chip-design written in?

Mainly Verilog. The stack also includes Verilog, Python, Yosys.

What license does chip-design use?

The README does not state a license, so terms of use are not specified.

How hard is chip-design to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is chip-design for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.