<@U02NNT94BK8>: I use the `wrdata` command: `wrd...
# xschem
t
@Ryan R: I use the
wrdata
command:
wrdata <filename> <signal1> <signal2> ...
. Its benefit is that the output is a simple space-separated columnar format, and has no header. The drawback is that it wants to write output in the form
<time> <signal1> <time> <signal2> ...
which is massively wasteful. But once you have it in a spreadsheet, it's easy enough to ignore or delete the redundant columns.
1
r
@Tim Edwards, somehow giving error for me : ** sch_path: /home/ratul619/IIT_study_VM/xschem/nmos5v.sch **.subckt nmos5v XM1 vds vgs GND GND sky130_fd_pr__nfet_g5v0d10v5 L=0.5 W=0.840 nf=1 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29' + pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W' + sa=0 sb=0 sd=0 mult=1 m=1 VDS vds GND 5 VGS vgs GND pwl 0ns 0 50ns 5 **.ends .tran 0.01n 100n .save all *.option savecurrents .probe i(vds) .print tran v(vgs) v(vds) .lib sky130.lib.spice tt *plot all.vds#branch vs VGS .plot dc i(vds) wrdata file v(vgs) i(vds) .GLOBAL GND .end
s
@Ryan R the wrdata command must be inside a
.control ... .endc
block. @Tim Edwards for the wrdata have you tried this option?
wr_singlescale Command wrdata: The scale vector will be printed only once, if all
t
@Stefan Schippers: No, I have not, and was not aware of that option, which sounds like exactly what I would want the
wrdata
command to do.
Thanks for the tip!
s
@Tim Edwards I found this option now in the manual while looking for the wrdata command, however i have not tried it yet...
@Tim Edwards similarly the
nobreak
option avoids .plot or .print listings to be interrupted with header lines on every ascii page... another "feature" i always disliked as hell....
a
I was trying to use wrdata as you can see in the first fig but I keep getting the error that says no such a vector, although the mentioned vector could be plotted separately.
s
place the
wrdata
line after the tran sim (the
tran
line)