tmp
authoryu.dongliang <18588496441@163.com>
Mon, 30 Oct 2023 13:36:15 +0000 (21:36 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 30 Oct 2023 13:36:15 +0000 (21:36 +0800)
ses_layout.c

index 000f5f3696668b3cb85203072e9fb401b6602d82..c9d2b6b15cdb5c6d2fcac49e286319d3c4ff5702 100644 (file)
@@ -1023,6 +1023,8 @@ static void __ses_xchg_npn_ce(ScfEfunction* f, int d)
                pc = c->pins[SCF_EDA_NPN_C];
                pe = c->pins[SCF_EDA_NPN_E];
 
+               pc->x = (pc->x + c->x * 3) / 4;
+
                if (pc->y > pe->y && pe->y > pb->y) {
 
                        if ((c->x < 0 && pc->x > pe->x) || (c->x > 0 && pc->x < pe->x))