After running an op simulation, I can see the volt...
# xschem
m
After running an op simulation, I can see the voltages on all the nodes. However, I'd like to see them also in the subcells, down the hierarchy. Is there a way to do this?
r
I think that 'just worked for me' in the past after loading the op simulation for the toplevel and descending into the subcells in xschem. Not sure if I did anything special there, just a
.save all
and an operating point simulation IIRC
m
do you have an example you can share?
we've tried a few things (including .save all)
r
Hmm, not a nice and compact one, I'll have a look to see if there's anything I did special here
Like this worked here, just get the operation point annotation from the menu and descend into the subcell
👀 1
m
any chance you can share the files?
s
As Matt was helping me post my questions here, below are a couple of screen captures. In the 2nd plot, where vdd/vss show 0 V, all device terminals show ? V. Also next thing I am planning to do is to annotate id, vgs, vdsat etc, I guess I will have to take it one thing at a time . Thanks!
r
message has been deleted
Hmm, one thing to keep in mind is that the op simulation only computes the initial operating point. Your VDD comes from a pwl that is 0 initially so the op will only give you 0 answers then
Annotation from a transient simulation is also possible. • In the go to Simulation -> Graphs and make sure that 'Live annotate probes with b cursor' is selected. • Add a graph from that same menu and place it somewhere in your schematic. • Load your transient simulation data. • Double click on the graph area to open the trace configuration window • Double click on one of the trace names to add it to the graph. You can select colors at the bottom. • Since you have more simulations stored in the .raw file, you may need to select the simulation type you want to plot things for in the trace configuration window (you can also remove the op simulation from the script) • Once you have one or more traces in the graph, close the trace configuration window. • Hover your mouse over the plot area. Hit 'f' to auto-scale the horizontal axis, and hover above the vertical axis, hit 'f' again to auto-scale the vertical axis. • Hover your mouse above the plot and hit 'b' to add the cursor, you can drag the cursor with your mouse to get to an interesting point in the graph. The saved values at that point in the simulation should now also be annotated into the graph
Here's the modified example, also now saving the gm and id of the transistors
If you're still missing things, check that 'View -> show/hide -> show hidden texts' is enabled
m
thanks Roel
I just checked it and the 2 key things I was missing was the 'b' key and the show hidden texts
that's so useful!