summaryrefslogtreecommitdiff
path: root/js/Electrical/PMOS.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/PMOS.js')
-rw-r--r--js/Electrical/PMOS.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js
index 7fcd2b27..a34157b8 100644
--- a/js/Electrical/PMOS.js
+++ b/js/Electrical/PMOS.js
@@ -40,13 +40,13 @@ model=arg1.model;
while (true) {
[ok,W,L,Beta,Vt,K2,K5,dW,dL,RDS,exprs]=scicos_getvalue("Set PMOS Transistor parameters",["Width [m]","Length [m]","Transconductance parameter [A/(V*V)]","Zero bias threshold voltage [V]","Bulk threshold parameter","Reduction of pinch-off region","Narrowing of channel [m]","Shortening of channel [m]","Drain-Source-Resistance [Ohm]"],list("vec",-1,"vec",-1,"vec",-1,"vec",-1,"vec",-1,"vec",-1,"vec",-1,"vec",-1,"vec",-1),exprs);
if (!ok) {
-break
+break;
}
model.equations.parameters[2-1]=list(W,L,Beta,Vt,K2,K5,dW,dL,RDS);
graphics.exprs=exprs;
x.graphics=graphics;
x.model=model;
-break
+break;
}
}
}