- added ghdl make for unisim
- refactored git-svn-id: http://moon:8086/svn/vhdl/trunk@1505 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# -------------------------------------------------
|
||||
# Compile script for GHDL
|
||||
# -------------------------------------------------
|
||||
|
||||
# -------------------------------------------------
|
||||
# Global options
|
||||
# -------------------------------------------------
|
||||
LANG_STD := 93c
|
||||
IEEE_STD := standard
|
||||
WORK_LIB := ieee_proposed
|
||||
|
||||
|
||||
# -------------------------------------------------
|
||||
# Target options
|
||||
# -------------------------------------------------
|
||||
TARGET := ieee_proposed
|
||||
|
||||
LIB_PATH := ieee_proposed/modelsim
|
||||
|
||||
SRCS := $(LIB_PATH)/standard_additions_c.vhdl
|
||||
SRCS += $(LIB_PATH)/standard_textio_additions_c.vhdl
|
||||
SRCS += $(LIB_PATH)/env_c.vhdl
|
||||
SRCS += $(LIB_PATH)/std_logic_1164_additions.vhdl
|
||||
SRCS += $(LIB_PATH)/numeric_std_additions.vhdl
|
||||
SRCS += $(LIB_PATH)/numeric_std_unsigned_c.vhdl
|
||||
SRCS += $(LIB_PATH)/fixed_float_types_c.vhdl
|
||||
SRCS += $(LIB_PATH)/fixed_pkg_c.vhdl
|
||||
SRCS += $(LIB_PATH)/float_pkg_c.vhdl
|
||||
|
||||
include ../make/ghdl.mk
|
||||
|
||||
@@ -7,23 +7,22 @@
|
||||
# -------------------------------------------------
|
||||
LANG_STD := 93c
|
||||
IEEE_STD := standard
|
||||
WORK_LIB := ieee_proposed
|
||||
WORK_LIB := unisim
|
||||
|
||||
|
||||
# -------------------------------------------------
|
||||
# Target options
|
||||
# -------------------------------------------------
|
||||
TARGET := ghdl
|
||||
TARGET := unisim
|
||||
LIB_PATH := xilinx/libsrc
|
||||
|
||||
SRCS := standard_additions_c.vhdl
|
||||
SRCS += standard_textio_additions_c.vhdl
|
||||
SRCS += env_c.vhdl
|
||||
SRCS += std_logic_1164_additions.vhdl
|
||||
SRCS += numeric_std_additions.vhdl
|
||||
SRCS += numeric_std_unsigned_c.vhdl
|
||||
SRCS += fixed_float_types_c.vhdl
|
||||
SRCS += fixed_pkg_c.vhdl
|
||||
SRCS += float_pkg_c.vhdl
|
||||
SRCS := $(LIB_PATH)/unisims/unisim_VPKG.vhd
|
||||
SRCS += $(LIB_PATH)/unisims/unisim_VCOMP.vhd
|
||||
SRCS += $(LIB_PATH)/unisims/unisim_SMODEL.vhd
|
||||
SRCS += $(LIB_PATH)/unisims/unisim_VITAL.vhd
|
||||
|
||||
GHDL_OPTS := -fsynopsys -fexplicit
|
||||
|
||||
include ../make/ghdl.mk
|
||||
|
||||
include ../../../make/ghdl.mk
|
||||
|
||||
Reference in New Issue
Block a user