I am trying to make an executable file for the testbench file of an VHDL project (just an halfadder in VHDL). The name of the entity in the testbench file is HALFADDER_TB and, after compiling the vhd file called HALFADDER and the testbench file called HALFADDER_TB, when I type ghdl -e HALFADDER_TB I get the following error:

/usr/bin/x86_64-linux-gnu-ld: impossibile trovare -lz collect2: error: ld returned 1 exit status ghdl: compilation error

How can I solve? Some libraries missing? Thanks.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.