projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe3e30
)
tmp
author
yu.dongliang
<18588496441@163.com>
Tue, 11 Jul 2023 08:40:42 +0000
(16:40 +0800)
committer
yu.dongliang
<18588496441@163.com>
Tue, 11 Jul 2023 08:40:42 +0000
(16:40 +0800)
ses_layout.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_layout.c
b/ses_layout.c
index d1c76553e6d43151deb24e5f43d7f5dae09bff2e..4542ab4aaf181e5ce4ac024c58572fff2ef793d9 100644
(file)
--- a/
ses_layout.c
+++ b/
ses_layout.c
@@
-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
+ rand() % d
;
+ l->x0 = bx + 2 * d;
l->y0 = by + (n + j) * d;
l->y1 = l->y0;