logoalt Hacker News

IshKebab • yesterday at 10:33 PM • 4 replies • view on HN

It's just a shame that (System)Verilog is such an awful awful language. And we're basically stuck with it, at least for ASICs, despite the availability of alternative HDLs that compile to SV.


Replies

taldo • yesterday at 10:51 PM

I worked for a couple of years in a SystemVerilog compiler, and I couldn't agree more with your sentiment.

From the compiler construction standpoint, it's grossly underspecified, to the point that our customers' designs were way more expressive than the spec.

And from the users' perspective, it's confusing, quite limited, and you end up having to resort to hacks to achieve what should be part of the language... Fortunately I can't remember any particularly bad examples, it's been 15 or so years since I left for greener pastures.

Still, I sometimes wonder, how much of HW design is influenced by the language decisions, these ugly hacks, and the emerging (System)Verilog design patterns? Could it be measurably better in a different world?

➕ show 1 reply
tialaramex • yesterday at 11:52 PM

Could we fix that do you think?

I think 25 years ago I would not have believed we would ever fix (La)TeX but here's Typst.

kreyenborgi • yesterday at 10:51 PM

Will I have the same learning effect if I use https://github.com/clash-lang/clash-compiler instead of straight verilog, or is the language a necessary part of it?

➕ show 1 reply
Lramseyer • yesterday at 10:59 PM

It's awful by design! Do you know how much Cadence, Synopsys, and Siemens profit off of the bloated LRM?