From: yu.dongliang <18588496441@163.com> Date: Mon, 10 Jul 2023 14:10:03 +0000 (+0800) Subject: tmp X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=c4236848993c737e6b40c44cf9325b326821d03e;p=ses.git tmp --- diff --git a/ses_layout.c b/ses_layout.c index 6381934..0d50a4c 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -101,6 +101,7 @@ int ses_pins_same_line(ScfEfunction* f) else { if (scf_eline__add_pin(el, p->cid, p->id) < 0) return -ENOMEM; + p->lid = el->id; goto next; } @@ -119,6 +120,7 @@ int ses_pins_same_line(ScfEfunction* f) if (scf_eline__add_pin(el, p->cid, p->id) < 0) return -ENOMEM; + p->lid = el->id; next: p = NULL; } @@ -305,17 +307,6 @@ int __ses_layout_function(ScfEfunction* f, ScfEline* el, size_t* pn, uint32_t d, if (ret < 0) return ret; - if (j == el->n_conns / 2 - && el ->n_lines > 0 - && el2->n_lines > 0) { - - uint32_t tmp = el ->lines[0]->y0; - el ->lines[0]->y0 = el2->lines[0]->y0; - el2->lines[0]->y0 = tmp; - - el ->lines[0]->y1 = el ->lines[0]->y0; - el2->lines[0]->y1 = el2->lines[0]->y0; - } break; } }