From: yu.dongliang <18588496441@163.com> Date: Wed, 6 Sep 2023 13:24:15 +0000 (+0800) Subject: ses_step_va_diode.c X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=53593f078c66af8449a46e5dda7a5996a5ae0991;p=ses.git ses_step_va_diode.c --- diff --git a/ses_step_va_diode.c b/ses_step_va_diode.c index 2bc7a02..beda3d4 100644 --- a/ses_step_va_diode.c +++ b/ses_step_va_diode.c @@ -40,8 +40,8 @@ static void __ses_path_split_i(ses_path_t* path, ScfEpin* p0, ScfEpin* p1, ScfEl cp1->dr -= child->r; cp1->jdr -= child->jr; - scf_loge("j: %d, c%ldp%ld, v: %lg + j%lg, child->r: %lg + j%lg, child->a: %lg + j%lg, el->a: %lg + j%lg, cp1->dr: %lg + j%lg\n", j, cp0->cid, cp0->id, - v, jv, child->r, child->jr, child->a, child->ja, el->a, el->ja, cp1->dr, cp1->jdr); + scf_loge("j: %d, c%ldp%ld--c%ldp%ld, v: %lg + j%lg, child->r: %lg + j%lg, child->a: %lg + j%lg, el->a: %lg + j%lg, cp1->dr: %lg + j%lg\n", + j, cp0->cid, cp0->id, cp1->cid, cp1->id, v, jv, child->r, child->jr, child->a, child->ja, el->a, el->ja, cp1->dr, cp1->jdr); } } @@ -132,8 +132,8 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) __ses_path_dr(p, p1, p); - scf_loge("i: %d, c%ldp%ld, v: %lg + j%lg, p->v: %lg + j%lg, p->a: %lg + j%lg, pr: %lg + j%lg, sr: %lg + j%lg, p->dr: %lg + j%lg\n", i, p->cid, p->id, - v, jv, p->v, p->jv, p->a, p->ja, pr, jpr, sr, jsr, p->dr, p->jdr); + scf_loge("i: %d, c%ldp%ld--c%ldp%ld, v: %lg + j%lg, p->v: %lg + j%lg, p->a: %lg + j%lg, pr: %lg + j%lg, sr: %lg + j%lg, p->dr: %lg + j%lg\n", + i, p->cid, p->id, p1->cid, p1->id, v, jv, p->v, p->jv, p->a, p->ja, pr, jpr, sr, jsr, p->dr, p->jdr); } else { p = path->pins->data[i + 1]; @@ -167,8 +167,11 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) __ses_path_dr(p0, p, p); - scf_loge("i: %d, c%ldp%ld, v: %lg + j%lg, p->v: %lg + j%lg, p->a: %lg + j%lg, pr: %lg + j%lg, sr: %lg + j%lg, p->dr: %lg + j%lg\n", i, p->cid, p->id, - v, jv, p->v, p->jv, p->a, p->ja, pr, jpr, sr, jsr, p->dr, p->jdr); + p0->a = p->a; + p0->ja = p->ja; + + scf_loge("i: %d, c%ldp%ld--c%ldp%ld, v: %lg + j%lg, p->v: %lg + j%lg, p->a: %lg + j%lg, pr: %lg + j%lg, sr: %lg + j%lg, p->dr: %lg + j%lg\n", + i, p0->cid, p0->id, p->cid, p->id, v, jv, p->v, p->jv, p->a, p->ja, pr, jpr, sr, jsr, p->dr, p->jdr); } } printf("\n");