28 lines
754 B
Makefile
28 lines
754 B
Makefile
# -------------------------------------------------
|
|
# Compile script for GHDL
|
|
# -------------------------------------------------
|
|
include $(VHDL_HOME)/make/defs.mk
|
|
|
|
# -------------------------------------------------
|
|
# Global options
|
|
# -------------------------------------------------
|
|
LANG_STD := 93c
|
|
IEEE_STD := standard
|
|
WORK_LIB := unisim
|
|
TARGET := ghdl
|
|
|
|
STD_LIB_PATH := xilinx/libsrc/unisims
|
|
# -------------------------------------------------
|
|
# Target options
|
|
# -------------------------------------------------
|
|
SRCS := $(STD_LIB_PATH)/unisim_VPKG.vhd
|
|
SRCS += $(STD_LIB_PATH)/unisim_VCOMP.vhd
|
|
SRCS += $(STD_LIB_PATH)/unisim_SMODEL.vhd
|
|
SRCS += $(STD_LIB_PATH)/unisim_VITAL.vhd
|
|
|
|
GHDL_OPTS := -fsynopsys -fexplicit
|
|
|
|
include $(VHDL_HOME)/make/ghdl.mk
|
|
|
|
|