May I please know if it is possible to sweep two voltage sources in ngspice using xschem, both in opposite directions
.dc V4 0 5 1m V5 5 0 -1m
My ngspice simulator does not give any result, the Reference value keeps on changing from 0 to 5 and does not stop. So simulation results cannot be viewed
s
Stefan Schippers
12/23/2023, 9:05 AM
the
.dc V4 0 5 1m V5 5 0 -1m
does a nested dc sweep.
It starts with V5 = 5 and does 5000 dc iterations for V4 from 0 to 5, then does the same 5000 iterations with V5=4.999 and so on.
Total is 25,000,000 steps.
If you want to do only two sweeps, then you should do:
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.