Hello,

> I am in a fight with ghdl or my design to get the Altera libraries
> getting found.
> It keep coming back to me with :
> 
> /projects/SerialLink/ghdl/../src/SerialLinkFifo.vhd:39:9: cannot find
> resource library "altera_mf"
> 
> SerialLinkFifo is a fifo generated by Quartus Megawizard.
> 
> That requires compilation of the altera_mf and altera_mf_components
> vhdl files.
> 
> Below is a part of my Makefile
> 
> compile:
>       @(echo "Compile SerialLink with GHDL"; \
>               $(GHDL_CMD) -i $(GHDL_FLAGS) --workdir=compiled --work=altera_mf
> $(ALTERA_LIST) ; \
>               $(GHDL_CMD) -i $(GHDL_FLAGS) --workdir=compiled --work=work
>               $(VHDL_LIST) ; \
>               $(GHDL_CMD) -i $(GHDL_FLAGS) --workdir=compiled --work=work
> $(TB_VHDL_LIST) ; \
>               $(GHDL_CMD) -m -g -Paltera_mf $(GHDL_FLAGS) --workdir=compiled
> --work=work $(TESTBENCH) ; \
>       );
> 
> I have tried different "work" and "workdir" setting without success.
> 
> Even compiling with the -a en -e switches give similar result.
> 
> 
> Any one an idea ?

It is difficult to comment as you haven't disclosed details: ghdl version,
definition of GHDL_FLAGS...

You'd better to start with simple commands:
ghdl -a --work=altera_mf ALTERA_FILES
ghdl -a YOUR_SOURCES
ghdl -e TOP_UNIT

Regards,
Tristan.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to