2 ms·
> I have been wondering about using high-level languages to program FPGAs recently. In general this is a bad idea. It's a very tempting idea, but it leans heav
by pjc50 3y ago
> I have been wondering about using high-level languages to program FPGAs recently.
In general this is a bad idea. It's a very tempting idea, but it leans heavily on "sufficiently smart compiler" that's inevitably not that smart and also not well supported since it's one guy's research project. Even the vendor supported ones aren't that great.
You'd be better off with a higher-level or more modern HDL that compiles to Verilog/VHDL. "Chisel" is one such.
The need to control state vs time and manage pipelining makes most higher level software languages unhelpful when trying to get efficient FPGA performance. Not only that, higher level software languages tend to encourage recursion, which maps really badly to FPGA architecture.
- adam_walker 3y ago> You'd be better off with a higher-level or more modern HDL that compiles to Verilog/VHDL. "Chisel" is one such. As is Clash, the language this project was written in :) https://clash-lang.org/ https://clash-lang.org/