From: yu.dongliang <18588496441@163.com> Date: Wed, 27 Sep 2023 14:50:58 +0000 (+0800) Subject: __ses_path_va_diode() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=403822c66bf422308aad1c09f1f871152a0d5ece;p=ses.git __ses_path_va_diode() --- diff --git a/ses_step_va_diode.c b/ses_step_va_diode.c index d859acb..1ce0aa2 100644 --- a/ses_step_va_diode.c +++ b/ses_step_va_diode.c @@ -114,6 +114,9 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) break; } + if (SCF_EDA_Transistor == c->type) + return 0; + for (j = path->pins->size - 1; j >= i; j--) { pj = path->pins->data[j]; @@ -130,6 +133,9 @@ static int __ses_path_va_diode(ScfEfunction* f, ses_path_t* path) break; } + if (SCF_EDA_Transistor == c->type) + return 0; + if (j <= i) { scf_loge("all components are Diode\n"); return -1;