From 8885caab13fe4aa36400c03da3ff4dc47070fa45 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 26 Feb 2019 11:06:54 +0000 Subject: [PATCH] scripts/adi_board.tcl: fix HP address mappings for ZynqMP In the current form, when connecting a master to the HP ports all available slave address spaces are mapped to the master (DDR_*, PCIE*, OCM, QSPI) Let the PL masters have access only to the DDR_LOW and DDR_HIGH address spaces to avoid unnecessary resource usage and increase timing margin. --- projects/scripts/adi_board.tcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/scripts/adi_board.tcl b/projects/scripts/adi_board.tcl index ca9894591..0bea19382 100644 --- a/projects/scripts/adi_board.tcl +++ b/projects/scripts/adi_board.tcl @@ -454,7 +454,7 @@ proc ad_mem_hpx_interconnect {p_sel p_clk p_name} { } set m_interconnect_index $sys_hp0_interconnect_index set m_interconnect_cell [get_bd_cells axi_hp0_interconnect] - set m_addr_seg [get_bd_addr_segs sys_ps8/S_AXI_HP0_FPD/PLLPD_DDR_LOW] + set m_addr_seg [get_bd_addr_segs sys_ps8/SAXIGP2/HP0_DDR_*] } if {($p_sel eq "HP1") && ($sys_zynq == 2)} { @@ -465,7 +465,7 @@ proc ad_mem_hpx_interconnect {p_sel p_clk p_name} { } set m_interconnect_index $sys_hp1_interconnect_index set m_interconnect_cell [get_bd_cells axi_hp1_interconnect] - set m_addr_seg [get_bd_addr_segs sys_ps8/S_AXI_HP1_FPD/HP0_DDR_LOW] + set m_addr_seg [get_bd_addr_segs sys_ps8/SAXIGP3/HP1_DDR_*] } if {($p_sel eq "HP2") && ($sys_zynq == 2)} { @@ -476,7 +476,7 @@ proc ad_mem_hpx_interconnect {p_sel p_clk p_name} { } set m_interconnect_index $sys_hp2_interconnect_index set m_interconnect_cell [get_bd_cells axi_hp2_interconnect] - set m_addr_seg [get_bd_addr_segs sys_ps8/S_AXI_HP2_FPD/HP1_DDR_LOW] + set m_addr_seg [get_bd_addr_segs sys_ps8/SAXIGP4/HP2_DDR_*] } if {($p_sel eq "HP3") && ($sys_zynq == 2)} { @@ -487,7 +487,7 @@ proc ad_mem_hpx_interconnect {p_sel p_clk p_name} { } set m_interconnect_index $sys_hp3_interconnect_index set m_interconnect_cell [get_bd_cells axi_hp3_interconnect] - set m_addr_seg [get_bd_addr_segs sys_ps8/S_AXI_HP3_FPD/HP2_DDR_LOW] + set m_addr_seg [get_bd_addr_segs sys_ps8/SAXIGP5/HP3_DDR_*] } set i_str "S$m_interconnect_index"