Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Saptarshi-prog authored Oct 13, 2022
1 parent c79ef49 commit 62fe2c0
Show file tree
Hide file tree
Showing 2 changed files with 389 additions and 0 deletions.
374 changes: 374 additions & 0 deletions Assignment_4.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,374 @@
* Key: 848caf2606654c14cb5a9a208fa7d1b5
* T-Spice Demo 9.12 Simulation Fri Oct 14 00:12:16 2022 F:\IIT Dhanbad\1st Semester\Digital VLSI Lab\Day 1\Assignment_4.sp
* Command line: tspice -o "F:\IIT Dhanbad\1st Semester\Digital VLSI Lab\Day 1\Assignment_4.out" "F:\IIT Dhanbad\1st Semester\Digital VLSI Lab\Day 1\Assignment_4.sp"
* T-Spice Win32 Demo 9.12.20040112.04:26:10
* Operating System: Windows NT/95
* Warning : Source perimeter (PS) is zero for MOSFET device M1
* Warning : Drain perimeter (PD) is zero for MOSFET device M1
* Warning : Source perimeter (PS) is zero for MOSFET device M2
* Warning : Drain perimeter (PD) is zero for MOSFET device M2
* Warning : Source perimeter (PS) is zero for MOSFET device M3
* Warning : Drain perimeter (PD) is zero for MOSFET device M3
* Warning : Source perimeter (PS) is zero for MOSFET device M4
* Warning : Drain perimeter (PD) is zero for MOSFET device M4

*SEDIT: Alter blocks = 0

*
* Device and node counts:
* MOSFETs - 4 MOSFET geometries - 2
* BJTs - 0 JFETs - 0
* MESFETs - 0 Diodes - 0
* Capacitors - 0 Resistors - 0
* Inductors - 0 Mutual inductors - 0
* Transmission lines - 0 Coupled transmission lines - 0
* Voltage sources - 3 Current sources - 0
* VCVS - 0 VCCS - 0
* CCVS - 0 CCCS - 0
* V-control switch - 0 I-control switch - 0
* Macro devices - 0 External C model instances - 0
* Subcircuits - 0 Subcircuit instances - 0
* Independent nodes - 2 Boundary nodes - 4
* Total nodes - 6

* *** 8 WARNING MESSAGES GENERATED DURING SETUP


*SEDIT: Alter=0
*SEDIT: Analysis types DCOP 1 ACMODEL 1 AC 0 TRANSIENT 1 TRANSFER 0 NOISE 0

* BEGIN NON-GRAPHICAL DATA

DC ANALYSIS
v(1) = 5.0000e+000
v(2) = 5.0000e+000
v(3) = 4.1606e-009
v(4) = 5.0000e+000
v(5) = 2.1564e-009
i(VA) = -0.0000e+000
i(VB) = -0.0000e+000
i(VDD) = -5.1000e-012

* END NON-GRAPHICAL DATA

* BEGIN NON-GRAPHICAL DATA

AC SMALL-SIGNAL MODELS

0 1 2 3
M1 M2 M3 M4
MODEL MOSN MOSN MOSP MOSP
TYPE NMOS NMOS PMOS PMOS
REGION Linear Linear Cutoff Cutoff
ID 5.10000p 4.73972p 0. 0.
IBS 0. 0. 0. 0.
IBD -2.16e-023 -2e-023 -50.00000f -50.00000f
VGS 5.00000 5.00000 0. 0.
VDS 2.15645n 2.00411n -5.00000 -5.00000
VBS 0. 0. 0. 0.
VTH 699.99988m 699.99988m -699.99972m -699.99972m
VDSAT 4.30000 4.30000 699.99886m 699.99886m
RS 0. 0. 0. 0.
RD 0. 0. 0. 0.
GM 1.18605p 1.10226p 0. 0.
GDS 2.36500m 2.36500m 0. 0.
GMB 283.52017f 263.49105f 0. 0.
GBD 10.00000f 10.00000f 10.00000f 10.00000f
GBS 389.22857f 389.22857f 389.23393f 389.23393f
CDTOT 575.52217a 575.52217a 575.52217a 575.52217a
CGTOT 1.72657f 1.72657f 1.72657f 1.72657f
CSTOT 575.52217a 575.52217a 575.52217a 575.52217a
CBTOT 575.52217a 575.52217a 575.52217a 575.52217a
CGS 575.52217a 575.52217a 575.52217a 575.52217a
CGD 575.52217a 575.52217a 575.52217a 575.52217a
CGB 575.52217a 575.52217a 575.52217a 575.52217a
CBD 0. 0. 0. 0.
CBS 0. -3.94e-025 0. 0.


* VOLTAGE SOURCES

4 5 6
VA VB VDD
VOLTAGE 5.00000 5.00000 5.00000
CURRENT 0. 0. -5.10000p
POWER 0. 0. -25.50000p


Element name cross-reference:
0 : M1
1 : M2
2 : M3
3 : M4
4 : VA
5 : VB
6 : VDD

* END NON-GRAPHICAL DATA

*WEDIT: .tran 1e-006 0.00015
TRANSIENT ANALYSIS
Time<s> v(3)<V> v(2)<V> v(1)<V>
0.000000e+000 5.0000e+000 0.0000e+000 0.0000e+000
5.000000e-010 4.3990e+000 2.5000e+000 2.5000e+000
5.136894e-010 4.3148e+000 2.5684e+000 2.5684e+000
5.558586e-010 3.7474e+000 2.7793e+000 2.7793e+000
6.143326e-010 1.1735e+000 3.0717e+000 3.0717e+000
6.253531e-010 7.8268e-001 3.1268e+000 3.1268e+000
6.359487e-010 6.9889e-001 3.1797e+000 3.1797e+000
6.579504e-010 5.2044e-001 3.2898e+000 3.2898e+000
6.892539e-010 3.5073e-001 3.4463e+000 3.4463e+000
7.349253e-010 1.7348e-001 3.6746e+000 3.6746e+000
8.001268e-010 5.0345e-002 4.0006e+000 4.0006e+000
9.118050e-010 9.3374e-003 4.5590e+000 4.5590e+000
1.000000e-009 1.0965e-002 5.0000e+000 5.0000e+000
1.315000e-009 6.7383e-005 5.0000e+000 5.0000e+000
4.465000e-009 4.4852e-008 5.0000e+000 5.0000e+000
3.596500e-008 -1.1193e-007 5.0000e+000 5.0000e+000
3.509650e-007 1.2055e-007 5.0000e+000 5.0000e+000
2.350965e-006 -1.1193e-007 5.0000e+000 5.0000e+000
4.350965e-006 1.2055e-007 5.0000e+000 5.0000e+000
6.350965e-006 -1.1193e-007 5.0000e+000 5.0000e+000
8.350965e-006 1.2055e-007 5.0000e+000 5.0000e+000
1.035096e-005 -1.1193e-007 5.0000e+000 5.0000e+000
1.235096e-005 1.2055e-007 5.0000e+000 5.0000e+000
1.435096e-005 -1.1192e-007 5.0000e+000 5.0000e+000
1.635096e-005 1.2055e-007 5.0000e+000 5.0000e+000
1.835096e-005 -1.1192e-007 5.0000e+000 5.0000e+000
2.000099e-005 -1.1192e-007 5.0000e+000 5.0000e+000
2.0001499e-005 8.7745e-001 2.5000e+000 5.0000e+000
2.0001756e-005 4.8545e+000 1.2179e+000 5.0000e+000
2.000176043e-005 4.8915e+000 1.1978e+000 5.0000e+000
2.000177744e-005 4.9259e+000 1.1128e+000 5.0000e+000
2.00018125e-005 4.9691e+000 9.3747e-001 5.0000e+000
2.00018628e-005 4.9943e+000 6.8582e-001 5.0000e+000
2.00019231e-005 4.9935e+000 3.8431e-001 5.0000e+000
2.00019891e-005 4.9950e+000 5.4277e-002 5.0000e+000
2.000199999e-005 4.9947e+000 0.0000e+000 5.0000e+000
2.00020899e-005 4.9999e+000 0.0000e+000 5.0000e+000
2.0002989e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.001198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.010198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.100198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.300198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.500198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.700198e-005 5.0000e+000 0.0000e+000 5.0000e+000
2.900198e-005 5.0000e+000 0.0000e+000 5.0000e+000
3.000100e-005 5.0000e+000 0.0000e+000 5.0000e+000
3.0001499e-005 4.9981e+000 0.0000e+000 2.5000e+000
3.0001814e-005 4.9985e+000 0.0000e+000 9.2500e-001
3.00019724e-005 4.9986e+000 0.0000e+000 1.3750e-001
3.000199999e-005 4.9987e+000 0.0000e+000 0.0000e+000
3.00020899e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.0002989e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.001198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.010198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.100198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.300198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.500198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.700198e-005 5.0000e+000 0.0000e+000 0.0000e+000
3.900198e-005 5.0000e+000 0.0000e+000 0.0000e+000
4.000000e-005 5.0000e+000 0.0000e+000 0.0000e+000
4.0000500e-005 4.3916e+000 2.5000e+000 2.5000e+000
4.00006575e-005 5.7756e-001 3.2875e+000 3.2875e+000
4.000067803e-005 3.8166e-001 3.3902e+000 3.3902e+000
4.000070590e-005 2.8848e-001 3.5295e+000 3.5295e+000
4.00007608e-005 1.0218e-001 3.8040e+000 3.8040e+000
4.00008372e-005 2.6108e-002 4.1862e+000 4.1862e+000
4.00009644e-005 4.9905e-003 4.8223e+000 4.8223e+000
4.000100000e-005 1.0709e-002 5.0000e+000 5.0000e+000
4.00013150e-005 6.5857e-005 5.0000e+000 5.0000e+000
4.0004465e-005 4.3947e-008 5.0000e+000 5.0000e+000
4.003596e-005 -1.0764e-007 5.0000e+000 5.0000e+000
4.035096e-005 1.1626e-007 5.0000e+000 5.0000e+000
4.235096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
4.435096e-005 1.1626e-007 5.0000e+000 5.0000e+000
4.635096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
4.835096e-005 1.1626e-007 5.0000e+000 5.0000e+000
5.035096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
5.235096e-005 1.1626e-007 5.0000e+000 5.0000e+000
5.435096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
5.635096e-005 1.1626e-007 5.0000e+000 5.0000e+000
5.835096e-005 -1.0763e-007 5.0000e+000 5.0000e+000
6.000100e-005 -1.0763e-007 5.0000e+000 5.0000e+000
6.00014999e-005 8.7745e-001 2.5000e+000 5.0000e+000
6.00017564e-005 4.8545e+000 1.2179e+000 5.0000e+000
6.0001760430e-005 4.8915e+000 1.1978e+000 5.0000e+000
6.000177744e-005 4.9259e+000 1.1128e+000 5.0000e+000
6.000181250e-005 4.9691e+000 9.3747e-001 5.0000e+000
6.000186283e-005 4.9943e+000 6.8582e-001 5.0000e+000
6.00019231e-005 4.9935e+000 3.8431e-001 5.0000e+000
6.00019891e-005 4.9950e+000 5.4277e-002 5.0000e+000
6.000199999e-005 4.9947e+000 0.0000e+000 5.0000e+000
6.00020899e-005 4.9999e+000 0.0000e+000 5.0000e+000
6.0002989e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.001198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.010198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.100198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.300198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.500198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.700198e-005 5.0000e+000 0.0000e+000 5.0000e+000
6.900198e-005 5.0000e+000 0.0000e+000 5.0000e+000
7.000100e-005 5.0000e+000 0.0000e+000 5.0000e+000
7.00014999e-005 4.9981e+000 0.0000e+000 2.5000e+000
7.00018149e-005 4.9985e+000 0.0000e+000 9.2500e-001
7.00019724e-005 4.9986e+000 0.0000e+000 1.3750e-001
7.000200000e-005 4.9987e+000 0.0000e+000 0.0000e+000
7.00020900e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.0002990e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.001199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.010199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.100199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.300199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.500199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.700199e-005 5.0000e+000 0.0000e+000 0.0000e+000
7.900199e-005 5.0000e+000 0.0000e+000 0.0000e+000
8.000000e-005 5.0000e+000 0.0000e+000 0.0000e+000
8.00004999e-005 4.3916e+000 2.5000e+000 2.5000e+000
8.00006574e-005 5.7756e-001 3.2875e+000 3.2875e+000
8.000067803e-005 3.8166e-001 3.3902e+000 3.3902e+000
8.000070590e-005 2.8848e-001 3.5295e+000 3.5295e+000
8.000076080e-005 1.0218e-001 3.8040e+000 3.8040e+000
8.000083724e-005 2.6108e-002 4.1862e+000 4.1862e+000
8.00009644e-005 4.9905e-003 4.8223e+000 4.8223e+000
8.000100000e-005 1.0709e-002 5.0000e+000 5.0000e+000
8.00013150e-005 6.5857e-005 5.0000e+000 5.0000e+000
8.0004465e-005 4.3947e-008 5.0000e+000 5.0000e+000
8.003596e-005 -1.0764e-007 5.0000e+000 5.0000e+000
8.035096e-005 1.1626e-007 5.0000e+000 5.0000e+000
8.235096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
8.435096e-005 1.1626e-007 5.0000e+000 5.0000e+000
8.635096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
8.835096e-005 1.1626e-007 5.0000e+000 5.0000e+000
9.035096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
9.235096e-005 1.1626e-007 5.0000e+000 5.0000e+000
9.435096e-005 -1.0764e-007 5.0000e+000 5.0000e+000
9.635096e-005 1.1626e-007 5.0000e+000 5.0000e+000
9.835096e-005 -1.0763e-007 5.0000e+000 5.0000e+000
1.000009e-004 -1.0763e-007 5.0000e+000 5.0000e+000
1.00001499e-004 8.7745e-001 2.5000e+000 5.0000e+000
1.00001756e-004 4.8545e+000 1.2179e+000 5.0000e+000
1.0000176043e-004 4.8915e+000 1.1978e+000 5.0000e+000
1.000017774e-004 4.9259e+000 1.1128e+000 5.0000e+000
1.000018125e-004 4.9691e+000 9.3747e-001 5.0000e+000
1.000018628e-004 4.9943e+000 6.8582e-001 5.0000e+000
1.000019231e-004 4.9935e+000 3.8431e-001 5.0000e+000
1.000019891e-004 4.9950e+000 5.4277e-002 5.0000e+000
1.000019999e-004 4.9947e+000 0.0000e+000 5.0000e+000
1.000020900e-004 4.9999e+000 0.0000e+000 5.0000e+000
1.00002990e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.0001199e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.001019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.010019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.030019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.050019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.070019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.090019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.100010e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.10001499e-004 4.9981e+000 0.0000e+000 2.5000e+000
1.10001814e-004 4.9985e+000 0.0000e+000 9.2500e-001
1.10001972e-004 4.9986e+000 0.0000e+000 1.3750e-001
1.100020000e-004 4.9987e+000 0.0000e+000 0.0000e+000
1.100020900e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.10002990e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.1001199e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.101019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.110019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.130019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.150019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.170019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.190019e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.199999e-004 5.0000e+000 0.0000e+000 0.0000e+000
1.20000499e-004 4.3916e+000 2.5000e+000 2.5000e+000
1.20000657e-004 5.7756e-001 3.2875e+000 3.2875e+000
1.200006780e-004 3.8166e-001 3.3902e+000 3.3902e+000
1.200007059e-004 2.8848e-001 3.5295e+000 3.5295e+000
1.200007608e-004 1.0218e-001 3.8040e+000 3.8040e+000
1.200008372e-004 2.6108e-002 4.1862e+000 4.1862e+000
1.20000964e-004 4.9905e-003 4.8223e+000 4.8223e+000
1.200009999e-004 1.0709e-002 5.0000e+000 5.0000e+000
1.20001315e-004 6.5857e-005 5.0000e+000 5.0000e+000
1.2000446e-004 4.3947e-008 5.0000e+000 5.0000e+000
1.200359e-004 -1.0764e-007 5.0000e+000 5.0000e+000
1.203509e-004 1.1626e-007 5.0000e+000 5.0000e+000
1.223509e-004 -1.0764e-007 5.0000e+000 5.0000e+000
1.243509e-004 1.1626e-007 5.0000e+000 5.0000e+000
1.263509e-004 -1.0764e-007 5.0000e+000 5.0000e+000
1.283509e-004 1.1626e-007 5.0000e+000 5.0000e+000
1.303509e-004 -1.0764e-007 5.0000e+000 5.0000e+000
1.323509e-004 1.1626e-007 5.0000e+000 5.0000e+000
1.343509e-004 -1.0764e-007 5.0000e+000 5.0000e+000
1.363509e-004 1.1626e-007 5.0000e+000 5.0000e+000
1.383509e-004 -1.0763e-007 5.0000e+000 5.0000e+000
1.400009e-004 -1.0763e-007 5.0000e+000 5.0000e+000
1.40001500e-004 8.7745e-001 2.5000e+000 5.0000e+000
1.40001756e-004 4.8545e+000 1.2179e+000 5.0000e+000
1.4000176043e-004 4.8915e+000 1.1978e+000 5.0000e+000
1.400017774e-004 4.9259e+000 1.1128e+000 5.0000e+000
1.400018125e-004 4.9691e+000 9.3747e-001 5.0000e+000
1.400018628e-004 4.9943e+000 6.8582e-001 5.0000e+000
1.400019231e-004 4.9935e+000 3.8431e-001 5.0000e+000
1.400019891e-004 4.9950e+000 5.4277e-002 5.0000e+000
1.4000200000e-004 4.9947e+000 0.0000e+000 5.0000e+000
1.400020899e-004 4.9999e+000 0.0000e+000 5.0000e+000
1.40002989e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.4001198e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.401019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.410019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.430019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.450019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.470019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.490019e-004 5.0000e+000 0.0000e+000 5.0000e+000
1.500000e-004 5.0000e+000 0.0000e+000 5.0000e+000

* SIMULATION STATISTICS:
* DC operating point
* Total DC operating points = 2
* Total Newton iterations = 6
* Total Current evaluations = 8
* Transient analysis
* Transient timesteps = 215
* Successful timesteps = 210
* Failed timesteps = 5
* Newton non-convergence failures = 5
* Delta voltage (dv) failures = 0
* Newton iterations = 356
* Successful Newton iterations = 301
* Failed Newton iterations = 55
* Average Newton iterations/timestep = 1.656
* Average Newton iterations/success = 1.433
* Current evaluations = 749
*
* Matrix statistics: OP TRAN
* Matrix factors 6 356
* Matrix solves 6 356
* Size 2 2
* Initial elements 4 4
* Final elements 4 4
* Fill-ins 0 0
* Initial density 100.00% 100.00%
* Final density 100.00% 100.00%
*
* Total matrix factorizations = 362
* Total matrix-vector solves = 362
* Total matrix solve time (seconds) = 0
*
* T-Spice process times
* Newton solver 0.01 seconds
* Current evaluations 0.00 seconds
* Jacobian construction 0.00 seconds
* Linear solver 0.00 seconds
*
*

* Parsing 0.00 seconds
* Setup 0.00 seconds
* DC operating point 0.01 seconds
* DC operating point 0.00 seconds
* Transient Analysis 0.01 seconds
* Overhead 0.01 seconds
* -----------------------------------------
* Total 0.03 seconds


* End of T-Spice output file
15 changes: 15 additions & 0 deletions Assignment_4.sp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*Simulation of CMOS NAND Gate
M1 5 1 0 0 MOSN W=5U L=1.0U
M2 3 2 5 5 MOSN W=5U L=1.0U
M3 3 2 4 4 MOSP W=5U L=1.0U
M4 3 1 4 4 MOSP W=5U L=1.0U
VA 2 0 DC 5V PULSE(0 5V 0 1NS 1NS 20US 40US)
VB 1 0 DC 5V PULSE(0 5V 0 1NS 1NS 30US 40US)
VDD 4 0 DC 5.0
.MODEL MOSN NMOS VTO=0.7 KP=110U GAMMA=0.4 LAMBDA=0.04 PHI=0.7
.MODEL MOSP PMOS VTO=-0.7 KP=50U GAMMA=0.57 LAMBDA=0.05 PHI=0.8
.TRAN 1US 150US
.OP
.PRINT TRAN V(3) V(2) V(1)
.PROBE
.END

0 comments on commit 62fe2c0

Please sign in to comment.