Cadence Spectre have multiple sweep analyses using sweep analysis.
See "spectre -h dc" and "spectre -h sweep".
If you run Spectre simulation from Unix Command line such as "spectre input.scs".
You can use following analysis statement.
Code:
swp_vds sweep param=vds start=0 stop=1.5 step=0.1 {
swp_vgs dc param=vgs start=0 stop=0.5 step=0.1 {
.......
}
}
However it can not be available directly, if you run Spectre from Cadence ADE.
You can specify vgs sweep as dc native sweep from ADE.
However you can not set sweep analysis for vds from ADE.
Instead you can use Parametric Analysis for vds sweep.
This is ADE function not Spectre function.
ADE's Ocean generates input.scs with changing vds.
This is equivalent to the following.
Code:
spectre input_vds1.scs
spectre input_vds2.scs
....
....
spectre input_vds_N.scs
You can not use full ability of Spectre if you run it from ADE.