A <video> and a <manual page> explaining how to di...
# xschem
s
A

videoโ–พ

and a manual page explaining how to display simulation data inside xschem. This is a reasonable starting point, my plan is to add features and more user friendly controls after some user feedback. If you try this send comments or suggestions!
๐ŸŽ‰ 1
๐Ÿ™Œ 2
๐Ÿ‘ 1
y
Thank you very much for the great tutorial. I am new to xschem, and tried to use this built-in waveform viewer. However, when I load .raw file I got the following error: raw_read(): failed to open file /headless/.xschem/simulations/my_opamp.raw for reading. I can plot the graph by using ngspice command "plot out". I would appreciate it if you could help me to solve this problem. Thank you in advance.
20221228_1.png,20221228_2.png,20221228_3.png,20221228_4.png
s
@Yusuke Sakemi in ngspice you need to write the raw file. At the ngspice prompt (or add these commands in xschem) do this:
save all
write my_opamp.raw
To make ngspice automatically generate the raw file do the following: in your spice command block delete the .
dc
and
.save all
and add this:
.options savecurrents
,control
save all
dc v3 0.01 2 0.01
remzerovec
write my_opamp.raw
.endc
๐Ÿ˜„ 1
y
Thank you so much. It worked!