From: yu.dongliang <18588496441@163.com> Date: Fri, 22 Sep 2023 07:24:21 +0000 (+0800) Subject: ses_path_print() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=48bb23fdb291ead0ed8c2c3380608179296eb727;p=ses.git ses_path_print() --- diff --git a/ses_step_topo.c b/ses_step_topo.c index 2e3919b..980ac09 100644 --- a/ses_step_topo.c +++ b/ses_step_topo.c @@ -328,6 +328,8 @@ static int _topo_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx_t* if ((SCF_EDA_Diode == c->type && SCF_EDA_Diode_NEG == p->id) || (SCF_EDA_Transistor == c->type && SCF_EDA_Transistor_B == p->id)) path->n_diodes++; + + p->n_diodes = path->n_diodes; } } diff --git a/ses_steps.c b/ses_steps.c index 6895bf1..0df4d78 100644 --- a/ses_steps.c +++ b/ses_steps.c @@ -256,7 +256,7 @@ void ses_path_print(ses_path_t* path) for (i = 0; i < path->pins->size; i++) { p = path->pins->data[i]; - printf("c%ldp%ld ", p->cid, p->id); + printf("c%ldp%ldd%d ", p->cid, p->id, p->n_diodes); } printf("\n");