projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5973e8
)
__ses_path_va_diode()
author
yu.dongliang
<18588496441@163.com>
Wed, 27 Sep 2023 14:50:58 +0000
(22:50 +0800)
committer
yu.dongliang
<18588496441@163.com>
Wed, 27 Sep 2023 14:50:58 +0000
(22:50 +0800)
ses_step_va_diode.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_step_va_diode.c
b/ses_step_va_diode.c
index d859acb56e366928934d892c6b8438afd955b849..1ce0aa2d9ed5cc5f3e27a0526c4d31e1cc114c16 100644
(file)
--- 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;