projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c51421
)
_dc_transistor_handler()
author
yu.dongliang
<18588496441@163.com>
Fri, 20 Oct 2023 06:46:54 +0000
(14:46 +0800)
committer
yu.dongliang
<18588496441@163.com>
Fri, 20 Oct 2023 06:46:54 +0000
(14:46 +0800)
ses_step_dc_transistor.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_step_dc_transistor.c
b/ses_step_dc_transistor.c
index 92fb61efe4903127e918f2ec8eb1c58cb6aa79b1..ccf5863be54591ad5b414aff6c3af3dd59fc14c7 100644
(file)
--- 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)