From 74a24c4eddea6f663b2999f65f69a2ef67956d71 Mon Sep 17 00:00:00 2001 From: AndreiGrozav Date: Wed, 7 Feb 2018 15:16:39 +0200 Subject: [PATCH] fmcomms2/common: Use DDS cordic on 14 bit atan LUT --- projects/fmcomms2/common/fmcomms2_bd.tcl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/fmcomms2/common/fmcomms2_bd.tcl b/projects/fmcomms2/common/fmcomms2_bd.tcl index b7becea6f..f188793ae 100644 --- a/projects/fmcomms2/common/fmcomms2_bd.tcl +++ b/projects/fmcomms2/common/fmcomms2_bd.tcl @@ -28,6 +28,10 @@ create_bd_port -dir O tdd_sync_t ad_ip_instance axi_ad9361 axi_ad9361 ad_ip_parameter axi_ad9361 CONFIG.ID 0 + +# set to 1 for CORDIC or 2 for POLYNOMIAL +ad_ip_parameter axi_ad9361 CONFIG.DAC_DDS_TYPE 1 +ad_ip_parameter axi_ad9361 CONFIG.DAC_DDS_CORDIC_DW 14 ad_connect sys_200m_clk axi_ad9361/delay_clk ad_connect axi_ad9361/l_clk axi_ad9361/clk ad_connect rx_clk_in_p axi_ad9361/rx_clk_in_p