From: yu.dongliang <18588496441@163.com> Date: Tue, 31 Oct 2023 05:02:11 +0000 (+0800) Subject: delete some log X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=6930e10dbbe1a120f37abb466b689e5b23594e86;p=ses.git delete some log --- diff --git a/ses_layout.c b/ses_layout.c index 6e7a9fc..f605985 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -458,9 +458,8 @@ int ses_lines_same_components(ScfEfunction* f) } else if (j > f->n_elines / 2) { el1 = f->elines[j]; ++j; - } else { + } else el1 = f->elines[j]; - } for (m = f->n_elines - 1; m > j; m--) f->elines[m] = f->elines[m - 1]; @@ -470,7 +469,7 @@ int ses_lines_same_components(ScfEfunction* f) if (j == i) continue; - scf_loge("n: %ld, mov el%ld [%ld] --> [%ld] el%ld\n", n, el0->id, i, j, el1->id); + scf_loge("n: %ld, mov el%ld [%ld] --> [%ld] el%ld\n", N_PINS / 2 - n, el0->id, i, j, el1->id); } printf("\n"); } @@ -997,10 +996,8 @@ static void __ses_layout_cx(ScfEfunction* f, int d) if (k < 2) p1->x = c->x; - else { + else p1->x += c->x - tmp; -// p1->x = (c->x * 3 + p1->x) / 4; - } } } qsort(f->components, f->n_components, sizeof(ScfEcomponent*), ecomponent_cmp_id);