A given net deep within the design may have several primary inputs (PI) in the fan in cone. I want to find out how many nets are between the PI and the target net. Since there are several PI, I will pick the highest distance.
Also, the target net's value propagates to several primary outputs (PO). I want to find the distance of different POs from that net.
Could anyone kindly provide any suggestions on how to get this using Tcl in Vivado?