hdl / containers

Building and deploying container images for open source electronic design automation (EDA)
https://hdl.github.io/containers/
Apache License 2.0
107 stars 24 forks source link

debian-bullseye/ghdl: build mcode from head #68

Open NikLeberg opened 9 months ago

NikLeberg commented 9 months ago

Hi there!

I'm using the formal image to run formal verification on my VHDL designs.. or well, am learning how to do this. Thanks for this amazing tool collection! During fixing of https://github.com/ghdl/ghdl/issues/2569 I stumbled over the fact, that the ghdl base image is outdated by a few months. The root cause seems to be that ghdl/pkg image is no longer regularly updated:

image

As the dockerfile contained a ToDo note to build ghdl from source instead of using the ghdl/pkg image, I tried to do that. Please note that only the mcode backend is build from source. LLVM and GCC backends will still use the outdated pkg image (for now).

Running a test build with pyHDLC was successful and produced an updated ghdl image.

I'd be very happy if this pr gets merged. Let me know if I shall change anything.

Kind regards Nik