sinitame / vhdl-adder-example-medium

Code for the medium article explaining how to make hardware development on OSX
4 stars 1 forks source link

not working on MacOS catalina #1

Open sebo83910 opened 4 years ago

sebo83910 commented 4 years ago

Hi, I cloned the repos and launched make all. It failed with this message:

#Set the working directory
mkdir -p simulation/adder_tb/
#Importing the sources
Importing ...
ghdl -i --ieee=synopsys --std=08 --warn-no-vital-generic  --workdir=simulation/adder_tb/ --work=lib_VHDL src/adder.vhd tb/adder_tb.vhd
#Compiling the sources
Starting make ..
#Cleaning of the directory
mv e~adder_tb.o simulation/adder_tb/
mv: rename e~adder_tb.o to simulation/adder_tb/e~adder_tb.o: No such file or directory
make: *** [simulation/adder_tb/adder_tb.bin] Error 1
PhilippvK commented 4 years ago

Same problem here.

ivanholmes commented 4 years ago

I came across this as well. Switching to an LLVM version of ghdl fixed the problem for me.

At present the ghdl project doesn't supply a binary for this version. This issue may point you in the right direction for getting it to compile. https://github.com/ghdl/ghdl/issues/1368

eine commented 3 years ago

GHDL supports three different backends: mcode, LLVM or GCC. mcode is a built-in in-memory backend which does not generate object files. See the hints in https://ghdl.github.io/ghdl/quick_start/hello/README.html. Hence, the makefile in this repo does not support mcode ATM.