Re:Chisel: A Modern Hardware Design Language
by gchadwick on Wednesday December 27, 2023 @01:05PM
(#38784647)
Yeah I should really get around to learning VHDL!
Re:Chisel: A Modern Hardware Design Language
by ur-whale on Wednesday December 27, 2023 @01:27PM
(#38784901)
> This is why I prefer VHDL. It's strongly typed.
I agree, and I must say I feel much "safer" when coding in VHDL than I do in Verilog, but OTOH, VHDL's strong typing sometimes cuts the other way.
I have found myself way too many times at the receiving end of VHDL's type system furiously trying to prevent me from casting something of type A to something of type B when I knew the underlying bit representation made the cast absolutely trivial.
This is why I prefer VHDL. It's strongly typed. I worked at an EDA company on an HLS tool that generated HDL (Verilog, VHDL and SystemC). Customers would report linting problems with the generated Verilog. Since backend code generation was what I worked on I got to fix them. We had almost 0 problems with the generated VHDL mostly due to strong typing. But lots of issues with the generated Verilog that needed fixing.
> Another typical improvement you'll find in an alternative HDL is vastly improved parameterization and generics
Another area where VHDL was already there. SystemVerilog makes some improvements over Verilog.