delete some log
authoryu.dongliang <18588496441@163.com>
Tue, 31 Oct 2023 05:02:11 +0000 (13:02 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 31 Oct 2023 05:02:11 +0000 (13:02 +0800)
ses_layout.c

index 6e7a9fc0970a7f3d37c93a8d30bc8cde5b3d4b79..f6059857c23cace2b2cd141f6d26313eba31e85d 100644 (file)
@@ -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);