- refactored

git-svn-id: http://moon:8086/svn/vhdl/trunk@1488 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2021-03-23 13:57:28 +00:00
parent bfa464ddb8
commit af3f095306
6 changed files with 53 additions and 14 deletions
+20
View File
@@ -0,0 +1,20 @@
# -----------------------------------------------------------
include ../../../../lib/radio/cordic/ghdl/cordic_pipe.inc
# -----------------------------------------------------------
PKG_NAME := MIX_CORDIC_PIPE
ROOT_PATH := ../../../..
LIB_PATH := $(ROOT_PATH)/lib
CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS := $(CORDIC_PIPE_SRCS)
SRCS += $(LIB_PATH)/radio/nco/src/mix_cordic_pipe.vhd
# -----------------------------------------------------------
$(PKG_NAME)_SRCS := $(addprefix $(CUR_PATH)/,$(SRCS))
SRCS :=
CUR_PATH :=
ROOT_PATH :=
LIB_PATH :=
+21
View File
@@ -0,0 +1,21 @@
# -----------------------------------------------------------
PKG_NAME := NCO_LUT
ROOT_PATH := ../../../..
LIB_PATH := $(ROOT_PATH)/lib
CUR_PATH := $(shell dirname $(lastword $(MAKEFILE_LIST)))
# -----------------------------------------------------------
SRCS := $(LIB_PATH)/fixed/ieee_proposed/fixed_util_pkg.vhd
SRCS += $(LIB_PATH)/radio/nco/src/nco_pkg.vhd
SRCS += $(LIB_PATH)/radio/nco/src/waverom_dual.vhd
SRCS += $(LIB_PATH)/radio/nco/src/wavelut.vhd
SRCS += $(LIB_PATH)/radio/nco/src/nco_lut_dbg.vhd
# -----------------------------------------------------------
$(PKG_NAME)_SRCS := $(addprefix $(CUR_PATH)/,$(SRCS))
SRCS :=
CUR_PATH :=
ROOT_PATH :=
LIB_PATH :=
@@ -1,3 +1,8 @@
# -------------------------------------------------
# Includes
# -------------------------------------------------
include mix_cordic_pipe.inc
# -------------------------------------------------
# Global options
# -------------------------------------------------
@@ -10,20 +15,14 @@ WORK_LIB := work
# -------------------------------------------------
LIB_PATH := ../../../../lib
SRCS := $(LIB_PATH)/fixed/ieee_proposed/fixed_util_pkg.vhd
SRCS += $(LIB_PATH)/PCK_FIO-2002.7/PCK_FIO_1993.vhd
SRCS += $(LIB_PATH)/PCK_FIO-2002.7/PCK_FIO_1993_BODY.vhd
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_pkg.vhd
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_pipe_stage.vhd
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_pipe_pre.vhd
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_pipe_post.vhd
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_pipe_top.vhd
SRCS += $(LIB_PATH)/radio/nco/src/mix_cordic.vhd
SRCS += $(MIX_CORDIC_PIPE_SRCS)
SRCS += $(LIB_PATH)/radio/nco/src/tb_nco_cordic.vhd
# -------------------------------------------------
# Compile
TARGET := nco_cordic
TARGET := tb_nco_cordic
ENTITY := tb_nco
WITH_VCD := y
RUN_TIME := 250us
@@ -1,3 +1,6 @@
# -------------------------------------------------
include nco_lut.inc
# -------------------------------------------------
# Global options
# -------------------------------------------------
@@ -10,18 +13,14 @@ WORK_LIB := work
# -------------------------------------------------
LIB_PATH := ../../../../lib
SRCS := $(LIB_PATH)/fixed/ieee_proposed/fixed_util_pkg.vhd
SRCS += $(LIB_PATH)/PCK_FIO-2002.7/PCK_FIO_1993.vhd
SRCS += $(LIB_PATH)/PCK_FIO-2002.7/PCK_FIO_1993_BODY.vhd
SRCS += $(LIB_PATH)/radio/nco/src/nco_pkg.vhd
SRCS += $(LIB_PATH)/radio/nco/src/waverom_dual.vhd
SRCS += $(LIB_PATH)/radio/nco/src/wavelut.vhd
SRCS += $(LIB_PATH)/radio/nco/src/nco_lut_dbg.vhd
SRCS += $(NCO_LUT_SRCS)
SRCS += $(LIB_PATH)/radio/nco/src/tb_nco_lut.vhd
# -------------------------------------------------
# Compile
TARGET := nco_lut
TARGET := tb_nco_lut
ENTITY := tb_nco
WITH_VCD := y
RUN_TIME := 250us