tiny-cpu
A real, synthesizable RV32I RISC-V CPU in SystemVerilog (single-cycle and 5-stage pipelined), compiled to WebAssembly and running live in your browser. Verified against the official riscv-tests
What XERJ indexed
Snapshot
Only web/e2e, web/public, web/scripts, web/src/layouts, web/src/pages at commit 91c790a804 (2026-10-27). main is 4 commits ahead.
Selected work

“logo, social card, SEO metadata and a detailed README”. 8 files, 228 lines in web.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-28. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
cocotbcomputer-architecturecpucpu-designeducationemscriptenfpgahardware
Example questions
- How does tiny-cpu implement cocotb?
- Where does tiny-cpu handle “logo, social card, SEO metadata and a detailed README”?
- What does web do in tiny-cpu?
Inside the indexed corpus
- 203 files, 1.3 MB in total, about 6.6 KB per file.
- The selected commit changed 8 of those files (3.9%).
- Languages by size: Python 28.5%, TypeScript 26.3%, JavaScript 18.8%, SystemVerilog 12.6%, Astro 4.1%.
- On GitHub since 2026-10-24, last push 2026-10-27, 24 commits on main.
- The pin is 4 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for tinycomputers/tiny-cpu on 2026-10-31, and the LICENSE file at commit 91c790a804 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Dineth Hettiarachchi (@deaneeth) has 1 selected repository on the hub.
Using XERJ with tiny-cpu
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones tinycomputers/tiny-cpu at the pinned commit and indexes it on your machine.
Search the GitHub repository tinycomputers/tiny-cpu with XERJ (https://hub.xerj.org/corpus/tinycomputers--tiny-cpu). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/tinycomputers/tiny-cpu tiny-cpu && git -C tiny-cpu checkout 91c790a804c272e408f86840a4cc0bf3d697da5b 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./tiny-cpu --url http://127.0.0.1:9200 --prefix tiny-cpu --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Dineth HettiarachchiWeb and frontend platform corporawysking--postgrad-study-enginestyle-dictionaryargo-cdstnolting/neorv32akshayvr-programmer/RISC-V-RV32I-Single-Cycle-Processorkrivanikm/mnpk01-soc
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.