HLS & LLVM

Last few days I learned that the C++ translation to IR requires AST (abstract syntax tree), and it seems to me that this is much the same as the HLS. From HLS (high leve synthesis) tool, you input a C++ code and output a RTL, usualy verilog code, which is a hardware descriptoin language. I learned HLS and used tools before, for FPGA mapping we use Vivado HLS, or called Vitis now (original owned by Xilinx, which is aquired by AMD). I think if we can leverage the same technique, perhaps we can do the same techqiue and map arbitary C++ code to RTL. ...

January 5, 2026 · 2 min

Clangd & LLVM

Recently I saw YT streaming for C++ compiling, and find that many people are using alngd for building C++, and I’m curious about what is the difference for clangd and gcc compiler, since during my work with CAD tools, we always use gcc for compiling. After discussion with AI, they are a old style (gcc) and new style (clangd). Old style does not mean that they are worse. Here is a table for the comparison: ...

January 3, 2026 · 2 min