Open medbzkst opened 1 year ago
Thanks for your effort to get the c-ll-verilog-project updated. I also tried to get the parser compiled on rather new compilers and llvm-version. C.f. this fork: https://github.com/amibranch/c-ll-verilog (I am not really experienced in C++ - so comments would be highly appreciated - but that's not my point/request here).
However, so far I was not able to get the pass-module to work as intended (I compiled against llvmorg-18.1.0-rc3
and tried to run it with $ ./parser/parser filter.c | opt -p mem2reg -f | llvm-dis | opt --load=./codegen/verilog.so -p verilog -o filter.v
). Maybe you could update the simpleHLS.bash
-file, to make your change and the project testable as described in the README.md
?
Maybe it's just because I used the wrong pass-name. However, --print-passes
does also not list the verilog-pass.
Update: Support New Pass Manager (tested on LLVM 17/18) and migrate to CPP