Hacker News new | past | comments | ask | show | jobs | submit login
[flagged] Engineer creates CPU from scratch in two weeks, begins work on GPUs (tomshardware.com)
27 points by simonpure 10 months ago | hide | past | favorite | 19 comments



Per the comments on the article:

>If you check the twitter thread, he didn't create a CPU, or anything close to one. As far as I can tell, he just took some circuits that others created (e.g., debouncer, pwm) and hooked them up to create a 3 channel LED controller that can output a pulse signal. That's it. He did go through the rest of the flow (synthesis, STA, P&R, etc.) but it seems to be the core only, there's no pads or anything to connect the chip to a package, it's just the core logic.

His complaints about the inability to find any details on GPU architectures strikes me as weird because there's a wealth of information about it out there, especially if (as he clarifies in later posts in his thread) you're ignoring the fixed function and graphics aspects of a GPU and just making it GPGPU, at which point the architecture is largely "high-way SMT in-order CPU architecture with SIMD execution units"--nothing out of the ordinary in any advanced computer architecture course.


Also, from the article:

Interestingly, Anthropic’s Claude Opus AI tools have been useful during this GPU designing stage. “I've been proposing my ideas for how each unit must work to Claude, and then somehow it will guide me toward the right implementation approaches which I can then go and confirm with open-source repos,” explained the engineer.


Maybe his next opus will be a disassembled clock radio in a pencil case?


"Don't be snarky."

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

https://news.ycombinator.com/newsguidelines.html


> A good critical comment teaches us something.

I think it did. I am very rarely just snarky and I certainly wasn't in this case.


I’m sorry, what has this guy done? It really doesn’t sound like he’s actually done much? I’ve also read about fabrication and that means jack all - it doesn’t sound like this guy is doing his own fabrication, if anything it sounds like pretty run of the mill 2nd/3rd year logic circuit design?

From other comments though I’m not sure it’s even that?

I can’t tell because twitter makes it hard to read threads now and I can’t tell if details are missing from the article, or literally there nothing to actually report on?

Also the comments on GPUs is really confusing? It sounds like someone has bought into the mythology of GPUs being somehow magic, rather than simply many parallel micro-micro processors.


As best as I can tell, this is someone who's speed-run something like nand2tetris and an intro-to-EDA-tools tutorial, and is now trying to move into GPUs and is somehow distraught about how hard it is to make that conceptual leap. And this was picked up by a reporter trying to make a quick article who doesn't fully understand what he is reporting on and thinks it's something more impressive than it really is.

To be clear: I think that a decently motivated person can go from "0 knowledge" to a toy implementation of a CPU in a digital logic simulator in something like 20 hours of focus or so (especially if the digital logic simulator gives you prebuilt components for things like adders and memory). I've never done digital design for circuits before, but I imagine it's a similar level of difficulty.

From parsing the Twitter user's comments, the GPU confusion seems to be the Twitter user skipping any attempt to learn advanced computer architecture because he thinks it's not on the critical path to building a GPU and doesn't realize that the information he's struggling to find is really just computer architecture 301.


The guy that wrote it looks like he's on a pretty brutal publishing schedule:

https://www.tomshardware.com/author/mark-tyson

That's like 2 articles a day. I can't imagine. I spend at least 10 weeks on each one I write.


Apart from the already mentioned nand2tetris project, if you want to build a physical CPU from scratch I would recommend one of the kits from Ben Eater: https://eater.net/

His YouTube channel has some excellent videos guiding the process: https://www.youtube.com/beneater


Ben's kits are for a simple 6502 computer.

If you'd like to build a CPU from scratch, I would suggest https://monster6502.com/

If you want to get really fancy, build the Monster 6502 and then use that as the CPU in your Ben Eater 6502 kit!


Correct me if I'm wrong, but neither the MOnSter 6502 nor any DIY kits are available for sale.


Nothing here has anything to do with creating a “CPU” in 2 weeks. In the Twitter authors defense he says “chip” not CPU and I didn’t see where he claimed to have actually successfully completed anything in 2 weeks just that he was “challenged to.” This article is pretty garbo.


Speedrun nandgame.com and nand2tetris if you'd like to make your own CPU from scratch


Working my way through Nand2Tetris, turns out it's quite a slow grind unless you've done it before, but very satisfying challenge.


This is like something you do in undergrad? It’s not easy but it’s not impressive in the slightest. Certainly not news worthy.


well, the interesting part here is that the tools (verilog and openlane) seem to work pretty well and are highly accessible. designing a cpu hasn't been a complicated exercise for decades, but implementing it has been.


Verilog is kind of trash by modern standards. Unfortunately we are stuck with it (well SystemVerilog) until tool vendors support something else.

It's kind of a similar situation to JavaScript actually. And in a similar way, you can compile to Verilog, but just like with JS it makes debugging much more painful.

There was this interesting project but it seems inactive: https://llhd.io/

There's also various alternative HDLs that seem to have various levels of solving the wrong problem (SpinalHDL, MyHDL, Chisel). This one looks quite interesting though: https://filamenthdl.com/


There's no human that could create a CPU from scratch in two weeks because the concept itself is nonsense.

This is like the guy on Twitter who threw MRI scans at Claude.

Or Juicero.


"This is like Juicero" is an excellent takedown.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: