projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c74622
)
__ses_layout_cx()
author
yu.dongliang
<18588496441@163.com>
Tue, 31 Oct 2023 07:57:23 +0000
(15:57 +0800)
committer
yu.dongliang
<18588496441@163.com>
Tue, 31 Oct 2023 07:57:23 +0000
(15:57 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index 680354f5c807f82d8e9a742b44e7db4bf27108d6..e11c96e69c84c5f1778cfe0bfe45eb7502742519 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-987,12
+987,8
@@
static void __ses_layout_cx(ScfEfunction* f, int d)
_set_px:
for (k = 0; k < c->n_pins; k++) {
- p = c->pins[k];
-
- if (k < 2)
- p->x = c->x;
- else
- p->x += c->x - tmp;
+ p = c->pins[k];
+ p->x += c->x - tmp;
}
scf_logd("c%ld->x: %d\n", c->id, c->x);
@@
-1019,8
+1015,6
@@
static void __ses_xchg_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)
SCF_XCHG(pc, pe);