Star on GitHubStar2.4k stars

Case study

tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime

tinycoral reconstructs the Google Coral Edge TPU instruction set and USB runtime for a tinygrad backend. It includes decoded instruction layouts, a code generator, DarwiNN executable handling and a Python driver for firmware upload, register access and DMA transfers; the author reports byte-identical generated programs against Google's compiler for supported operations.

Targets
Protocol
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Evidence class
C2 code & docs, no demo or download
Stars
19
Last commit
2026-10-04
Language
Python
License (GitHub)
MIT

GitHub data as of 2026-11-10

Copy as MarkdownView JSONCite

Evidence

Observed
Code, documentation and a demo observed; no download method found.
Checked
2026-11-08

How evidence classes are assigned

Requirements & limits

  • Prerequisites: Google Coral USB Accelerator, Python 3.11+, libusb and the pinned tinygrad revision.
  • Prerequisites: Offline compiler comparison needs the Google compiler, Docker and the tools dependencies.
  • Limits: Whole-network compilation is limited to documented convolution, pooling and linear-layer chains.
  • License: MIT license.

Cite

BibTeX

@misc{tinycoral-edge-tpu-case,
  title = {{tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime}},
  howpublished = {\url{https://github.com/FrederikRogalski/tinycoral}},
  url = {https://github.com/FrederikRogalski/tinycoral},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/tinycoral-edge-tpu-case/}}
}

Plain text

tinycoral: reconstructing the Coral Edge TPU instruction set and USB runtime. https://github.com/FrederikRogalski/tinycoral (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/tinycoral-edge-tpu-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · FrederikRogalski/tinycoral · Revision 6079494
  2. NOTES.md GitHub · FrederikRogalski/tinycoral · Revision 6079494
  3. docs/ARCHITECTURE.md GitHub · FrederikRogalski/tinycoral · Revision 6079494

More in Protocols

All 720 entries in ProtocolsProtocols case studies (645)

↑↓ move↵ open⌘↵ new tab