From: yu.dongliang <18588496441@163.com> Date: Fri, 20 Oct 2023 06:46:54 +0000 (+0800) Subject: _dc_transistor_handler() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=8627a87598c04f9fbac3b5b3d7cd7e31e8a23870;p=ses.git _dc_transistor_handler() --- diff --git a/ses_step_dc_transistor.c b/ses_step_dc_transistor.c index 92fb61e..ccf5863 100644 --- a/ses_step_dc_transistor.c +++ b/ses_step_dc_transistor.c @@ -33,6 +33,13 @@ static int _dc_transistor_handler(ScfEfunction* f, int64_t ns, int64_t count, se lb = f->elines[pb->lid]; le = f->elines[pe->lid]; + if (__ses_path_neg(f, lb) && !__ses_path_pos(f, lb)) { + c->status = SCF_EDA_Status_OFF; + + scf_loge("NPN c%ld, status: %d\n", c->id, c->status); + continue; + } + if (lb->v < SCF_EDA_V_MIN) { if (le->v < SCF_EDA_V_MIN)