From 5603c8cae7ff4990e7453edba5c7a3594d3c0a91 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 23 Jul 2021 14:54:25 +0200 Subject: [PATCH] Write some output to file with raw file or table format. --- examples/various/ro-meas.cir | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/examples/various/ro-meas.cir b/examples/various/ro-meas.cir index 94cd01e57..56f80142c 100644 --- a/examples/various/ro-meas.cir +++ b/examples/various/ro-meas.cir @@ -48,7 +48,7 @@ Vssb ssb 0 0 .control *use save ... if option savecurrents is not given -*save all @m.xro.xinv2.mn1[id] +*save all @m.xro.xinv2.mn1[id] @m.xro.xinv3.mn1[id] tran 2p 3n *use remzerovec if option savecurrents is given remzerovec @@ -70,6 +70,12 @@ plot vssb#branch * plot voltages at nodes internal to subcircuit instance xro plot xro.n1 xro.n2 xro.n3 xro.n4 xro.n5 xro.outi + +* Write the drain current of transistor m1 in inverter 3 into +* a raw file +write id.raw @m.xro.xinv3.mn1[id] +* and into a table +wrdata id.out @m.xro.xinv3.mn1[id] .endc .end