From f045dc1592125b5fe55ce45291a4824dddf47347 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 21 Mar 2021 18:36:23 +0000 Subject: [PATCH] - added GHDL makefiles for cordic git-svn-id: http://moon:8086/svn/vhdl/trunk@1440 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/radio/cordic/sim/Makefile.cordic_pipe_top | 34 ++++++++++++++++++ lib/radio/cordic/sim/Makefile.cordic_top | 35 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 lib/radio/cordic/sim/Makefile.cordic_pipe_top create mode 100644 lib/radio/cordic/sim/Makefile.cordic_top diff --git a/lib/radio/cordic/sim/Makefile.cordic_pipe_top b/lib/radio/cordic/sim/Makefile.cordic_pipe_top new file mode 100644 index 0000000..326c146 --- /dev/null +++ b/lib/radio/cordic/sim/Makefile.cordic_pipe_top @@ -0,0 +1,34 @@ +# ------------------------------------------------- +# Global options +# ------------------------------------------------- +LANG_STD := 93c +IEEE_STD := standard +WORK_DIR := work +WORK_LIB := work + +# ------------------------------------------------- +# Target options +# ------------------------------------------------- +LIB_PATH := ../../../../lib + +SRCS := $(LIB_PATH)/fixed/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 + +# ------------------------------------------------- +# Compile +TARGET := cordic_pipe_top +ENTITY := tb_cordic_pipe_top +WITH_GHW := y +RUN_TIME := 2000us + +GHDL_OPTS := -P../../../../Common/sim/ieee_proposed/modelsim/build/ghdl/ieee_proposed + +include ../../../../Common/make/ghdl.mk +# ------------------------------------------------- diff --git a/lib/radio/cordic/sim/Makefile.cordic_top b/lib/radio/cordic/sim/Makefile.cordic_top new file mode 100644 index 0000000..865d945 --- /dev/null +++ b/lib/radio/cordic/sim/Makefile.cordic_top @@ -0,0 +1,35 @@ +# ------------------------------------------------- +# Global options +# ------------------------------------------------- +LANG_STD := 93c +IEEE_STD := standard +WORK_DIR := work +WORK_LIB := work + +# ------------------------------------------------- +# Target options +# ------------------------------------------------- +LIB_PATH := ../../../../lib + +SRCS := $(LIB_PATH)/fixed/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 + +# ------------------------------------------------- +# Compile +TARGET := cordic_top +ENTITY := tb_cordic_top +WITH_GHW := y +RUN_TIME := 2000us + +GHDL_OPTS := -P../../../../Common/sim/ieee_proposed/modelsim/build/ghdl/ieee_proposed + +include ../../../../Common/make/ghdl.mk +# -------------------------------------------------