From 627ccf90b94f73354a10943fba25d2450972629d Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 24 Oct 2023 12:48:43 +0800 Subject: [PATCH] __dfs_path() --- ses_step_topo.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1