Files
b210-k7-fpga/lib/ip/complex_to_magphase_int17/Makefile.inc
T
Wade Fife 4f99fee248 fpga: lib: Add complex_to_magphase_int17 IP
The underlying Xilinx CORDIC IP uses 2 bits for the whole part of its
(X,Y) inputs and its magnitude output. So, having 17 bits means we have
enough precision to represent the entire range of an sc16. The 16-bit
CORDIC is insufficient to cover this entire range.


Original-commit: 0d3d69493aac9239ae437b04f291c61669678606
2024-12-17 22:13:42 +01:00

22 lines
838 B
Makefile

#
# Copyright 2024 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
include $(TOOLS_DIR)/make/viv_ip_builder.mak
LIB_IP_COMPLEX_TO_MAGPHASE_INT17_SRCS = $(IP_BUILD_DIR)/complex_to_magphase_int17/complex_to_magphase_int17.xci
LIB_IP_COMPLEX_TO_MAGPHASE_INT17_OUTS = $(addprefix $(IP_BUILD_DIR)/complex_to_magphase_int17/, \
complex_to_magphase_int17.xci.out \
synth/complex_to_magphase_int17.vhd \
)
.INTERMEDIATE: LIB_IP_COMPLEX_TO_MAGPHASE_INT17_TRGT
$(LIB_IP_COMPLEX_TO_MAGPHASE_INT17_SRCS) $(LIB_IP_COMPLEX_TO_MAGPHASE_INT17_OUTS): LIB_IP_COMPLEX_TO_MAGPHASE_INT17_TRGT
@:
LIB_IP_COMPLEX_TO_MAGPHASE_INT17_TRGT: $(LIB_IP_DIR)/complex_to_magphase_int17/complex_to_magphase_int17.xci
$(call BUILD_VIVADO_IP,complex_to_magphase_int17,$(ARCH),$(PART_ID),$(LIB_IP_DIR),$(IP_BUILD_DIR),0)