From: yu.dongliang <18588496441@163.com> Date: Tue, 24 Oct 2023 04:48:43 +0000 (+0800) Subject: __dfs_path() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=627ccf90b94f73354a10943fba25d2450972629d;p=ses.git __dfs_path() --- diff --git a/ses_step_topo.c b/ses_step_topo.c index a247272..3365ac6 100644 --- a/ses_step_topo.c +++ b/ses_step_topo.c @@ -77,6 +77,7 @@ int __dfs_path(ScfEfunction* f, ScfEcomponent* rc, ScfEpin* rp, scf_vector_t* __ for (j = 0; j < (*ppath)->pins->size; j++) { p = (*ppath)->pins->data[j]; p->pflag = 1; + p->path = (uintptr_t)*ppath; } *ppath = NULL; @@ -100,6 +101,7 @@ int __dfs_path(ScfEfunction* f, ScfEcomponent* rc, ScfEpin* rp, scf_vector_t* __ for (k = 0; k < (*ppath)->pins->size; k++) { p = (*ppath)->pins->data[k]; p->pflag = 1; + p->path = (uintptr_t)*ppath; } } else ses_path_free(*ppath);