From: yu.dongliang <18588496441@163.com> Date: Wed, 27 Sep 2023 11:09:51 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=ea33501f9ece9641fe3a658ddd4b6a43639a0765;p=ses.git tmp --- diff --git a/ses_step_dc_diode.c b/ses_step_dc_diode.c index 98ea754..8afef4e 100644 --- a/ses_step_dc_diode.c +++ b/ses_step_dc_diode.c @@ -18,7 +18,7 @@ static int _dc_diode_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx for (i = 0; i < f->n_elines; i++) { el = f->elines[i]; - if (!(SCF_EDA_PIN_IN & el->flags)) + if (!el->vconst) continue; for (j = 0; j + 1 < el->n_pins; j += 2) { diff --git a/ses_step_va_diode.c b/ses_step_va_diode.c index 90f521f..b951489 100644 --- a/ses_step_va_diode.c +++ b/ses_step_va_diode.c @@ -146,7 +146,7 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) __ses_path_dr(p, p1, p2); - 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, p2->dr: %lg + j%lg\n", + 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, p2->dr: %lg + j%lg\n\n", i, p->cid, p->id, p1->cid, p1->id, v, jv, p->v, p->jv, p->a, p->ja, pr, jpr, sr, jsr, p2->dr, p2->jdr); } else { @@ -184,7 +184,7 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) 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", + 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\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); } }