summaryrefslogtreecommitdiff
path: root/Examples/CMOS_Inverter
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/CMOS_Inverter')
-rw-r--r--Examples/CMOS_Inverter/.CMOS_Inverter.cir.out.swpbin12288 -> 0 bytes
-rw-r--r--Examples/CMOS_Inverter/CMOS_Inverter-cache.bak118
-rw-r--r--Examples/CMOS_Inverter/CMOS_Inverter.bak257
-rw-r--r--Examples/CMOS_Inverter/NMOS-0.5um.lib1
-rwxr-xr-xExamples/CMOS_Inverter/NMOS-180nm.lib13
-rw-r--r--Examples/CMOS_Inverter/PMOS-0.5um.lib1
-rwxr-xr-xExamples/CMOS_Inverter/PMOS-180nm.lib11
-rw-r--r--Examples/CMOS_Inverter/b3v32check.log6
8 files changed, 2 insertions, 405 deletions
diff --git a/Examples/CMOS_Inverter/.CMOS_Inverter.cir.out.swp b/Examples/CMOS_Inverter/.CMOS_Inverter.cir.out.swp
deleted file mode 100644
index f2abf69d..00000000
--- a/Examples/CMOS_Inverter/.CMOS_Inverter.cir.out.swp
+++ /dev/null
Binary files differ
diff --git a/Examples/CMOS_Inverter/CMOS_Inverter-cache.bak b/Examples/CMOS_Inverter/CMOS_Inverter-cache.bak
deleted file mode 100644
index 40de879d..00000000
--- a/Examples/CMOS_Inverter/CMOS_Inverter-cache.bak
+++ /dev/null
@@ -1,118 +0,0 @@
-EESchema-LIBRARY Version 2.3 Date: Tuesday 28 April 2015 10:53:44 PM IST
-#encoding utf-8
-#
-# C
-#
-DEF C C 0 10 N Y 1 F N
-F0 "C" 50 100 50 H V L CNN
-F1 "C" 50 -100 50 H V L CNN
-$FPLIST
- SM*
- C?
- C1-1
-$ENDFPLIST
-DRAW
-P 2 0 1 10 -100 -30 100 -30 N
-P 2 0 1 10 -100 30 100 30 N
-X ~ 1 0 200 170 D 40 40 1 1 P
-X ~ 2 0 -200 170 U 40 40 1 1 P
-ENDDRAW
-ENDDEF
-#
-# dc
-#
-DEF dc v 0 40 Y Y 1 F N
-F0 "v" -200 100 60 H V C CNN
-F1 "dc" -200 -50 60 H V C CNN
-F2 "R1" -300 0 60 H V C CNN
-$FPLIST
- 1_pin
-$ENDFPLIST
-DRAW
-C 0 0 150 0 1 0 N
-X + 1 0 450 300 D 50 50 1 1 P
-X - 2 0 -450 300 U 50 50 1 1 P
-ENDDRAW
-ENDDEF
-#
-# GND
-#
-DEF ~GND #PWR 0 0 Y Y 1 F P
-F0 "#PWR" 0 0 30 H I C CNN
-F1 "GND" 0 -70 30 H I C CNN
-DRAW
-P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
-X GND 1 0 0 0 U 30 30 1 1 W N
-ENDDRAW
-ENDDEF
-#
-# MOS_N
-#
-DEF MOS_N Q 0 0 N Y 1 F N
-F0 "Q" 10 170 60 H V R CNN
-F1 "MOS_N" 10 -150 60 H V R CNN
-ALIAS MOSFET_N
-DRAW
-P 2 0 1 8 -50 -100 -50 100 N
-P 2 0 1 10 0 -150 0 150 N
-P 2 0 1 0 100 -100 0 -100 N
-P 2 0 1 0 100 100 0 100 N
-P 3 0 1 8 100 -100 100 0 50 0 N
-P 5 0 1 8 50 30 50 -30 0 0 50 30 50 30 N
-X D D 100 200 100 D 40 40 1 1 P
-X G G -200 0 150 R 40 40 1 1 I
-X S S 100 -200 100 U 40 40 1 1 P
-ENDDRAW
-ENDDEF
-#
-# MOS_P
-#
-DEF MOS_P Q 0 40 Y N 1 F N
-F0 "Q" 0 190 60 H V R CNN
-F1 "MOS_P" 0 -180 60 H V R CNN
-ALIAS MOSFET_P
-DRAW
-P 2 0 1 8 -50 -100 -50 100 N
-P 2 0 1 10 0 -150 0 150 N
-P 2 0 1 8 30 0 0 0 N
-P 2 0 1 0 100 -100 0 -100 N
-P 2 0 1 0 100 100 0 100 N
-P 3 0 1 0 80 0 100 0 100 -100 N
-P 5 0 1 8 30 40 30 -30 80 0 30 40 30 40 N
-X D D 100 200 100 D 40 40 1 1 P
-X G G -200 0 150 R 40 40 1 1 I
-X S S 100 -200 100 U 40 40 1 1 P
-ENDDRAW
-ENDDEF
-#
-# PWR_FLAG
-#
-DEF PWR_FLAG #FLG 0 0 N N 1 F P
-F0 "#FLG" 0 270 30 H I C CNN
-F1 "PWR_FLAG" 0 230 30 H V C CNN
-DRAW
-X pwr 1 0 0 0 U 20 20 0 0 w
-P 3 0 1 0 0 0 0 100 0 100 N
-P 5 0 1 0 0 100 -100 150 0 200 100 150 0 100 N
-ENDDRAW
-ENDDEF
-#
-# vplot8_1
-#
-DEF vplot8_1 U 0 40 Y Y 8 F N
-F0 "U" -150 100 50 H V C CNN
-F1 "vplot8_1" 150 100 50 H V C CNN
-DRAW
-C 0 0 100 0 0 0 N
-X + 1 0 -300 200 U 40 40 1 1 I
-X + 2 0 -300 200 U 40 40 2 1 I
-X + 3 0 -300 200 U 40 40 3 1 I
-X + 4 0 -300 200 U 40 40 4 1 I
-X + 5 0 -300 200 U 40 40 5 1 I
-X + 6 0 -300 200 U 40 40 6 1 I
-X + 7 0 -300 200 U 40 40 7 1 I
-X + 8 0 -300 200 U 40 40 8 1 I
-ENDDRAW
-ENDDEF
-#
-#End Library
diff --git a/Examples/CMOS_Inverter/CMOS_Inverter.bak b/Examples/CMOS_Inverter/CMOS_Inverter.bak
deleted file mode 100644
index 5d83811f..00000000
--- a/Examples/CMOS_Inverter/CMOS_Inverter.bak
+++ /dev/null
@@ -1,257 +0,0 @@
-EESchema Schematic File Version 2
-LIBS:CMOS_Inverter-rescue
-LIBS:eSim_Analog
-LIBS:eSim_Devices
-LIBS:eSim_Digital
-LIBS:eSim_Hybrid
-LIBS:eSim_Miscellaneous
-LIBS:eSim_Plot
-LIBS:eSim_Power
-LIBS:eSim_Sources
-LIBS:eSim_Subckt
-LIBS:eSim_User
-LIBS:power
-LIBS:device
-LIBS:transistors
-LIBS:conn
-LIBS:linear
-LIBS:regul
-LIBS:74xx
-LIBS:cmos4000
-LIBS:adc-dac
-LIBS:memory
-LIBS:xilinx
-LIBS:microcontrollers
-LIBS:dsp
-LIBS:microchip
-LIBS:analog_switches
-LIBS:motorola
-LIBS:texas
-LIBS:intel
-LIBS:audio
-LIBS:interface
-LIBS:digital-audio
-LIBS:philips
-LIBS:display
-LIBS:cypress
-LIBS:siliconi
-LIBS:opto
-LIBS:atmel
-LIBS:contrib
-LIBS:valves
-LIBS:CMOS_Inverter-cache
-EELAYER 25 0
-EELAYER END
-$Descr A4 11693 8268
-encoding utf-8
-Sheet 1 1
-Title ""
-Date "29 apr 2015"
-Rev ""
-Comp ""
-Comment1 ""
-Comment2 ""
-Comment3 ""
-Comment4 ""
-$EndDescr
-Connection ~ 5800 2400
-Wire Wire Line
- 5900 2400 5800 2400
-Connection ~ 4200 3350
-Wire Wire Line
- 4200 3000 4200 3350
-Wire Wire Line
- 6550 3300 6550 3550
-Wire Wire Line
- 5800 2500 5800 2300
-Connection ~ 2900 3350
-Wire Wire Line
- 2900 3100 2900 3550
-Wire Wire Line
- 3100 3350 2900 3350
-Wire Wire Line
- 5800 3650 5800 2900
-Wire Wire Line
- 5050 2700 5500 2700
-Wire Wire Line
- 5050 2700 5050 3850
-Wire Wire Line
- 5050 3850 5500 3850
-Wire Wire Line
- 4000 3350 5050 3350
-Connection ~ 5050 3350
-Connection ~ 5800 3300
-Wire Wire Line
- 6550 4400 5800 4400
-Connection ~ 5800 4400
-Connection ~ 6300 3300
-Text GLabel 5900 2400 2 60 Input ~ 0
-vcc
-Text GLabel 6500 3150 2 60 Input ~ 0
-out
-Text GLabel 4350 3150 2 60 Input ~ 0
-in
-$Comp
-L C C1
-U 1 1 551BDFAE
-P 6550 3700
-F 0 "C1" H 6600 3800 50 0000 L CNN
-F 1 "1u" H 6600 3600 50 0000 L CNN
-F 2 "" H 6550 3700 60 0001 C CNN
-F 3 "" H 6550 3700 60 0001 C CNN
- 1 6550 3700
- 1 0 0 -1
-$EndComp
-$Comp
-L PWR_FLAG #FLG01
-U 1 1 54F86E05
-P 2900 3100
-F 0 "#FLG01" H 2900 3370 30 0001 C CNN
-F 1 "PWR_FLAG" H 2900 3330 30 0000 C CNN
-F 2 "" H 2900 3100 60 0001 C CNN
-F 3 "" H 2900 3100 60 0001 C CNN
- 1 2900 3100
- 1 0 0 -1
-$EndComp
-$Comp
-L dc-RESCUE-CMOS_Inverter v1
-U 1 1 556C4B7E
-P 3550 3350
-F 0 "v1" H 3350 3450 60 0000 C CNN
-F 1 "DC" H 3350 3300 60 0000 C CNN
-F 2 "R1" H 3250 3350 60 0000 C CNN
-F 3 "" H 3550 3350 60 0000 C CNN
- 1 3550 3350
- 0 1 1 0
-$EndComp
-$Comp
-L dc-RESCUE-CMOS_Inverter v2
-U 1 1 556C4BA7
-P 5800 1850
-F 0 "v2" H 5600 1950 60 0000 C CNN
-F 1 "5" H 5600 1800 60 0000 C CNN
-F 2 "R1" H 5500 1850 60 0000 C CNN
-F 3 "" H 5800 1850 60 0000 C CNN
- 1 5800 1850
- -1 0 0 1
-$EndComp
-Wire Wire Line
- 6300 3050 6300 3300
-Wire Wire Line
- 5800 3300 6550 3300
-$Comp
-L MOS_N M1
-U 1 1 556F0E6F
-P 5600 3650
-F 0 "M1" H 5600 3500 50 0000 R CNN
-F 1 "MOS_N" H 5700 3600 50 0000 R CNN
-F 2 "" H 5900 3350 29 0000 C CNN
-F 3 "" H 5700 3450 60 0000 C CNN
- 1 5600 3650
- 1 0 0 -1
-$EndComp
-$Comp
-L MOS_P M2
-U 1 1 556F0EE6
-P 5650 2700
-F 0 "M2" H 5600 2750 50 0000 R CNN
-F 1 "MOS_P" H 5700 2850 50 0000 R CNN
-F 2 "" H 5900 2800 29 0000 C CNN
-F 3 "" H 5700 2700 60 0000 C CNN
- 1 5650 2700
- 1 0 0 1
-$EndComp
-Wire Wire Line
- 5800 4050 5800 4700
-Wire Wire Line
- 5900 4150 5800 4150
-Connection ~ 5800 4150
-Connection ~ 5800 2450
-Wire Wire Line
- 5900 4000 5900 4150
-Wire Wire Line
- 5900 2550 5900 2450
-Wire Wire Line
- 5900 2450 5800 2450
-$Comp
-L PWR_FLAG #FLG02
-U 1 1 557AB7F7
-P 5600 4500
-F 0 "#FLG02" H 5600 4595 50 0001 C CNN
-F 1 "PWR_FLAG" H 5600 4680 50 0000 C CNN
-F 2 "" H 5600 4500 60 0000 C CNN
-F 3 "" H 5600 4500 60 0000 C CNN
- 1 5600 4500
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 5600 4500 5600 4550
-Wire Wire Line
- 5600 4550 5800 4550
-Connection ~ 5800 4550
-$Comp
-L plot_v1 U1
-U 1 1 56D852DA
-P 4200 3200
-F 0 "U1" H 4200 3700 60 0000 C CNN
-F 1 "plot_v1" H 4400 3550 60 0000 C CNN
-F 2 "" H 4200 3200 60 0000 C CNN
-F 3 "" H 4200 3200 60 0000 C CNN
- 1 4200 3200
- 1 0 0 -1
-$EndComp
-$Comp
-L plot_v1 U2
-U 1 1 56D853D9
-P 6300 3250
-F 0 "U2" H 6300 3750 60 0000 C CNN
-F 1 "plot_v1" H 6500 3600 60 0000 C CNN
-F 2 "" H 6300 3250 60 0000 C CNN
-F 3 "" H 6300 3250 60 0000 C CNN
- 1 6300 3250
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 6500 3150 6300 3150
-Connection ~ 6300 3150
-Wire Wire Line
- 4350 3150 4200 3150
-Connection ~ 4200 3150
-Wire Wire Line
- 5800 1300 5800 1400
-$Comp
-L GND #PWR03
-U 1 1 56D85765
-P 5800 1300
-F 0 "#PWR03" H 5800 1050 50 0001 C CNN
-F 1 "GND" H 5800 1150 50 0000 C CNN
-F 2 "" H 5800 1300 50 0000 C CNN
-F 3 "" H 5800 1300 50 0000 C CNN
- 1 5800 1300
- -1 0 0 1
-$EndComp
-$Comp
-L GND #PWR04
-U 1 1 56D857A1
-P 5800 4700
-F 0 "#PWR04" H 5800 4450 50 0001 C CNN
-F 1 "GND" H 5800 4550 50 0000 C CNN
-F 2 "" H 5800 4700 50 0000 C CNN
-F 3 "" H 5800 4700 50 0000 C CNN
- 1 5800 4700
- 1 0 0 -1
-$EndComp
-$Comp
-L GND #PWR05
-U 1 1 56D8585B
-P 2900 3550
-F 0 "#PWR05" H 2900 3300 50 0001 C CNN
-F 1 "GND" H 2900 3400 50 0000 C CNN
-F 2 "" H 2900 3550 50 0000 C CNN
-F 3 "" H 2900 3550 50 0000 C CNN
- 1 2900 3550
- 1 0 0 -1
-$EndComp
-Wire Wire Line
- 6550 3850 6550 4400
-$EndSCHEMATC
diff --git a/Examples/CMOS_Inverter/NMOS-0.5um.lib b/Examples/CMOS_Inverter/NMOS-0.5um.lib
new file mode 100644
index 00000000..a38a9673
--- /dev/null
+++ b/Examples/CMOS_Inverter/NMOS-0.5um.lib
@@ -0,0 +1 @@
+.model mos_n 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 )
diff --git a/Examples/CMOS_Inverter/NMOS-180nm.lib b/Examples/CMOS_Inverter/NMOS-180nm.lib
deleted file mode 100755
index 51e9b119..00000000
--- a/Examples/CMOS_Inverter/NMOS-180nm.lib
+++ /dev/null
@@ -1,13 +0,0 @@
-.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
-+ 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
-+ A1=0 A2=1 RDSW=105.5517558 PRWG=0.5 PRWB=-0.1998871 WR=1 WINT=7.904732E-10 LINT=1.571424E-8 XL=0
-+ XW=-1E-8 DWG=1.297221E-9 DWB=1.479041E-9 VOFF=-0.0955434 NFACTOR=2.4358891 CIT=0 CDSC=2.4E-4 CDSCD=0
-+ CDSCB=0 ETA0=3.104851E-3 ETAB=-2.512384E-5 DSUB=0.0167075 PCLM=0.8073191 PDIBLC1=0.1666161 PDIBLC2=3.112892E-3
-+ PDIBLCB=-0.1 DROUT=0.7875618 PSCBE1=8E10 PSCBE2=9.213635E-10 PVAG=3.85243E-3 DELTA=0.01 RSH=6.7 MOBMOD=1
-+ PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9 UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1
-+ WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5 CGDO=7.08E-10 CGSO=7.08E-10 CGBO=1E-12
-+ CJ=9.68858E-4 PB=0.8 MJ=0.3864502 CJSW=2.512138E-10 PBSW=0.809286 MJSW=0.1060414 CJSWG=3.3E-10 PBSWG=0.809286
-+ MJSWG=0.1060414 CF=0 PVTH0=-1.192722E-3 PRDSW=-5 PK2=6.450505E-5 WKETA=-4.27294E-4 LKETA=-0.0104078
-+ PU0=6.3268729 PUA=2.226552E-11 PUB=0 PVSAT=969.1480157 PETA0=1E-4 PKETA=-1.049509E-3)
diff --git a/Examples/CMOS_Inverter/PMOS-0.5um.lib b/Examples/CMOS_Inverter/PMOS-0.5um.lib
new file mode 100644
index 00000000..12ae53b8
--- /dev/null
+++ b/Examples/CMOS_Inverter/PMOS-0.5um.lib
@@ -0,0 +1 @@
+.model mos_p 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 )
diff --git a/Examples/CMOS_Inverter/PMOS-180nm.lib b/Examples/CMOS_Inverter/PMOS-180nm.lib
deleted file mode 100755
index 032b5b95..00000000
--- a/Examples/CMOS_Inverter/PMOS-180nm.lib
+++ /dev/null
@@ -1,11 +0,0 @@
-.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
-+ 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
-+ PRWG=0.5 PRWB=-0.4987371 WR=1 WINT=0 LINT=3.028832E-8 XL=0 XW=-1E-8 DWG=-2.349633E-8 DWB=-7.152486E-9
-+ VOFF=-0.0994037 NFACTOR=1.9424315 CIT=0 CDSC=2.4E-4 CDSCD=0 CDSCB=0 ETA0=0.0608072 ETAB=-0.0426148
-+ DSUB=0.7343015 PCLM=3.2579974 PDIBLC1=7.229527E-6 PDIBLC2=0.025389 PDIBLCB=-1E-3 DROUT=0 PSCBE1=1.454878E10
-+ PSCBE2=4.202027E-9 PVAG=15 DELTA=0.01 RSH=7.8 MOBMOD=1 PRT=0 UTE=-1.5 KT1=-0.11 KT1L=0 KT2=0.022 UA1=4.31E-9
-+ UB1=-7.61E-18 UC1=-5.6E-11 AT=3.3E4 WL=0 WLN=1 WW=0 WWN=1 WWL=0 LL=0 LLN=1 LW=0 LWN=1 LWL=0 CAPMOD=2 XPART=0.5
-+ CGDO=6.32E-10 CGSO=6.32E-10 CGBO=1E-12 CJ=1.172138E-3 PB=0.8421173 MJ=0.4109788 CJSW=2.242609E-10 PBSW=0.8 + MJSW=0.3752089 CJSWG=4.22E-10 PBSWG=0.8 MJSWG=0.3752089 CF=0 PVTH0=1.888482E-3 PRDSW=11.5315407 PK2=1.559399E-3
-+ WKETA=0.0319301 LKETA=2.955547E-3 PU0=-1.1105313 PUA=-4.62102E-11 PUB=1E-21 PVSAT=50 PETA0=1E-4 PKETA=-4.346368E-3)
diff --git a/Examples/CMOS_Inverter/b3v32check.log b/Examples/CMOS_Inverter/b3v32check.log
deleted file mode 100644
index b08de179..00000000
--- a/Examples/CMOS_Inverter/b3v32check.log
+++ /dev/null
@@ -1,6 +0,0 @@
-BSIM3 Model (Supports: v3.2, v3.2.2, v3.2.3, v3.2.4)
-Parameter Checking.
-Model = cmosn
-W = 0.0001, L = 0.0001, M = 1
-Warning: Pd = 0 is less than W.
-Warning: Ps = 0 is less than W.