summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfahim-oscad2016-07-19 14:39:25 +0530
committerfahim-oscad2016-07-19 14:39:25 +0530
commit9c6ebcb291b22b785cd3b4ae51836ebf1974ecf6 (patch)
treee9a42f9685da04fb93daeeda4b6fdfd6cf9ef727
parentf09bb7f9ce6fbea64ec0bf4bc81b5267b476e177 (diff)
downloadeSimWebApp-9c6ebcb291b22b785cd3b4ae51836ebf1974ecf6.tar.gz
eSimWebApp-9c6ebcb291b22b785cd3b4ae51836ebf1974ecf6.tar.bz2
eSimWebApp-9c6ebcb291b22b785cd3b4ae51836ebf1974ecf6.zip
Subject: MOSFET library added
Description: List include NMOS-0.5um.lib NMOS-5um.lib PMOS-180nm.lib NMOS-180nm.lib PMOS-0.5um.lib PMOS-5um.lib
-rw-r--r--views/script/gui.js3
-rw-r--r--views/webtronix_server/parts.json14
-rwxr-xr-xviews/webtronix_server/spice/NMOS-0.5um.lib4
-rwxr-xr-xviews/webtronix_server/spice/NMOS-180nm.lib2
-rwxr-xr-xviews/webtronix_server/spice/NMOS-5um.lib2
-rwxr-xr-xviews/webtronix_server/spice/PMOS-0.5um.lib4
-rwxr-xr-xviews/webtronix_server/spice/PMOS-180nm.lib2
-rwxr-xr-xviews/webtronix_server/spice/PMOS-5um.lib2
8 files changed, 22 insertions, 11 deletions
diff --git a/views/script/gui.js b/views/script/gui.js
index 876f89f..5682df2 100644
--- a/views/script/gui.js
+++ b/views/script/gui.js
@@ -1134,6 +1134,7 @@ var webtronics={
$("webtronics_pulval5").style.display='none'
$("webtronics_pulval6").style.display='none'
$("webtronics_pulval7").style.display='none'
+
var value=netlistcreator.readwtx(this.circuit.selected[0],"value");
if(value!=""){$('webtronics_part_value').value=value;}
@@ -1967,7 +1968,7 @@ console.log(exception);
$('webtronics_properties_div').style.display='none';
webtronics.enablepage();
var model=webtronics.circuit.selected[0];
- //console.log("Model :"+model);
+ console.log("Model :"+model);
netlistcreator.writewtx(model,"id",$('webtronics_part_id').value);
netlistcreator.writewtx(model,"value",$('webtronics_part_value').value);
netlistcreator.writewtx(model,"model",$('webtronics_part_dir_value').value);
diff --git a/views/webtronix_server/parts.json b/views/webtronix_server/parts.json
index f09e106..c4ae63f 100644
--- a/views/webtronix_server/parts.json
+++ b/views/webtronix_server/parts.json
@@ -153,10 +153,20 @@
"2n7000":["2n7000.mod"],
"irf150":["irf150.mod"],
"irf530":["irf530.mod"],
- "irfz44n":["irfz44n.mod"]
+ "irfz44n":["irfz44n.mod"],
+ "NMOS0.5um":["NMOS-0.5um.lib"],
+ "NMOS180nm":["NMOS-180nm.lib"],
+ "NMOS5um":["NMOS-5um.lib"]
}
},
- "pmosfet":{}
+ "pmosfet":{
+ "values":{
+ "PMOS0.5um":["PMOS-0.5um.lib"],
+ "PMOS180nm":["PMOS-180nm.lib"],
+ "PMOS5um":["PMOS-5um.lib"]
+ }
+
+ }
},
diff --git a/views/webtronix_server/spice/NMOS-0.5um.lib b/views/webtronix_server/spice/NMOS-0.5um.lib
index 2e6f463..883d694 100755
--- a/views/webtronix_server/spice/NMOS-0.5um.lib
+++ b/views/webtronix_server/spice/NMOS-0.5um.lib
@@ -1,6 +1,6 @@
-.model mos_n NMOS( TPG=1 TOX=9.5n CJ=550u ETA=0.02125 VMAX=1.8E05
+.model NMOS0.5um NMOS( TPG=1 TOX=9.5n CJ=550u ETA=0.02125 VMAX=1.8E05
+ GAMMA=0.62 CGSO=0.3n LD=50n MJSW=0.35 PB=1.1
+ CGBO=0.45n XJ=0.2U CGDO=0.3n KAPPA=0.1 LEVEL=3
+ VTO=0.6 NFS=7.20E11 THETA=0.23 CJSW=0.3n PHI=0.7
+ RSH=2.0 MJ=0.6 UO=420 KP=156u DELTA=0.88
-+ NSUB=1.40E17 ) \ No newline at end of file
++ NSUB=1.40E17 )
diff --git a/views/webtronix_server/spice/NMOS-180nm.lib b/views/webtronix_server/spice/NMOS-180nm.lib
index 51e9b11..3c388a0 100755
--- a/views/webtronix_server/spice/NMOS-180nm.lib
+++ b/views/webtronix_server/spice/NMOS-180nm.lib
@@ -1,4 +1,4 @@
-.model CMOSN NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
+.model NMOS180nm NMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=2.3549E17 VTH0=0.3823463 K1=0.5810697
+ K2=4.774618E-3 K3=0.0431669 K3B=1.1498346 W0=1E-7 NLX=1.910552E-7 DVT0W=0 DVT1W=0 DVT2W=0
+ DVT0=1.2894824 DVT1=0.3622063 DVT2=0.0713729 U0=280.633249 UA=-1.208537E-9 UB=2.158625E-18
+ UC=5.342807E-11 VSAT=9.366802E4 A0=1.7593146 AGS=0.3939741 B0=-6.413949E-9 B1=-1E-7 KETA=-5.180424E-4
diff --git a/views/webtronix_server/spice/NMOS-5um.lib b/views/webtronix_server/spice/NMOS-5um.lib
index a237e1f..66b027d 100755
--- a/views/webtronix_server/spice/NMOS-5um.lib
+++ b/views/webtronix_server/spice/NMOS-5um.lib
@@ -1,5 +1,5 @@
* 5um technology
-.model mos_n NMOS( Cgso=0.4n Tox=85n Vto=1 phi=0.7
+.model NMOS5um NMOS( Cgso=0.4n Tox=85n Vto=1 phi=0.7
+ Level=1
+ Mj=.5 UO=750 Cgdo=0.4n Gamma=1.4 LAMBDA=0.01 LD=0.7u JS=1u CJ=0.4m CJSW=0.8n MJSW=0.5 PB=0.7 CGBO=0.2n )
diff --git a/views/webtronix_server/spice/PMOS-0.5um.lib b/views/webtronix_server/spice/PMOS-0.5um.lib
index 848e8b0..206e924 100755
--- a/views/webtronix_server/spice/PMOS-0.5um.lib
+++ b/views/webtronix_server/spice/PMOS-0.5um.lib
@@ -1,6 +1,6 @@
-.model mos_p PMOS( TPG=-1 TOX=9.5n CJ=950u ETA=0.025 VMAX=0.3u
+.model PMOS0.5um PMOS( TPG=-1 TOX=9.5n CJ=950u ETA=0.025 VMAX=0.3u
+ GAMMA=0.52 CGSO=0.35n LD=70n MJSW=0.25 PB=1
+ CGBO=0.45n XJ=0.2U CGDO=0.35n KAPPA=8.0 LEVEL=3
+ VTO=-0.6 NFS=6.50E11 THETA=0.2 CJSW=0.2n PHI=0.7
+ RSH=2.5 MJ=0.5 UO=130 KP=48u DELTA=0.25
-+ NSUB=1.0E17 ) \ No newline at end of file
++ NSUB=1.0E17 )
diff --git a/views/webtronix_server/spice/PMOS-180nm.lib b/views/webtronix_server/spice/PMOS-180nm.lib
index 032b5b9..c9e5991 100755
--- a/views/webtronix_server/spice/PMOS-180nm.lib
+++ b/views/webtronix_server/spice/PMOS-180nm.lib
@@ -1,4 +1,4 @@
-.model CMOSP PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
+.model PMOS180nm PMOS (LEVEL=8 VERSION=3.2 TNOM=27 TOX=4.1E-9 XJ=1E-7 NCH=4.1589E17 VTH0=-0.3938813 K1=0.5479015
+ K2=0.0360586 K3=0.0993095 K3B=5.7086622 W0=1E-6 NLX=1.313191E-7 DVT0W=0 DVT1W=0 DVT2W=0 DVT0=0.4911363
+ DVT1=0.2227356 DVT2=0.1 U0=115.6852975 UA=1.505832E-9 UB=1E-21 UC=-1E-10 VSAT=1.329694E5 A0=1.7590478
+ AGS=0.3641621 B0=3.427126E-7 B1=1.062928E-6 KETA=0.0134667 A1=0.6859506 A2=0.3506788 RDSW=168.5705677
diff --git a/views/webtronix_server/spice/PMOS-5um.lib b/views/webtronix_server/spice/PMOS-5um.lib
index 9c3ed97..0c6a44f 100755
--- a/views/webtronix_server/spice/PMOS-5um.lib
+++ b/views/webtronix_server/spice/PMOS-5um.lib
@@ -1,5 +1,5 @@
*5um technology
-.model mos_p PMOS( Cgso=0.4n Tox=85n Vto=-1 phi=0.65
+.model PMOS5um PMOS( Cgso=0.4n Tox=85n Vto=-1 phi=0.65
+ Level=1
+ Mj=.5 UO=250 Cgdo=0.4n Gamma=0.65 LAMBDA=0.03 LD=0.6u JS=1u CJ=0.18m CJSW=0.6n MJSW=0.5 PB=0.7 CGBO=0.2n )