-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ghdl and ghdl-yosys-plugin #171
Comments
@umarcor can you take a look at this? |
The main challenge is the availability of an Ada compiler in the Conda ecosystem. GHDL is written in Ada, so that's required in order to build the ghdl binary or the libghdl shared library. The ghdl-yosys-plugin is written in C, so an Ada compiler is not required. However, it depends on libghdl and on the assets of a GHDL installation. |
@proppy @PiotrZierhoffer would you know how to customize a compiler to enable Ada support in GCC? /cc @mithro |
@umarcor wouldn't conda-forge/staged-recipes#14692 also help? |
@proppy, I believe that the main purpose is to support it on Linux, because all the tools are expected to be available, while some might be missing on Windows or macOS. MSYS2 packages on Windows are known to work (one of my main workstation is a Windows 10 with MSYS2). |
@umarcor ah yes, what I meant was that having the ada compiler available in conda-forge could enable us to build a recipe for this. |
Are these of any use? |
Also found a gcc ada compiler that runs on M1 macs |
It seems that there is https://github.com/hdl/conda-eda/tree/master/syn/ghdlsynth in the repo but it doesn't seems to be currently included in the CI https://github.com/hdl/conda-eda/search?q=ghdlsynth (and therefore not published). @PiotrZierhoffer @umarcor do you know if that's related to this effort? |
/cc @xobs |
@proppy see https://github.com/hdl/conda-eda/commits/master/syn/ghdlsynth. I guess it never worked because there was never an Ada compiler available. So, the recipe/metadata are good enough, but a build time dependency is missing in the environment. |
In order to use VHDL with the yosys flows, we need ghdl and the ghdl yosys plugin to be part of the environment.
https://github.com/ghdl/ghdl-yosys-plugin
https://github.com/ghdl/ghdl.git
The text was updated successfully, but these errors were encountered: