From 4aa3e94089a2c4a6aa5b38ea74980741274e99db Mon Sep 17 00:00:00 2001 From: AndreiGrozav Date: Fri, 17 May 2019 15:15:38 +0100 Subject: [PATCH] pluto: Fix the adc/dac dma mapping to ps7 S_AXI_HP1/S_AXI_HP2 After the previous commit that removed the interconnects from HP ports in order to reduce utilization. The directly connected DMAs were not assigned to a specific range and address. --- projects/pluto/system_bd.tcl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/projects/pluto/system_bd.tcl b/projects/pluto/system_bd.tcl index 580b3d0a4..8eb5070d4 100644 --- a/projects/pluto/system_bd.tcl +++ b/projects/pluto/system_bd.tcl @@ -253,10 +253,20 @@ ad_ip_parameter sys_ps7 CONFIG.PCW_USE_S_AXI_HP1 {1} ad_connect sys_cpu_clk sys_ps7/S_AXI_HP1_ACLK ad_connect axi_ad9361_adc_dma/m_dest_axi sys_ps7/S_AXI_HP1 +create_bd_addr_seg -range 0x20000000 -offset 0x00000000 \ + [get_bd_addr_spaces axi_ad9361_adc_dma/m_dest_axi] \ + [get_bd_addr_segs sys_ps7/S_AXI_HP1/HP1_DDR_LOWOCM] \ + SEG_sys_ps7_HP1_DDR_LOWOCM + ad_ip_parameter sys_ps7 CONFIG.PCW_USE_S_AXI_HP2 {1} ad_connect sys_cpu_clk sys_ps7/S_AXI_HP2_ACLK ad_connect axi_ad9361_dac_dma/m_src_axi sys_ps7/S_AXI_HP2 +create_bd_addr_seg -range 0x20000000 -offset 0x00000000 \ + [get_bd_addr_spaces axi_ad9361_dac_dma/m_src_axi] \ + [get_bd_addr_segs sys_ps7/S_AXI_HP2/HP2_DDR_LOWOCM] \ + SEG_sys_ps7_HP2_DDR_LOWOCM + ad_connect sys_cpu_clk axi_ad9361_dac_dma/m_src_axi_aclk ad_connect sys_cpu_clk axi_ad9361_adc_dma/m_dest_axi_aclk ad_connect sys_cpu_resetn axi_ad9361_adc_dma/m_dest_axi_aresetn