From 4a8c6c088577601dd1e468c9f963cf2a3cb40858 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Thu, 13 Jul 2023 01:52:04 +0800 Subject: [PATCH] tmp --- ses_layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 519bc59..8a4343e 100644 --- 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; -- 2.25.1