- removed ROOT_PATH
- added templates for tb and package git-svn-id: http://moon:8086/svn/vhdl/trunk@1549 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
ROOT_PATH := $(VHDL_HOME)
|
|
||||||
LIB_PATH := $(ROOT_PATH)/lib
|
LIB_PATH := $(ROOT_PATH)/lib
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# -----------------------------------------------------------
|
||||||
|
include $(VHDL_HOME)/make/defs.mk
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
include package_other.inc
|
||||||
|
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
PKG_NAME := PACKAGE_NEW
|
||||||
|
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
$(PKG_NAME)_SRCS += $(PKG_OTHER_SRC)
|
||||||
|
$(PKG_NAME)_SRCS += $(LIB_PATH)/pkg_new.vhd
|
||||||
|
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# -----------------------------------------------------------
|
||||||
|
include $(VHDL_HOME)/make/defs.mk
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
include package1.inc
|
||||||
|
include package2.inc
|
||||||
|
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
SRCS := $(PACKAGE1_SRCS)
|
||||||
|
SRCS += $(PACKAGE2_SRCS)
|
||||||
|
SRCS += $(LIB_PATH)/tb_new.vhd
|
||||||
|
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
# Compile
|
||||||
|
TARGET := tb_new
|
||||||
|
ENTITY := tb_new
|
||||||
|
WITH_VCD := y
|
||||||
|
RUN_TIME := 1us
|
||||||
|
|
||||||
|
include $(VHDL_HOME)/make/ghdl.mk
|
||||||
|
# -----------------------------------------------------------
|
||||||
|
|
||||||
Reference in New Issue
Block a user