Re:Chisel: A Modern Hardware Design Language
by IshKebab on Wednesday December 27, 2023 @03:38PM
(#38786451)
> However in my experience good use of verilog style guides and decent linting tools solves most of the problem. You do still get bugs caused by missed typing issues but they're usually quickly caught by simple tests.
Decent linting tools are really expensive. And even it verif does catch all these simple typing mistakes, they still cost a huge amount of time!
I think the real issue with most of these "compile to Verilog" tools is that all the vendor tools work with SystemVerilog, and now you're debugging autogenerated code, which sucks.
Another huge issue is formal verification. The tools only understand SVA so you basically have to be using SystemVerilog.
> I think my ideal HDL at this point is a stripped down SystemVerilog with a good type system, better generative capability that crucially produces plain system verilog that's human readable (maintaining comments, signal and module names and module hierarchy as much as possible).
I 100% agree here. There's a gazillion things you could fix in SystemVerilog and still have something that compiles to something similar enough that it's easy to debug. Kiiind of like Typescript for SystemVerilog. I wonder if anyone is working on that.
Decent linting tools are really expensive. And even it verif does catch all these simple typing mistakes, they still cost a huge amount of time!
I think the real issue with most of these "compile to Verilog" tools is that all the vendor tools work with SystemVerilog, and now you're debugging autogenerated code, which sucks.
Another huge issue is formal verification. The tools only understand SVA so you basically have to be using SystemVerilog.
> I think my ideal HDL at this point is a stripped down SystemVerilog with a good type system, better generative capability that crucially produces plain system verilog that's human readable (maintaining comments, signal and module names and module hierarchy as much as possible).
I 100% agree here. There's a gazillion things you could fix in SystemVerilog and still have something that compiles to something similar enough that it's easy to debug. Kiiind of like Typescript for SystemVerilog. I wonder if anyone is working on that.