projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973d207
)
tmp
author
yu.dongliang
<18588496441@163.com>
Wed, 12 Jul 2023 17:52:04 +0000
(
01:52
+0800)
committer
yu.dongliang
<18588496441@163.com>
Wed, 12 Jul 2023 17:52:04 +0000
(
01:52
+0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index 519bc59d0d4672e76161f5e3e77397c74e3a6918..8a4343e23b52fe208d4e6768cdc214d448ebc910 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-251,7
+251,7
@@
int __ses_layout_function2(ScfEfunction* f, ScfEline* el, size_t* pn, uint32_t d
{
ScfLine* l;
- uint32_t w =
el->n_pins * d
;
+ uint32_t w =
(el->n_pins - 2) * d + 10
;
size_t m = (w + bw - 1) / bw;
size_t n = *pn;
uint32_t h = (n + m) * d;
@@
-278,7
+278,7
@@
int __ses_layout_function2(ScfEfunction* f, ScfEline* el, size_t* pn, uint32_t d
else if ((SCF_EDA_PIN_IN | SCF_EDA_PIN_OUT) & el->flags)
l->x0 = bx + d;
else
- l->x0 = bx +
2
* d;
+ l->x0 = bx +
1
* d;
l->y0 = by + (n + j) * d;
l->y1 = l->y0;