__ses_path_va_bridge()
authoryu.dongliang <18588496441@163.com>
Wed, 15 Nov 2023 13:06:59 +0000 (21:06 +0800)
committeryu.dongliang <18588496441@163.com>
Wed, 15 Nov 2023 13:06:59 +0000 (21:06 +0800)
ses_step_va_bridge.c

index 6fcb4e44694ba34cab8936c40a41f4b8b394062a..fdaebc4e94ad36c6a8434f59388f5426b916654f 100644 (file)
@@ -11,6 +11,9 @@ static int __ses_path_va_bridge(ScfEfunction* f, ses_path_t* bridge, int* change
        }
 
        ses_flow_t*    flow;
+       ses_path_t*    fpath;
+       ScfEpin*       fp0;
+       ScfEpin*       fp1;
 
        ScfEcomponent* B;
        ScfEline*      el;
@@ -60,6 +63,13 @@ static int __ses_path_va_bridge(ScfEfunction* f, ses_path_t* bridge, int* change
        ses_flow_print(flow);
        ses_flow_jr(flow);
 
+       fpath = flow->paths->data[flow->paths->size - 1];
+       fp0   = fpath->pins->data[0];
+       fp1   = fpath->pins->data[fpath->pins->size - 1];
+
+       scf_loge("flow vip: c%ldp%ld->a: %lg, fp0: c%ldp%ld->a: %lg, fp1: c%ldp%ld->a: %lg\n",
+                       flow->vip->cid, flow->vip->id, flow->vip->a, fp0->cid, fp0->id, fp0->a, fp1->cid, fp1->id, fp1->a);
+
        return 0;
 }