File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -1175,11 +1175,19 @@ proc ad_hpmx_interconnect {p_sel p_address p_name {p_intf_name {}}} {
1175
1175
#
1176
1176
proc ad_cpu_interconnect {p_address p_name {p_intf_name {}}} {
1177
1177
1178
- if {$sys_zynq == -1} {ad_hpmx_interconnect " AXI" $p_address $p_name $p_intf_name }
1179
- elseif {$sys_zynq == 0} {ad_hpmx_interconnect " DP" $p_address $p_name $p_intf_name }
1180
- elseif {$sys_zynq == 1} {ad_hpmx_interconnect " GP0" $p_address $p_name $p_intf_name }
1181
- elseif {$sys_zynq == 2} {ad_hpmx_interconnect " HPM0_LPD" $p_address $p_name $p_intf_name }
1182
- elseif {$sys_zynq == 3} {ad_hpmx_interconnect " FPD" $p_address $p_name $p_intf_name }
1178
+ global sys_zynq
1179
+
1180
+ if {$sys_zynq == -1} {
1181
+ ad_hpmx_interconnect " AXI" $p_address $p_name $p_intf_name
1182
+ } elseif {$sys_zynq == 0} {
1183
+ ad_hpmx_interconnect " DP" $p_address $p_name $p_intf_name
1184
+ } elseif {$sys_zynq == 1} {
1185
+ ad_hpmx_interconnect " GP0" $p_address $p_name $p_intf_name
1186
+ } elseif {$sys_zynq == 2} {
1187
+ ad_hpmx_interconnect " HPM0_LPD" $p_address $p_name $p_intf_name
1188
+ } elseif {$sys_zynq == 3} {
1189
+ ad_hpmx_interconnect " FPD" $p_address $p_name $p_intf_name
1190
+ }
1183
1191
}
1184
1192
1185
1193
# # Connects an IP interrupt port to the system's interrupt controller interface.
You can’t perform that action at this time.
0 commit comments