3 ms·
Look up clash-lang.org. Haskell-modules->Verilog+VHDL with a simple compilation model so you're not leaving performance in the table. I wrote a 5-stage RISD pr
by Ericson2314 10y ago
Look up clash-lang.org. Haskell-modules->Verilog+VHDL with a simple compilation model so you're not leaving performance in the table.
I wrote a 5-stage RISD processor with it for school, was quite simple and easy to abstract.
If hardware was more competitive, industry coding practices would be more efficient. Instead their own self-conception of pain-points prevents them from going after this low-hanging fruit.
- thesz 10y agoHa! I wrote something like that long time ago: https://github.com/thesz/hhdl https://github.com/thesz/hhdl (even before clash) I had some translation algorithm from pure Haskell code to the HHDL internals. I even wrote MIPS clone using it (and it was simulated OKly). There's just no market for that.
- Ericson2314 10y agoCool! But note that Clash is actually compiling Haskell (i.e. analogous to GHCJS or something), rather than being an EDSL. I'm hoping (as is the author with http://qbaylogic.nl/ http://qbaylogic.nl/) that the market for FPGA soft(?)ware will suck less. Best case it pushes pressure on the fabs for ASICs, but we'll see.