ref/$chan]
      if { $bobj eq "" } { 
        set bobj [get_bd_pins -quiet $ipref/$chan]
      }
      if { $bobj ne "" } {
        return [find_bd_objs -relation CONNECTED_TO $bobj]
      } else {
        ::bd::send_msg -of $ipref -type ERROR -msg_id "901" -text " $chan not found"
        return ""
      }
    