for (i = 0; i < rc->n_pins; i++) {
np = rc->pins[i];
- if (np->vflag) {
- if (rp != np)
- scf_logd("c%ld_p%ld, l%ld, vflag: %d, pflag: %d\n", np->cid, np->id, np->lid, np->vflag, np->pflag);
+ if (np->vflag)
continue;
- }
scf_logi("c%ld_p%ld, l%ld, vflag: %d, pflag: %d\n", np->cid, np->id, np->lid, np->vflag, np->pflag);
goto end;
}
- if (p->vflag) {
- if (p != np)
- scf_logd("c%ld_p%ld, l%ld, vflag: %d, pflag: %d\n", p->cid, p->id, p->lid, p->vflag, p->pflag);
+ if (p->vflag)
continue;
- }
if (SCF_EDA_Transistor != c->type || SCF_EDA_Transistor_E != p->id)
p->vflag = 1;
if (ret < 0)
return ret;
- if (SCF_EDA_Path_OFF == ret) {
+ if (SCF_EDA_Path_OFF == ret)
p->vflag = 0;
- scf_logw("off: c%ld_p%ld, l%ld\n", p->cid, p->id, p->lid);
-
- } else if (SCF_EDA_Status_OFF == ret)
- scf_loge("off: c%ld_p%ld, l%ld\n", p->cid, p->id, p->lid);
+ else if (SCF_EDA_Path_TO == ret)
+ goto end;
}
if (ret > 0) {
if (*ppath)
scf_vector_del(*ppath, np);
- if (SCF_EDA_Path_OFF == ret) {
+ if (SCF_EDA_Path_OFF == ret)
np->vflag = 0;
- scf_logw("off: c%ld_p%ld, l%ld\n", np->cid, np->id, np->lid);
-
- } else if (SCF_EDA_Status_OFF == ret)
- scf_loge("off: c%ld_p%ld, l%ld, *ppath: %p\n", np->cid, np->id, np->lid, *ppath);
}
}
if (SCF_EDA_Path_OFF == ret) {
rp->vflag = 0;
+
scf_logw("off: c%ld_p%ld, l%ld\n", rp->cid, rp->id, rp->lid);
} else if (SCF_EDA_Status_OFF == ret)