From f8a3882438613647d29ea2f9a4afb7598f8ceba7 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Sat, 14 Oct 2023 14:14:38 +0800 Subject: [PATCH] _output_handler() --- ses_step_output.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ses_step_output.c b/ses_step_output.c index 4448353..82470fd 100644 --- a/ses_step_output.c +++ b/ses_step_output.c @@ -2,6 +2,17 @@ static int _output_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx_t* ctx) { + ScfEline* el; + + size_t i; + + for (i = 0; i < f->n_elines; i++) { + el = f->elines[i]; + + if (SCF_EDA_PIN_OUT & el->flags) + scf_logw("IN el: %ld, V: %lg\n", el->id, el->v); + } + return 0; } -- 2.25.1