- 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:
2021-03-28 13:27:25 +00:00
parent b4f968c7c4
commit 6984f03f6f
3 changed files with 35 additions and 1 deletions
-1
View File
@@ -1,3 +1,2 @@
ROOT_PATH := $(VHDL_HOME)
LIB_PATH := $(ROOT_PATH)/lib
+14
View File
@@ -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
# -----------------------------------------------------------
+21
View File
@@ -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
# -----------------------------------------------------------