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 +# -------------------------------------------------