int cx0 = c0->x;
int cx1 = c1->x;
+ scf_logw("c%ld <--> c%ld, color: %ld, %ld, cx: %d, %d\n", c0->id, c1->id, c0->color, c1->color, c0->x, c1->x);
SCF_XCHG(c0->x, c1->x);
- scf_logw("c%ld <--> c%ld\n", c0->id, c1->id);
+ scf_loge("c%ld <--> c%ld, color: %ld, %ld, cx: %d, %d\n", c0->id, c1->id, c0->color, c1->color, c0->x, c1->x);
for (i = 0; i < c0->n_pins; i++) {
p = c0->pins[i];
}
}
- c->x = c2->x + d / 2;
+ c->x = c2->x + d;
_set_px:
for (k = 0; k < c->n_pins; k++) {
return ret;
__ses_setc_xy(f, d);
+ __ses_layout_cx(f, d);
+
__ses_xchg_cx(f, d);
__ses_xchg_ce(f, d);
- __ses_layout_cx(f, d);
-
int tx0 = INT_MAX;
int tx1 = 0;