- refactored
git-svn-id: http://moon:8086/svn/vhdl/trunk@1485 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# -----------------------------------------------------------
|
||||
PKG_NAME := CORDIC_ITERATIVE
|
||||
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/cordic/src/cordic_pkg.vhd
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_rom.vhd
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_stage.vhd
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_stage_pre.vhd
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_stage_post.vhd
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/cordic_top.vhd
|
||||
|
||||
# -----------------------------------------------------------
|
||||
$(PKG_NAME)_SRCS := $(addprefix $(CUR_PATH)/,$(SRCS))
|
||||
|
||||
SRCS :=
|
||||
CUR_PATH :=
|
||||
ROOT_PATH :=
|
||||
LIB_PATH :=
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# -----------------------------------------------------------
|
||||
PKG_NAME := CORDIC_PIPE
|
||||
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/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
|
||||
|
||||
# -----------------------------------------------------------
|
||||
$(PKG_NAME)_SRCS := $(addprefix $(CUR_PATH)/,$(SRCS))
|
||||
|
||||
SRCS :=
|
||||
CUR_PATH :=
|
||||
ROOT_PATH :=
|
||||
LIB_PATH :=
|
||||
|
||||
+6
-8
@@ -1,3 +1,6 @@
|
||||
# -------------------------------------------------
|
||||
include cordic_iterative.inc
|
||||
|
||||
# -------------------------------------------------
|
||||
# Global options
|
||||
# -------------------------------------------------
|
||||
@@ -13,17 +16,12 @@ 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 += ../src/cordic_pkg.vhd
|
||||
SRCS += ../src/cordic_rom.vhd
|
||||
SRCS += ../src/cordic_stage.vhd
|
||||
SRCS += ../src/cordic_stage_pre.vhd
|
||||
SRCS += ../src/cordic_stage_post.vhd
|
||||
SRCS += ../src/cordic_top.vhd
|
||||
SRCS += ../src/tb_cordic_top.vhd
|
||||
SRCS += $(CORDIC_ITERATIVE_SRCS)
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/tb_cordic_top.vhd
|
||||
|
||||
# -------------------------------------------------
|
||||
# Compile
|
||||
TARGET := cordic_top
|
||||
TARGET := tb_cordic_iterative_top
|
||||
ENTITY := tb_cordic_top
|
||||
WITH_VCD := y
|
||||
RUN_TIME := 300us
|
||||
+6
-7
@@ -1,3 +1,6 @@
|
||||
# -------------------------------------------------
|
||||
include cordic_pipe.inc
|
||||
|
||||
# -------------------------------------------------
|
||||
# Global options
|
||||
# -------------------------------------------------
|
||||
@@ -13,16 +16,12 @@ 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 += ../src/cordic_pkg.vhd
|
||||
SRCS += ../src/cordic_pipe_stage.vhd
|
||||
SRCS += ../src/cordic_pipe_pre.vhd
|
||||
SRCS += ../src/cordic_pipe_post.vhd
|
||||
SRCS += ../src/cordic_pipe_top.vhd
|
||||
SRCS += ../src/tb_cordic_pipe_top.vhd
|
||||
SRCS += $(CORDIC_PIPE_SRCS)
|
||||
SRCS += $(LIB_PATH)/radio/cordic/src/tb_cordic_pipe_top.vhd
|
||||
|
||||
# -------------------------------------------------
|
||||
# Compile
|
||||
TARGET := cordic_pipe_top
|
||||
TARGET := tb_cordic_pipe_top
|
||||
ENTITY := tb_cordic_pipe_top
|
||||
WITH_VCD := y
|
||||
RUN_TIME := 150us
|
||||
Reference in New Issue
Block a user