From 4ec1204767ee87000831e2455145b6406ada6022 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 22 Jan 2019 13:20:26 +0000 Subject: [PATCH] fmcadc4: update adcfifo/dacfifo --- projects/fmcadc4/common/fmcadc4_bd.tcl | 6 ++++++ projects/fmcadc4/zc706/system_bd.tcl | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/projects/fmcadc4/common/fmcadc4_bd.tcl b/projects/fmcadc4/common/fmcadc4_bd.tcl index 8300730c3..4452eec49 100644 --- a/projects/fmcadc4/common/fmcadc4_bd.tcl +++ b/projects/fmcadc4/common/fmcadc4_bd.tcl @@ -1,6 +1,10 @@ source $ad_hdl_dir/library/jesd204/scripts/jesd204.tcl +set adc_fifo_name axi_ad9680_fifo +set adc_data_width 256 +set adc_dma_data_width 64 + # fmcadc4 # adc peripherals @@ -30,6 +34,8 @@ ad_ip_parameter axi_ad9680_dma CONFIG.CYCLIC 0 ad_ip_parameter axi_ad9680_dma CONFIG.DMA_DATA_WIDTH_SRC 64 ad_ip_parameter axi_ad9680_dma CONFIG.DMA_DATA_WIDTH_DEST 64 +ad_adcfifo_create $adc_fifo_name $adc_data_width $adc_dma_data_width $adc_fifo_address_width + ad_ip_instance util_cpack2 axi_ad9680_cpack { \ NUM_OF_CHANNELS 4 \ SAMPLES_PER_CHANNEL 4 \ diff --git a/projects/fmcadc4/zc706/system_bd.tcl b/projects/fmcadc4/zc706/system_bd.tcl index 2a66c09c5..13c89d937 100644 --- a/projects/fmcadc4/zc706/system_bd.tcl +++ b/projects/fmcadc4/zc706/system_bd.tcl @@ -1,8 +1,5 @@ -set adc_fifo_name axi_ad9680_fifo set adc_fifo_address_width 18 -set adc_data_width 256 -set adc_dma_data_width 64 source $ad_hdl_dir/projects/common/zc706/zc706_system_bd.tcl source $ad_hdl_dir/projects/common/zc706/zc706_plddr3_adcfifo_bd.tcl