Hi eng,
If you're familiar with MDL, you can do this conveniently with two nested foreach loops
Code:alias measurement Rds_vs_Vgs{
...
run dc (...)
...
export real Rds=(1/(M5:gds))
// To get Rds of the device
}
foreach Vgs from swp(start=.., stop=.., step=..) {
foreach W from swp(start=.., stop=.., step=..) {
}
}
run Rds_vs_Vgs
Check out the forum posts on MDL for some idea on this.
Good Luck!
Gau