From ada6a4e46770d22d528b2b6fbc2bdd71e5e3064d Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 4 Mar 2021 16:27:24 -0600 Subject: examples: Add IP to OOT RFNoC gain example This updates the gain example to show how to use RFNoC IP, in-tree Xilinx IP, and out-of-tree Xilinx IP in a custom RFNoC block. --- .../rfnoc-example/fpga/ip/cmplx_mul/Makefile.inc | 17 ++ .../rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci | 187 +++++++++++++++++++++ 2 files changed, 204 insertions(+) create mode 100644 host/examples/rfnoc-example/fpga/ip/cmplx_mul/Makefile.inc create mode 100644 host/examples/rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci (limited to 'host/examples/rfnoc-example/fpga/ip/cmplx_mul') diff --git a/host/examples/rfnoc-example/fpga/ip/cmplx_mul/Makefile.inc b/host/examples/rfnoc-example/fpga/ip/cmplx_mul/Makefile.inc new file mode 100644 index 000000000..14d456146 --- /dev/null +++ b/host/examples/rfnoc-example/fpga/ip/cmplx_mul/Makefile.inc @@ -0,0 +1,17 @@ +# +# Copyright 2021 Ettus Research, a National Instruments Brand +# +# SPDX-License-Identifier: LGPL-3.0-or-later +# + +include $(TOOLS_DIR)/make/viv_ip_builder.mak + +LIB_IP_CMPLX_MUL_SRCS = $(IP_BUILD_DIR)/cmplx_mul/cmplx_mul.xci + +LIB_IP_CMPLX_MUL_OUTS = $(addprefix $(IP_BUILD_DIR)/cmplx_mul/, \ +cmplx_mul.xci.out \ +synth/cmplx_mul.vhd \ +) + +$(LIB_IP_CMPLX_MUL_SRCS) $(LIB_IP_CMPLX_MUL_OUTS) : $(OOT_FPGA_DIR)/ip/cmplx_mul/cmplx_mul.xci + $(call BUILD_VIVADO_IP,cmplx_mul,$(ARCH),$(PART_ID),$(OOT_FPGA_DIR)/ip,$(IP_BUILD_DIR),0) diff --git a/host/examples/rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci b/host/examples/rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci new file mode 100644 index 000000000..9ba4231db --- /dev/null +++ b/host/examples/rfnoc-example/fpga/ip/cmplx_mul/cmplx_mul.xci @@ -0,0 +1,187 @@ + + + xilinx.com + xci + unknown + 1.0 + + + cmplx_mul + + + ACTIVE_LOW + + 10000000 + 0 + 0.000 + 0 + + 100000000 + 0 + 1 + 1 + 0 + 0 + undef + 0.000 + 10 + 0 + 0 + 0 + + 100000000 + 0 + 1 + 1 + 0 + 0 + undef + 0.000 + 4 + 0 + 0 + 0 + + 100000000 + 0 + 1 + 1 + 0 + 0 + undef + 0.000 + 4 + 0 + 0 + 0 + + 100000000 + 0 + 0 + 0 + 0 + 0 + undef + 0.000 + 0 + 0 + 0 + 0 + 16 + 16 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 7 + 1 + 80 + 1 + 1 + 33 + 32 + 1 + 32 + 1 + 8 + 1 + 1 + 1 + 0 + xc7k410t + kintex7 + 0 + 0 + 0 + 1 + false + 16 + true + 1 + 16 + 1 + 1 + testerific + Blocking + true + false + true + false + false + false + Automatic + 7 + Use_Mults + Performance + Pass_A_TLAST + 33 + Truncate + kintex7 + + + xc7k410t + fbg900 + VERILOG + + MIXED + -1 + + + TRUE + TRUE + IP_Flow + 17 + TRUE + . + + . + 2019.1.1_AR73068 + OUT_OF_CONTEXT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3