aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-06-16 11:31:45 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-29 14:03:17 -0500
commitcf82b36388880237fe7b690c16dde46afc1a3da3 (patch)
tree8e3812e5b2229c1030457a25815a668cb79ea108 /fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile
parent1cef9d62d698a7cc33f936ab3df32e6dcd933487 (diff)
downloaduhd-cf82b36388880237fe7b690c16dde46afc1a3da3.tar.gz
uhd-cf82b36388880237fe7b690c16dde46afc1a3da3.tar.bz2
uhd-cf82b36388880237fe7b690c16dde46afc1a3da3.zip
fpga: rfnoc: Add Log-Power block
Diffstat (limited to 'fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile')
-rw-r--r--fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile
new file mode 100644
index 000000000..cd8e2e45b
--- /dev/null
+++ b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_logpwr/Makefile
@@ -0,0 +1,46 @@
+#
+# Copyright 2020 Ettus Research, a National Instruments Brand
+#
+# SPDX-License-Identifier: LGPL-3.0-or-later
+#
+
+#-------------------------------------------------
+# Top-of-Makefile
+#-------------------------------------------------
+# Define BASE_DIR to point to the "top" dir. Note:
+# UHD_FPGA_DIR must be passed into this Makefile.
+BASE_DIR = ../../../../top
+# Include viv_sim_preample after defining BASE_DIR
+include $(BASE_DIR)/../tools/make/viv_sim_preamble.mak
+
+#-------------------------------------------------
+# Design Specific
+#-------------------------------------------------
+# Include makefiles and sources for the DUT and its
+# dependencies.
+include $(BASE_DIR)/../lib/rfnoc/core/Makefile.srcs
+include $(BASE_DIR)/../lib/rfnoc/utils/Makefile.srcs
+include Makefile.srcs
+
+DESIGN_SRCS += $(abspath \
+$(RFNOC_CORE_SRCS) \
+$(RFNOC_UTIL_SRCS) \
+$(RFNOC_OOT_SRCS) \
+)
+
+#-------------------------------------------------
+# Testbench Specific
+#-------------------------------------------------
+SIM_TOP = rfnoc_block_logpwr_all_tb glbl
+SIM_SRCS = \
+$(abspath rfnoc_block_logpwr_tb.sv) \
+$(abspath rfnoc_block_logpwr_all_tb.sv) \
+$(VIVADO_PATH)/data/verilog/src/glbl.v \
+
+#-------------------------------------------------
+# Bottom-of-Makefile
+#-------------------------------------------------
+# Include all simulator specific makefiles here
+# Each should define a unique target to simulate
+# e.g. xsim, vsim, etc and a common "clean" target
+include $(BASE_DIR)/../tools/make/viv_simulator.mak