63 lines
4.1 KiB
Tcl
63 lines
4.1 KiB
Tcl
|
|
source $ad_hdl_dir/projects/common/zc706/zc706_system_bd.tcl
|
|
source $ad_hdl_dir/projects/common/zc706/zc706_system_plddr3.tcl
|
|
source ../common/fmcadc4_bd.tcl
|
|
|
|
set_property -dict [list CONFIG.C_DMA_TYPE_SRC {1}] $axi_ad9234_dma
|
|
set_property -dict [list CONFIG.C_DMA_DATA_WIDTH_SRC {64}] $axi_ad9234_dma
|
|
set_property -dict [list CONFIG.C_DMA_DATA_WIDTH_DEST {64}] $axi_ad9234_dma
|
|
|
|
p_plddr3_fifo [current_bd_instance .] plddr3_fifo 256
|
|
|
|
set DDR3 [create_bd_intf_port -mode Master -vlnv xilinx.com:interface:ddrx_rtl:1.0 DDR3]
|
|
set sys_clk [create_bd_intf_port -mode Slave -vlnv xilinx.com:interface:diff_clock_rtl:1.0 sys_clk]
|
|
|
|
connect_bd_intf_net -intf_net DDR3 [get_bd_intf_ports DDR3] [get_bd_intf_pins plddr3_fifo/DDR3]
|
|
connect_bd_intf_net -intf_net sys_clk [get_bd_intf_ports sys_clk] [get_bd_intf_pins plddr3_fifo/sys_clk]
|
|
|
|
delete_bd_objs [get_bd_nets axi_ad9234_adc_clk]
|
|
delete_bd_objs [get_bd_nets axi_ad9234_adc_dwr]
|
|
delete_bd_objs [get_bd_nets axi_ad9234_adc_ddata]
|
|
delete_bd_objs [get_bd_nets axi_ad9234_adc_dsync]
|
|
delete_bd_objs [get_bd_nets axi_ad9234_adc_dovf]
|
|
|
|
connect_bd_net -net [get_bd_nets axi_fmcadc4_gt_rx_rst] [get_bd_pins plddr3_fifo/adc_rst] [get_bd_pins axi_fmcadc4_gt/rx_rst]
|
|
connect_bd_net -net [get_bd_nets sys_fmc_dma_resetn] [get_bd_pins plddr3_fifo/dma_rstn] [get_bd_pins sys_fmc_dma_sync_reset/sync_resetn]
|
|
connect_bd_net -net axi_ad9234_dma_xfer_req [get_bd_pins axi_ad9234_dma/s_axis_xfer_req] [get_bd_pins plddr3_fifo/axi_xfer_req]
|
|
|
|
connect_bd_net -net axi_ad9234_adc_clk [get_bd_pins axi_ad9234_core_0/adc_clk] [get_bd_pins plddr3_fifo/adc_clk]
|
|
connect_bd_net -net axi_ad9234_adc_dovf [get_bd_pins axi_ad9234_core_0/adc_dovf] [get_bd_pins plddr3_fifo/adc_wovf]
|
|
connect_bd_net -net axi_ad9234_adc_dwr [get_bd_ports adc_dwr] [get_bd_pins plddr3_fifo/adc_wr]
|
|
connect_bd_net -net axi_ad9234_adc_ddata [get_bd_ports adc_ddata] [get_bd_pins plddr3_fifo/adc_wdata]
|
|
|
|
connect_bd_net -net sys_100m_clk [get_bd_pins plddr3_fifo/dma_clk] [get_bd_pins axi_ad9234_dma/s_axis_aclk]
|
|
connect_bd_net -net axi_ad9234_dma_ready [get_bd_pins plddr3_fifo/dma_wready] [get_bd_pins axi_ad9234_dma/s_axis_ready]
|
|
connect_bd_net -net axi_ad9234_dma_dwr [get_bd_pins axi_ad9234_dma/s_axis_valid] [get_bd_pins plddr3_fifo/dma_wvalid]
|
|
connect_bd_net -net axi_ad9234_dma_ddata [get_bd_pins axi_ad9234_dma/s_axis_data] [get_bd_pins plddr3_fifo/dma_wdata]
|
|
|
|
connect_bd_net -net axi_ad9234_adc_clk [get_bd_ports adc_clk]
|
|
connect_bd_net -net axi_ad9234_adc_ddata [get_bd_pins ila_jesd_rx_mon/PROBE3]
|
|
|
|
connect_bd_net -net axi_ad9234_dma_irq [get_bd_ports fmcadc4_dma_intr] [get_bd_pins sys_concat_intc/In2]
|
|
|
|
set ila_dma_mon [create_bd_cell -type ip -vlnv xilinx.com:ip:ila:4.0 ila_dma_mon]
|
|
set_property -dict [list CONFIG.C_MONITOR_TYPE {Native}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_NUM_OF_PROBES {5}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_PROBE0_WIDTH {1}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_PROBE1_WIDTH {1}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_PROBE2_WIDTH {64}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_PROBE3_WIDTH {5}] $ila_dma_mon
|
|
set_property -dict [list CONFIG.C_PROBE4_WIDTH {1}] $ila_dma_mon
|
|
|
|
connect_bd_net -net sys_100m_clk [get_bd_pins ila_dma_mon/clk]
|
|
connect_bd_net -net axi_ad9234_dma_dwr [get_bd_pins ila_dma_mon/probe0]
|
|
connect_bd_net -net axi_ad9234_dma_xfer_req [get_bd_pins ila_dma_mon/probe1]
|
|
connect_bd_net -net axi_ad9234_dma_ddata [get_bd_pins ila_dma_mon/probe2]
|
|
connect_bd_net -net axi_xfer_status [get_bd_pins ila_dma_mon/probe3] [get_bd_pins plddr3_fifo/axi_xfer_status]
|
|
connect_bd_net -net axi_ad9234_dma_ready [get_bd_pins ila_dma_mon/probe4]
|
|
connect_bd_net -net axi_ad9234_adc_dwr [get_bd_pins ila_jesd_rx_mon/probe4]
|
|
|
|
|
|
create_bd_addr_seg -range 0x40000000 -offset 0x80000000 [get_bd_addr_spaces plddr3_fifo/axi_fifo2s/axi] [get_bd_addr_segs plddr3_fifo/axi_ddr_cntrl/memmap/memaddr] SEG_axi_ddr_cntrl_memaddr
|
|
|