From: yu.dongliang <18588496441@163.com> Date: Mon, 13 Nov 2023 09:35:26 +0000 (+0800) Subject: __ses_path_sr() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=399d53c3d99920cdc4b343d5f98716ae9f3e3320;p=ses.git __ses_path_sr() --- diff --git a/ses_step_jr.c b/ses_step_jr.c index b739928..9dc1e98 100644 --- a/ses_step_jr.c +++ b/ses_step_jr.c @@ -30,6 +30,10 @@ void __ses_path_sr(ScfEfunction* f, ses_path_t* path, int i, int j, ScfEpin* cp1 if (SCF_EDA_NPN == c0->type) { if (i > 0) { p0 = path->pins->data[i - 1]; + c0 = f->components[p0->cid]; + + if (SCF_EDA_NPN == c0->type && SCF_EDA_NPN_E == p0->id) + p0 = path->pins->data[i - 2]; *r = p1->sr - r1 - p0->pr; *jr = p1->jsr - jr1 - p0->jpr;