diff --git a/projects/scripts/adi_board.tcl b/projects/scripts/adi_board.tcl index cb26587735b..83914b922ac 100644 --- a/projects/scripts/adi_board.tcl +++ b/projects/scripts/adi_board.tcl @@ -1060,6 +1060,12 @@ proc ad_hpmx_interconnect {p_sel p_address p_name {p_intf_name {}}} { set p_intf_clock "" set p_intf_reset "" + if {$p_intf_name eq ""} { + set p_intf_name_bu "" + } else { + set p_intf_name_bu _${p_intf_name} + } + if {$p_hier_cell != {}} { set p_intf_name [lrange [split $p_hier_intf "/"] end end] @@ -1161,10 +1167,10 @@ proc ad_hpmx_interconnect {p_sel p_address p_name {p_intf_name {}}} { set p_address [expr ($p_address + 0x20000000)] } } - puts "create_bd_addr_seg -range $p_seg_range -offset $p_address $sys_addr_cntrl_space $p_seg_name SEG_data_$p_name" + puts "create_bd_addr_seg -range $p_seg_range -offset $p_address $sys_addr_cntrl_space $p_seg_name SEG_data_${p_name}${p_intf_name_bu}" create_bd_addr_seg -range $p_seg_range \ -offset $p_address $sys_addr_cntrl_space \ - $p_seg_name "SEG_data_${p_name}" + $p_seg_name "SEG_data_${p_name}${p_intf_name_bu}" } else { assign_bd_address $p_seg_name }