Is there an analog signal waveform viewer in Sky13...
# analog-design
d
Is there an analog signal waveform viewer in Sky130 EDA ecosystem? At the moment I can run ngspice simulations, but I would like to have a waveform viewer to view my signals, zoom in and out, take measurements... At the moment I know how to run a simulation from Xschem or ngspice command line and view the resulting waveform in Ngspice (just one static plot). But I would like to do things like adding cursors on top on my waveforms, measure frequency, or peak to peak amplitude, or just see a list of available signals probed in the design, voltages on circuit nodes, currents probed... What is the waveform viewer to be used with Sky130 environment?
1
t
The best choice right now is
xschem
+
gaw
. . . Use the repository for
gaw
that is Stefan Schippers' update: https://github.com/StefanSchippers/xschem-gaw . I don't know offhand if it does the things you want, but Stefan is easy to reach on the #xschem channel and open to development requests.
m
IMHO, the best choice is BeSpice Wave. It is not open-source but even the free version is very capable. http://www.analogflavor.com/en/bespice/bespice-wave/
2
🙌 1
👍 1
d
Thanks!!!
r
Hi! I’m doing a history of OSHW - When should I consider Magic as open-source from? @Tim Edwards
m
40BC?
h
@Tim Edwards would know. I remember something like 1984?
r
Thanks Harald! Yes, it does seem it was UCD/BSD licensed from early on. Its copyrights are 1985 and 1990. Definitely pre-history! 😉
t
Anything I say now is only going to date myself.
c
For quick viewing and zooming around I'm using the gnuplot interface in ngspice. It is imho the best tool for quickly getting around. The downside is of course that you have to type out all signals you want to plot.
2
m
@Darío San Martín Molina there a list at the top of the channel #waveform-viewers plus others added by the interested members. Bottomline is - with all those available - none of them can stand up large waveform files. That said I always convert the raw files to Octave/Scilab absorbable form and perform the math there (FFT, etc) - that is for the large files for the small files - which is the case for many useful analyses for building blocks I use xschem-gaw as well as gnuplot capability and math manipulation within ngspice.
h
spyci
might be a good option. At least for the Python fluent ones, and use numpy and matplotlib. https://pypi.org/project/spyci/ Downside: need to write the
.raw
in ASCII, blowing up file size…
m
@Harald Pretl yepp - thank you. I am checking it out