News for hackers. Stuff that matters.
Re:Show HN: I built a toy TPU that can do inference and trai... by UncleOxidant on Monday August 18, 2025 @07:51PM (#44946667)
Have you tried it out in an FPGA?
Re:Show HN: I built a toy TPU that can do inference and trai... by evxxan on Monday August 18, 2025 @08:17PM (#44946860)
Not yet! But that's our next step.
Re:Show HN: I built a toy TPU that can do inference and trai... by utopcell on Monday August 18, 2025 @11:25PM (#44947973)
tang nano 20k. You can't find any cheaper fpga board than this.
Re:Show HN: I built a toy TPU that can do inference and trai... by addaon on Tuesday August 19, 2025 @12:35AM (#44948292)
At a higher price point but with more capability, Digilent has a one-week 20% sale on their FPGA boards this week. Some good options (Artix 7 and Spartan 7) within spitting distance of $100.
Re:Show HN: I built a toy TPU that can do inference and trai... by UncleOxidant on Tuesday August 19, 2025 @02:16PM (#44954544)
From what it looks like (Xilinx parts primarily) if I bought one of these boards I'd be stuck using either Altera or Xilinx tools. I think some spartan 7s work with yosys/nxtpnr, but not sure how well.
Re:Show HN: I built a toy TPU that can do inference and trai... by addaon on Tuesday August 19, 2025 @03:08PM (#44955119)
Yep. The Xilinx tools are very, very good; but they're definitely proprietary.
Re:Show HN: I built a toy TPU that can do inference and trai... by UncleOxidant on Wednesday August 20, 2025 @01:43PM (#44964181)
> The Xilinx tools are very, very good

Ummm... no, that has not been my experience at all. I'd replace 'good' with 'buggy' in that sentence. And also very, very bloated - like 90GB bloated. I've had good experiences using yosys/nxtpnr/SymbiFlow, but that's kind of limited to the Lattice ICE40, ECP5 families and Quicklogic.

Re:Show HN: I built a toy TPU that can do inference and trai... by UncleOxidant on Tuesday August 19, 2025 @01:59PM (#44954358)
You can apparently use the open source yosys/nxtpnr tools with the tang nano 9k, but, unless something has changed recently, nxtpnr doesn't work with the 20K yet. However, I found the Gowin tools to work reasonably well (and definitely way less bloated than the Xilinx & Altera tools.)