AND (A , B , .Y(n1));
DFF (.D(n1) , CK , Q );
when we calculate data arriving time,
whick cell delay should we use , path delay from A to Y or B to Y?
how does tool think about it ?
I think it will consider wire delay zero if and only if you have specified the ideal case, and the proper wire load model. Otherwise it still can take in count the wire delay.
In the cell both a->y and b->y may be same. So the worst path will be the one which has more load and worst transition. so, your input (a, b) characteristics will determine which is the worst path.