I am currently doing an assignment using Virtuoso Schematic Editor using Spectre analysis and analog.lib - perform dc sweep analysis for a current mirror.
I can't plot the graph for the current flowing through the transistors. Whenever I click Results > Direct Plot > Main Form in analog environment, it keeps showing "There is currently no analysis data found or selected". I have tried Ouput > To be plotted and selected the transistor and it shown nothing.
Help me please as I am new in learning to use this software and looking into tutorials makes me blurrer...
By default Spectre doesn't save all currents. To save currents: Outputs > To Be Saved > Select On Schematic - click on terminals of interest. After simulation you'll be able to plot currents of selected terminals.
Locks like you didn't simulate the circuit after you had selected the outputs. Choose Simulation > "Netlist and Run" and after that click "Plot Outputs".
In DC analysis you can't plot graph, but:
1. in ADE window click Outputs -> To Be Saved -> Select On Schematic - click on terminals of interest
2. After simulation click Tools -> Calculator
3. In calculator window click idc and select terminal of interest, after that click button "print"
I didn't noted that you are using transistors from analogLib. Currents of these transistors (nmos, pmos) indeed cannot be saved and plotted (I don't know why). But there is a simple solution to this problem: insert zero-valued voltage source in series with transistor and plot current that flow through this source.