ses_path_t* path;
ScfEcomponent* B;
+ ScfEcomponent* c;
ScfEline* el;
ScfEpin* Bp;
ScfEpin* Bn;
ScfEpin* p;
+ ScfEpin* pc;
+ ScfEpin* pe;
intptr_t i;
intptr_t j;
if (k < 0) {
n = __ses_find_eline_index(f, p->lid);
+ if (SCF_EDA_NPN == p->cid && SCF_EDA_NPN_B == p->id) {
+ c = f->components[p->cid];
+ pc = c->pins[SCF_EDA_NPN_C];
+ pe = c->pins[SCF_EDA_NPN_E];
+
+ intptr_t ic = __ses_find_eline_index(f, pc->lid);
+ intptr_t ie = __ses_find_eline_index(f, pe->lid);
+
+ if (ic > ie)
+ __n = ic;
+ else
+ __n = ie;
+
+ scf_loge("c%ldp%ld, ic: %ld, ie: %ld\n", p->cid, p->id, ic, ie);
+ }
+
eline_mov_before(f, __n, n);
}
}
if (k < 0) {
n = __ses_find_eline_index(f, p->lid);
+ if (SCF_EDA_NPN == p->cid && SCF_EDA_NPN_B == p->id) {
+ c = f->components[p->cid];
+ pc = c->pins[SCF_EDA_NPN_C];
+ pe = c->pins[SCF_EDA_NPN_E];
+
+ intptr_t ic = __ses_find_eline_index(f, pc->lid);
+ intptr_t ie = __ses_find_eline_index(f, pe->lid);
+ if (ic > ie)
+ __n = ic;
+ else
+ __n = ie;
+ scf_loge("c%ldp%ld, ic: %ld, ie: %ld\n", p->cid, p->id, ic, ie);
+ }
+
eline_mov_before(f, __n, n);
}
printf("\n");