<@U01819B63HP> Is there any way to make voltages s...
# xschem
l
@Stefan Schippers Is there any way to make voltages show up directly on the schematic like how qucs-s does? Looked through xschem tutorial but didn't see anything about it
f
Closest thing at minute 8 in this video.

https://www.youtube.com/watch?v=fggf9DeVN5k

🙌 1
s
If you want to annotate the operating point you need to: • do a spice .op simulation • write results in the raw file • in xschem: Waves-> OP Annotate, load the raw file. All net labels will show a voltage (so give a name to nets using lab_pin.sym instance) All voltage sources, resistors (and ammeter.sym) devices will show current. You can also annotate voltage values from cursor position in a transient waveform: • Do a spice .tran simulation • write results in a raw file • place a waveform graph: SImulation->Graphs->Add wavform graph • Enable Simulation->Graphs->Live annotation with b cursor • Load data: Waves->Tran (load the produced raw file) • correctly zoom the waveforms in the graph (see https://xschem.sourceforge.io/stefan/xschem_man/graphs.html#graphs ) • Add the 'b' cursor (press 'b' inside the graph) Moving the 'b' cursor you will see the data in the schematic at the cursor point. (edited)
🙏 1
1.png
🙏 1
l
Live annotation with b cursor!!! Amazing feature. Xschem stands above the rest.
😄 1
v
@Stefan Schippers This is excellent feature and not seen it in any other commercial tool. What if need to annotate and check voltages for a schematic whose symbol has been used in top level testbench ?
s
@vks annotation happens everywhere in the circuit hierarchy, as long as the needed voltages / currents are present in the .raw file.
v
Is it necessary to plot the waveform within the schematic one level down in order to observe the annotation parameter value in that schematic and then use cursor to move across x-axis to see values change ?
s
no there is no need to place graphs at lower level. This is necessary if you want to move the cursor without the need to return to top.