Hacker News new | ask | show | jobs
by ltbarcly3 21 days ago
Lol it's always cute to see the amount of confidence that people have for AI when they can't tell if the work it did is actually good.
1 comments

I don't think that's quite fair - this guy is clearly quite familiar with CPU design, it's very easy to run coremark, dhrystone, etc. to get a decent idea of performance, and for verification there's a reference model written in Sail you can compare against (though tbf it sounds like he didn't). AI is good at writing large test corpuses these days too.

So I would say it is relatively easy to tell if a vibe coded RISC-V CPU is actually good today. It's not like non-vibe coded RISC-V CPUs were amazingly well verified before anyway (except Ibex anyway). Even CVA6 has had some embarrassing bugs.

I expect this is a decent RISC-V core, but I also expect I could make one just as easily.

> for verification there's a reference model written in Sail you can compare against (though tbf it sounds like he didn't)

Can you elaborate on "it sounds like he didn't" because he clearly did? There is a Sail testbench at verification/s1_sail_cosim_tb.cpp.

I don't think chip design comes down to knocking out a theoretically correct design. Then you fab it and it can't run at more than 37mhz LOL.

I think you don't know what you don't know here.

I wish you’d use your knowledge to add to the discussion rather than discourage others.
It's a valid point. Anyone can write the logic - writing the logic so it runs fast is a completely different matter.
It's not that hard. In fact a lot of the work is tedious timing runs and doing pipelining or registering micro-optimisations which is the sort of thing AI is really good at.

What you're saying is applicable to the software world too - anyone can write Python pseudocode that is correct, writing Rust that runs fast is a completely different matter.

Except... AI is really good at that too.

So make a chip company and sell a RiscV superscalar chip. It's "not that hard" lol. There's a huge market for it. Do you hate money, or are you just so rich you can't be bothered, or are you talking crap?
It isn't. You can run tools to tell you the frequency the design can run at. This gives you a feedback signal for the LLM to optimize against. It isn't hard.

It is identical to running a profiler during llm codegen.

I do know about physical design too. Just because somebody doesn't explain every single thing in a comment doesn't mean you win the argument by highlighting something they didn't mention.
I'm sorry, I didn't mean this to be personally critical of you. I'm talking generally about saying to an AI "make a chip don't make any mistakes" and then thinking there is any chance of getting something that isn't trash in return, and being confident of that even though one doesn't have the domain knowledge to know if it's trash or not.

Specifically, for an advanced superscalar chip design, it is unlikely this guy single handedly, with claude or whatever, produced something highly valuable where hundreds of professional chip designers have failed.

you might even note that the author posted here that they closed timing at 500MHz on nangate45...