From 99a1840c65187bc9ba84ff27d2524a69b5d20fdd Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 16 Oct 2023 19:09:02 +0800 Subject: [PATCH] ses_layout.c --- ses_layout.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ses_layout.c b/ses_layout.c index b9842aa..de4ef12 100644 --- 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; } } -- 2.25.1