foreach my_port [get_bd_ports *_0] {[set_property name [string range $my_port 1 [string last _ $my_port]-1] [get_bd_ports $my_port]]}
foreach my_port [get_bd_intf_ports *_0] {[set_property name [string range $my_port 1 [string last _ $my_port]-1] [get_bd_intf_ports $my_port]]}
网友评论