sabbaghm / c-ll-verilog

An LLVM based mini-C to Verilog High-level Synthesis tool
MIT License
35 stars 9 forks source link

Is this project maintained? #3

Open amibranch opened 7 months ago

amibranch commented 7 months ago

I discovered this project while searching for open-source HLS-solutions.

Unfortunately, this project pretty much looks abandoned. The last commit dates back to 2017 and it was impossible for me to build the project with a recent version of gcc, throwing a bunch of errors.

For reproducibility, I used the following gcc-version:

$ g++ --version
g++ (GCC) 13.2.1

I propose to use this issue to let anyone, willing to maintain the project, fork it and update the source code in order to make it compatible with more recent compiler versions.

amibranch commented 7 months ago

To be fair, I will share some more context about my specific problems:

Apparently the current ABI of libllvm does only support C++17. However, exchanging the CXX-flag in the Makefile is not sufficient to make it compile on modern systems, as there have been also some general ABI-changes in Libllvm that require adaption for c-ll-verilog.

The described problems could be reproduced with the following Dockerfile:

FROM ubuntu:22.04

RUN apt update
RUN apt install -y make g++ git llvm bison flex
RUN git clone https://github.com/medbzkst/c-ll-verilog.git
RUN make -C c-ll-verilog

(just run $ docker build .)