diff --git a/library/axi_ad7616/axi_ad7616.v b/library/axi_ad7616/axi_ad7616.v index ec85161a2..e18708ea0 100644 --- a/library/axi_ad7616/axi_ad7616.v +++ b/library/axi_ad7616/axi_ad7616.v @@ -143,7 +143,7 @@ module axi_ad7616 ( output [31:0] s_axi_rdata; input s_axi_rready; - output [31:0] m_axis_tdata; + output [(NUM_OF_SDI * DATA_WIDTH-1):0] m_axis_tdata; input m_axis_tready; output m_axis_tvalid; input m_axis_xfer_req; diff --git a/projects/ad7616_sdz/common/ad7616_bd.tcl b/projects/ad7616_sdz/common/ad7616_bd.tcl index 0cf4e3178..858459e44 100644 --- a/projects/ad7616_sdz/common/ad7616_bd.tcl +++ b/projects/ad7616_sdz/common/ad7616_bd.tcl @@ -30,7 +30,7 @@ set_property -dict [list CONFIG.DMA_TYPE_SRC {1}] $axi_ad7616_dma set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad7616_dma set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad7616_dma set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad7616_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {32}] $axi_ad7616_dma +set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {16}] $axi_ad7616_dma set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad7616_dma # interface connections @@ -57,7 +57,6 @@ if {$ad7616_if == 0} { ad_connect cnvst axi_ad7616/cnvst ad_connect busy axi_ad7616/busy - } ad_connect sys_cpu_clk axi_ad7616_dma/s_axis_aclk