4 ms·
Please take a look at clash[1]. You can design digital circuits using Haskell and all the fancy language features Haskell has. It doesn't have a story for inter
by rowanG077 7y ago
Please take a look at clash[1]. You can design digital circuits using Haskell and all the fancy language features Haskell has. It doesn't have a story for interop between the software world though. I love using it!
[1] https://clash-lang.org/ https://clash-lang.org/
- nikofeyn 7y agoi've heard of it before. i'll be honest: i don't much like haskell. for example, this makes me crazy (haha): mmult mA mB = result where mBT = transpose mB dot a b = sum $ zipWith (*) a b result = map (\ar -> dot ar <$> mBT) mA either way, this is along the right lines. however, what FPGAs can you target? any xilinx chips? it's really gonna take xilinx or altera to innovate in this space, but that is unlikely any time soon.
- jdsully 7y agoXilinx is all in on high level synthesis. Although they are focusing on C++ and python instead of functional languages.
- vmchale 7y agoI'm kind of surprised. I get that Haskell/ML may not be the best-known, but even an original functional language is better than spamming pragmas on for loops
- rowanG077 7y agoYou can target any FPGA. Clash compiles to VHDL or Verilog.
- vmchale 7y ago> it's really gonna take xilinx or altera to innovate in this space, but that is unlikely any time soon. I think people already use Clash/Haskell to write HDL.