qsort_r(el->pins, el->n_pins / 2, sizeof(uint64_t) * 2, epin_cmp_color, f);
+ el->lines[0]->x1 = el->lines[0]->x0 + d;
+
for (j = 0; j + 1 < el->n_pins; j += 2) {
c = f->components[el->pins[j]];
while (el->n_lines <= k) {
+ scf_logw("el->n_lines: %ld, k: %ld\n", el->n_lines, k);
+
l0 = el->lines[el->n_lines - 1];
l = malloc(sizeof(ScfLine));
}
l = el->lines[k];
-
- if (0 == m)
- p->x = l->x0 + d;
- else
- p->x = l->x1 + d;
+ p->x = l->x1 + d;
l->x1 = p->x;
}
}