3 ms·
There was some interesting discussion between the LLHD[1] and MLIR[2] folks about just this topic recently[3]. My takeaway: modeling behavioral HDL semantics in
by mikeurbach 6y ago
There was some interesting discussion between the LLHD[1] and MLIR[2] folks about just this topic recently[3]. My takeaway: modeling behavioral HDL semantics in the IR is a huge mess that has to account for all of the complexity in the existing HDL landscape. However, there is hope for modeling structural HDL semantics in an IR that could be the target for many languages.
You mentioned LLVM, and I think of MLIR as sort of a successor to LLVM. I'm hopeful that a low-level HDL IR is standardized as an MLIR dialect, so the compiler ecosystem and the hardware ecosystem can start to unite.
[1] https://news.ycombinator.com/item?id=22825107 https://news.ycombinator.com/item?id=22825107
[2] https://news.ycombinator.com/item?id=22429107 https://news.ycombinator.com/item?id=22429107
[3] https://drive.google.com/file/d/1x7B0IRdcJ5JBQvfHbPUBcShbTFCMlrbe/view https://drive.google.com/file/d/1x7B0IRdcJ5JBQvfHbPUBcShbTFC...
- ancharm 6y agoI love the idea of LLHD. Also LNAST. There are some great ideas here. https://github.com/masc-ucsc/livehd https://github.com/masc-ucsc/livehd