2017-08-22 12:48:03 +00:00
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## FIFO depth is 16Mb - 1M samples
|
2017-08-22 12:48:03 +00:00
|
|
|
set dac_fifo_name axi_ad9371_dacfifo
|
2018-08-10 07:34:45 +00:00
|
|
|
set dac_fifo_address_width 17
|
2017-08-22 12:48:03 +00:00
|
|
|
set dac_data_width 128
|
|
|
|
set dac_dma_data_width 128
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~51%
|
|
|
|
|
2017-08-22 12:48:03 +00:00
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
|
|
|
|
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__FPGA_PL2_ENABLE 1
|
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__SRCSEL {IOPLL}
|
2018-01-09 14:20:06 +00:00
|
|
|
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__FREQMHZ 200
|
2017-08-22 12:48:03 +00:00
|
|
|
|
|
|
|
source ../common/adrv9371x_bd.tcl
|
|
|
|
|
|
|
|
ad_connect sys_dma_clk sys_ps8/pl_clk2
|
|
|
|
ad_connect sys_dma_rstgen/ext_reset_in sys_rstgen/peripheral_reset
|
|
|
|
|
2017-11-10 16:11:46 +00:00
|
|
|
ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.XCVR_TYPE 2
|
|
|
|
ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.XCVR_TYPE 2
|
|
|
|
ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.XCVR_TYPE 2
|
|
|
|
|
2017-08-22 12:48:03 +00:00
|
|
|
ad_ip_parameter util_ad9371_xcvr CONFIG.XCVR_TYPE 2
|
2017-11-10 16:03:29 +00:00
|
|
|
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV 80
|
2017-08-22 12:48:03 +00:00
|
|
|
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
2018-03-05 10:25:28 +00:00
|
|
|
|
|
|
|
ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.DEVICE_TYPE 2
|
|
|
|
ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.DEVICE_TYPE 2
|
|
|
|
|