Experiences Building Edge TPU with Chisel
Chisel1 HN recommender · recommended in 1 month, 2019–2025
talk · advanced · evergreen · 2019–2025 on HN
A Google talk from the Chisel community in which engineers recount designing the Edge TPU with the Chisel hardware construction language. It covers the productivity gains and the problems they hit.
Pointed to as a rare first-hand account of a real, shipping ASIC built in an open-source HDL, useful in HDL and FPGA choice discussions.
Up next
18 mo on HNIndistinguishable From Magic: Manufacturing Modern Computer Chips
Andor Gafotas
19 HN recommender · 2016–2024
8 mo on HNThe Extreme Engineering of ASML’s EUV Light Source
Asianometry
11 HN recommender · 2022–2025
8 mo on HNJim Keller: Moore's Law, Microprocessors, and First Principles | Lex Fridman Podcast #70
Lex Fridman
8 HN recommender · 2020–2023
8 mo on HNJim Keller: Moore’s Law is Not Dead
UC Berkeley EECS
7 HN recommender · 2019–2025
7 mo on HNWhy It Was Almost Impossible to Make the Blue LED
Veritasium
10 HN recommender · 2024–2026
5 mo on HN38C3 - From Silicon to Sovereignty: How Advanced Chips are Redefining Global Dominance
media.ccc.de
5 HN recommender · 2025–2026
5 mo on HNThe man who almost faked his way to a Nobel Prize
BobbyBroccoli
6 HN recommender · 2022–2023
5 mo on HNAWS re:Invent 2016: Tuesday Night Live with James Hamilton
Amazon Web Services
5 HN recommender · 2016–2023
4 mo on HNHow does Computer Memory Work? 💻🛠
Branch Education
5 HN recommender · 2022–2023
4 mo on HN"Z2" - Upgraded Homemade Silicon Chips
Sam Zeloof
4 HN recommender · 2021–2026
4 mo on HNThe Extreme Physics Pushing Moore’s Law to the Next Level
Seeker
5 HN recommender · 2019–2023
4 mo on HNBuilding a 6800 CPU on an FPGA with nMigen (part 1)
Robert Baruch
3 HN recommender · 2020–2021
5 comments from Hacker News
Google had a really interesting talk on their experiences with Chisel in designing the first Edge TPU chip. A lot of the issues are specific to industrial chip design, where verification and coverage are essential, but many would apply to small-scale personal designs as well. A good overview of the advantages as well as the problems. And many of the problems would apply to other front ends, which are essentially using Verilog as the target language. ▶ this video
Google TPU engineers used open-source Chisel for ASIC design (2018), ▶ this video "Google Edge TPU devices" , 100 comments (2019), link & link "Coral Edge TPU review" , 100 comments (2020), link "TPU transformation: 10 years of our AI-specialized chips" , 60 comments (2024), link
It was in fact the EdgeTPU (which is different from the TPU used in data centers). The talk from a google engineer can be found on youtube: ▶ this video Please note that they were using a version of Chisel from 5+ years ago and many things have changed since then. It is still true though that Chisel can be hard to learn for typical hardware engineers, which is why it may be best suited for small and highly dedicated teams rather then large hardware companies. [EDIT] Here is a talk from a solo-developer using the latest version of Chisel: link
Google built one of their TPUs in Chisel [1]. TL;DW: Chisel is beautiful/fun to write in, with a definite productivity bonus, but has a pretty large learning curve and had a much greater verification cost, partly because it's an HLS (most have that problem) and also lack of any tooling. Both of those costs are gradually being reduced (though in my opinion, not enough to not make verification a PITA). [1] ▶ this video
In Nov 2018, Google engineers who designed the TPU gave a presentation about the use of open-source Chisel for designing the ASIC, ▶ this video From link > Google will have the cloud TPU ... to handle training models for various machine learning-driven tasks, and then run the inference from that model on a specialized chip that runs a lighter version of TensorFlow that doesn’t consume as much power ... dramatically reduce the footprint required in a device that’s actually capturing the data ... Google will be releasing the chip on a kind of modular board not so dissimilar to the Raspberry Pi ... it’ll help entice developers who are already working with TensorFlow as their primary machine learning framework with the idea of a chip that’ll run those models even faster and more efficiently.