From: yu.dongliang <18588496441@163.com> Date: Sat, 14 Oct 2023 06:14:38 +0000 (+0800) Subject: _output_handler() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=f8a3882438613647d29ea2f9a4afb7598f8ceba7;p=ses.git _output_handler() --- 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; }