Stefan Schippers
12/05/2023, 9:10 PMWaves -> OP annotate
, then choose the right raw file.
To load the DC simulation go to Waves->DC
and load the appropriate file.
The launcher command
xschem raw_read $netlist_dir/tb_bg_dc.raw dc
loads the DC simulation. If there are multiple simulations in one file it is better to specify the simulation (dc, ac, tran)
To annotate the operating point the command is:
xschem annotate_op $netlist_dir/tb_bg_op.raw
Net labels and I/O pins will show the voltage value, voltage sources, resistors, ammeters will show the current. (for resistors add .option savecurrents
)Roberto Di Lorenzo
12/06/2023, 8:16 PMannotate_op
.
If i have a bandgap curvature in DC sweeping the temperature, why this command is not working in DC?
.measure dc ymax MAX v(vbg) from=-40 to=150
The name of the net is vbg
, in transient tran
it fine, where is the problem?Stefan Schippers
12/07/2023, 1:28 AMdc temp
sweep.
ngspice is looking for a v-sweep
variable, while for temp sweeps the variable is called temp-sweep
.
Try to forward this to the ngspice devs.
Error: no such vector as time, frquency or v-sweep.
Error: measure ymin min(TRIG) : out of interval
meas dc ymin min v(outm) from=-40 to=150 failed!
Roberto Di Lorenzo
12/08/2023, 7:29 PMStefan Schippers
12/10/2023, 10:03 AMcommit 3b38125afd5dfee2b7661789773becd650c5ad78
Author: Holger Vogt <holger.vogt@uni-due.de>
Date: Fri Dec 8 10:32:15 2023 +0100
Enable measurements with ?-sweep (v, i, temp, or res).
Improve error messages.
Prevent crash is compüdata is not available.
Add to examples for measure failures.