From 399d53c3d99920cdc4b343d5f98716ae9f3e3320 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 13 Nov 2023 17:35:26 +0800 Subject: [PATCH] __ses_path_sr() --- ses_step_jr.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.25.1