use [get_nets -of $clock] instead of [get_nets -of $pin]