ses_layout.c
authoryu.dongliang <18588496441@163.com>
Mon, 16 Oct 2023 11:09:02 +0000 (19:09 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 16 Oct 2023 11:09:02 +0000 (19:09 +0800)
ses_layout.c

index b9842aa433eae577c688b0db2302643aa3254ee2..de4ef12cb507b382f89efb728bbadf6eb9eea1e4 100644 (file)
@@ -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;
                }
        }