projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d5e6b
)
tmp
author
yu.dongliang
<18588496441@163.com>
Mon, 30 Oct 2023 13:36:15 +0000
(21:36 +0800)
committer
yu.dongliang
<18588496441@163.com>
Mon, 30 Oct 2023 13:36:15 +0000
(21:36 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index 000f5f3696668b3cb85203072e9fb401b6602d82..c9d2b6b15cdb5c6d2fcac49e286319d3c4ff5702 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-1023,6
+1023,8
@@
static void __ses_xchg_npn_ce(ScfEfunction* f, int d)
pc = c->pins[SCF_EDA_NPN_C];
pe = c->pins[SCF_EDA_NPN_E];
+ pc->x = (pc->x + c->x * 3) / 4;
+
if (pc->y > pe->y && pe->y > pb->y) {
if ((c->x < 0 && pc->x > pe->x) || (c->x > 0 && pc->x < pe->x))