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.
main
AndreiGrozav 2019-05-17 15:15:38 +01:00 committed by AndreiGrozav
parent 3adefaddfd
commit 4aa3e94089
1 changed files with 10 additions and 0 deletions

View File

@ -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