Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions docs/projects/ad916x_fmc/ad916x_fmc_zcu102_block_diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 8 additions & 7 deletions docs/projects/ad916x_fmc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ The data path and clock domains are depicted in the below diagram:
- :git-hdl:`axi_dmac <library/axi_dmac>`
- :ref:`axi_dmac`
- ---
* - DATA_OFFLOAD
- :git-hdl:`data_offload <library/data_offload>`
- :ref:`data_offload`
- ---
* - TX JESD LINK
- axi_ad916x_jesd
- :ref:`axi_jesd204_tx`
Expand All @@ -81,10 +85,6 @@ The data path and clock domains are depicted in the below diagram:
- :git-hdl:`library/xilinx/util_adxcvr`
- :ref:`util_adxcvr`
- ---
* - UTIL_DACFIFO
- :git-hdl:`util_dacfifo <library/util_dacfifo>`
- ---
- ---
* - UTIL_UPACK
- :git-hdl:`util_upack2 <library/util_pack/util_upack2>`
- :ref:`util_upack2`
Expand Down Expand Up @@ -156,6 +156,7 @@ dac_jesd204_transport 0x84A0_4000
dac_jesd204_xcvr 0x84A6_0000
dac_jesd204_link 0x84A9_0000
dac_dma 0x9C42_0000
dac_data_offload 0x9C43_0000
======================== ===========

SPI connections
Expand Down Expand Up @@ -311,6 +312,9 @@ HDL related
* - AXI_ADXCVR for AMD
- :git-hdl:`library/xilinx/axi_adxcvr`
- :ref:`axi_adxcvr amd`
* - DATA_OFFLOAD
- :git-hdl:`library/data_offload`
- :ref:`data_offload`
Comment on lines +315 to +317
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add UTIL_DO_RAM to the dependencies list.

* - JESD204_TPL_DAC
- :git-hdl:`library/jesd204/ad_ip_jesd204_tpl_dac`
- :ref:`ad_ip_jesd204_tpl_dac`
Expand All @@ -320,9 +324,6 @@ HDL related
* - UTIL_ADXCVR for AMD
- :git-hdl:`library/xilinx/util_adxcvr`
- :ref:`util_adxcvr`
* - UTIL_DACFIFO
- :git-hdl:`library/util_dacfifo`
- :ref:`util_rfifo`
* - UTIL_UPACK2
- :git-hdl:`library/util_pack/util_upack2`
- :ref:`util_upack2`
Expand Down
7 changes: 5 additions & 2 deletions projects/ad916x_fmc/zcu102/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ M_DEPS += ../../dac_fmc_ebz/common/dac_fmc_ebz_bd.tcl
M_DEPS += ../../scripts/adi_pd.tcl
M_DEPS += ../../common/zcu102/zcu102_system_constr.xdc
M_DEPS += ../../common/zcu102/zcu102_system_bd.tcl
M_DEPS += ../../common/xilinx/dacfifo_bd.tcl
M_DEPS += ../../common/xilinx/data_offload_bd.tcl
M_DEPS += ../../../library/util_hbm/scripts/adi_util_hbm.tcl
M_DEPS += ../../../library/jesd204/scripts/jesd204.tcl
M_DEPS += ../../../library/common/ad_iobuf.v

LIB_DEPS += axi_dmac
LIB_DEPS += axi_sysid
LIB_DEPS += data_offload
LIB_DEPS += jesd204/ad_ip_jesd204_tpl_dac
LIB_DEPS += jesd204/axi_jesd204_tx
LIB_DEPS += jesd204/jesd204_tx
LIB_DEPS += sysid_rom
LIB_DEPS += util_dacfifo
LIB_DEPS += util_do_ram
LIB_DEPS += util_hbm
LIB_DEPS += util_pack/util_upack2
LIB_DEPS += xilinx/axi_adxcvr
LIB_DEPS += xilinx/util_adxcvr
Expand Down
8 changes: 5 additions & 3 deletions projects/ad916x_fmc/zcu102/system_bd.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
### SPDX short identifier: ADIBSD
###############################################################################

set dac_fifo_address_width 13
## Offload attributes
set dac_offload_type 0 ; ## BRAM
set dac_offload_size [expr $ad_project_params(NUM_LINKS)*$ad_project_params(JESD_L)*64*1024]

source $ad_hdl_dir/projects/scripts/adi_pd.tcl
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl

source $ad_hdl_dir/projects/dac_fmc_ebz/common/dac_fmc_ebz_bd.tcl

Expand Down Expand Up @@ -86,6 +87,7 @@ LINKS=$ad_project_params(NUM_LINKS)\
DAC_DEVICE=$ADI_DAC_DEVICE\
DAC_MODE=$ADI_DAC_MODE\
ADI_LANE_RATE=$ADI_LANE_RATE\
DAC_FIFO_ADDR_WIDTH=$dac_fifo_address_width"
DAC_OFFLOAD:TYPE=$dac_offload_type\
SIZE=$dac_offload_size"

sysid_gen_sys_init_file $sys_cstring
4 changes: 0 additions & 4 deletions projects/ad916x_fmc/zcu102/system_top.v
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module system_top #(
wire [ 2:0] spi1_csn;
wire tx_ref_clk;
wire [ 1:0] tx_sync;
wire dac_fifo_bypass;

// spi

Expand Down Expand Up @@ -113,8 +112,6 @@ module system_top #(
fmc_txen_0
}));

assign dac_fifo_bypass = gpio_o[21];

/* Board GPIOS. Buttons, LEDs, etc... */
assign gpio_i[20: 8] = gpio_bd_i;
assign gpio_bd_o = gpio_o[7:0];
Expand All @@ -125,7 +122,6 @@ module system_top #(
system_wrapper i_system_wrapper (
.gpio_i (gpio_i),
.gpio_o (gpio_o),
.dac_fifo_bypass(dac_fifo_bypass),
.spi0_csn (spi0_csn),
.spi0_miso (spi_miso),
.spi0_mosi (spi_mosi),
Expand Down