diff options
author | Adhitya Kamakshidasan | 2016-07-28 21:53:13 +0530 |
---|---|---|
committer | Adhitya Kamakshidasan | 2016-07-28 21:53:13 +0530 |
commit | 572f2fef124c7e62afb917ef9c596a22724da077 (patch) | |
tree | 6d2be425cc2c89975e3c7f96393c1a55cf305a6a /history/data_structures/PMOS.js | |
parent | 1f98bf44777c0669ddb780a9875578593048c5a8 (diff) | |
download | xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.tar.gz xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.tar.bz2 xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.zip |
Support for Maven added
Diffstat (limited to 'history/data_structures/PMOS.js')
-rw-r--r-- | history/data_structures/PMOS.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/history/data_structures/PMOS.js b/history/data_structures/PMOS.js deleted file mode 100644 index 5a9ff67..0000000 --- a/history/data_structures/PMOS.js +++ /dev/null @@ -1,43 +0,0 @@ -function PMOS () { - - - var model = scicos_model(); - - var W = 50.0e-6; - - var L = 6.0e-6; - - var Beta = 0.0105e-3; - - var Vt = -1; - - var K2 = 0.41; - - var K5 = 0.839; - - var dW = -2.5e-6; - - var dL = -2.1e-6; - - var RDS = 1.e+7; - model.sim = new ScilabString(["PMOS"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["PMOS"]); - mo.outputs = new ScilabString(["D";"B";"S"]); - mo.inputs = new ScilabString(["G"]); - mo.parameters=list(new ScilabString(["W";"L";"Beta";"Vt";"K2";"K5";"dW";"dL";"RDS"]),[W],[L],[Beta],[Vt],[K2],[K5],[dW],[dL],[RDS]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(W)],[string(L)],[string(Beta)],[string(Vt)],[string(K2)],[string(K5)],[string(dW)],[string(dL)],[string(RDS)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"I";"I"]); - return new BasicBlock(this.x) -} |