From 403822c66bf422308aad1c09f1f871152a0d5ece Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Wed, 27 Sep 2023 22:50:58 +0800 Subject: [PATCH] __ses_path_va_diode() --- ses_step_va_diode.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.25.1