projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dc80ed
)
ses_layout.c
author
yu.dongliang
<18588496441@163.com>
Mon, 16 Oct 2023 11:09:02 +0000
(19:09 +0800)
committer
yu.dongliang
<18588496441@163.com>
Mon, 16 Oct 2023 11:09:02 +0000
(19:09 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index b9842aa433eae577c688b0db2302643aa3254ee2..de4ef12cb507b382f89efb728bbadf6eb9eea1e4 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-732,7
+732,11
@@
next:
for (j = 0; j < c0->n_pins; j++) {
p0 = c0->pins[j];
- p0->x = c0->x;
+
+ if (j < 2)
+ p0->x = c0->x;
+ else
+ p0->x = c0->x > p0->x ? c0->x - d : c0->x + d;
}
}