logoalt Hacker News

tverbeureyesterday at 7:50 PM3 repliesview on HN

For a small case, a colleague took a screenshot of waves in the waveform viewer and pasted it into the AI tool. It worked.

But for large cases, use tools to extract all interfaces from the waveform file and save it as a text file, or add $display statements in the Verilog itself to dump the transactions. A SOTA LLM will eat it up. You point it to the RTL, a log file with hundreds of thousands of lines, and give it a few lines to explain how it is supposed to behave. Just tell it "My simulation is hanging. Figure why." Wait 15 minutes and it will tell you why it hangs and which line to change in your code to fix it.

I've done the experiment after the fact: I had spent ~3 days to fix complicated 3 bugs. I then rolled back the code and told it "Here is the spec. Find all the bugs in this code". It found all 3 bugs in around 30 min. That's when I realized that things won't be the same anymore. (And don't get me wrong: I love debugging simulations.)


Replies

the_snoozeyesterday at 8:07 PM

This is why I asked:

>And why not take the alternative approach of identifying the subset of people who have indeed found solid uses and spread their best practices around?

A bottom-up approach has a far better chance of finding those particularly good use cases, and if you lean on the people how found those fits, they're more persuasive than top-down edicts. They actually know what they're talking about. If the point is to leverage AI for better work outcomes, someone with your experience is far more valuable than "here's a dashboard, make the number go up," which seems to be what's going on at Amazon.

show 2 replies
theszyesterday at 9:33 PM

Have you tried to change your HDL to something more modern like Bluespec System Verilog or, god forbid, anything embedded into Haskell or Scala?

I read that BSV source code is about three times shorter than similar design in Verilog and also has three times smaller defect density (defects per significant line of code). So just by changing the HDL from Verilog to BSV one can have nine (9) times less defects in the design.

show 1 reply
ua709yesterday at 7:59 PM

SOTA = State of the Art? Like say Claude Opus 4.5? I actually want to try this out.

show 1 reply