Hacker News new | ask | show | jobs
by xilinx_guy 1230 days ago
I would use VHDL-2008, but freely admit, it's more difficult and complex than Verilog. My reason for this choice is that you can do physical design in VHDL, since attributes are part of the language, and not grafted into pragmas like Verilog. This lets you do weird shit like designing physically placed ring oscillators and self-timed logic. Verilog can do it too, but only with major limitations. I wrote a recursive VHDL block to multiply a constant real number by a bit_vector, and it synthesizes wonderfully, complete with full pipelining. I used that to make a color space converter from RGB to YUV with full double precision coefficients, with the data path being any width I want. I doubt this can be done in Verilog. SystemVerilog can do it though.
1 comments

what are good VHDL learning resources for a newbie? thinking about using a lattice ECP5 in a design. primarily interested in using a risc V core to load files from an sd card and then do all realtime processing as programmable logic rather than on the risc V.