URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 59 |
Line 3... |
Line 3... |
CC = gcc
|
CC = gcc
|
|
|
# The location of the ModelSim installation, used
|
# The location of the ModelSim installation, used
|
# to build the C lib for VPI. Must contain a subdir with
|
# to build the C lib for VPI. Must contain a subdir with
|
# vpi_user.h.
|
# vpi_user.h.
|
MODEL=/opt/modelsim
|
MODEL=/opt/altera10/modelsim_ase
|
|
|
|
|
|
|
default: vpi
|
default: vpi
|
|
|
# This is for ModelSim under Linux (x86/32)
|
# This is for ModelSim under Linux (x86/32)
|
# If RH v7.1 or lower, add -noinhibit-exec
|
# If RH v7.1 or lower, add -noinhibit-exec
|
jp-io-vpi.so: $(SRCDIR)jp-io-vpi.c Makefile
|
jp-io-vpi.so: $(SRCDIR)jp-io-vpi.c Makefile
|
$(CC) -c -I$(MODEL)/modeltech/include $(SRCDIR)jp-io-vpi.c -o jp-io-vpi.o
|
$(CC) -fPIC -c -I$(MODEL)/include $(SRCDIR)jp-io-vpi.c -o jp-io-vpi.o
|
$(CC) -shared -Bsymbolic -o jp-io-vpi.so jp-io-vpi.o -lc
|
$(CC) -shared -Bsymbolic -o jp-io-vpi.so jp-io-vpi.o -lc
|
|
|
vpi: jp-io-vpi.so Makefile
|
vpi: jp-io-vpi.so Makefile
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.