* SPICE netlist
MW_1n_1 N002 P CO CO NMOS l=45nm w=45nm
MW_1p_1 NC_01 NC_02 NC_03 NC_04 NMOS l=45nm w=45nm
MW_2n_1 CO K 0 0 NMOS l=45nm w=90nm
MW_1p_2 CO~ K~ Vdd N003 PMOS l=45nm w=45nm
MW_2n_2 CO~ G 0 0 NMOS l=45nm w=90nm
MW_4n CO CLK~ CO~ CO~ NMOS l=45nm w=90nm
MW_3n_1 CO CLK~ 0 0 NMOS l=45nm w=135nm
MW_3n_2 CO~ CLK~ 0 0 NMOS l=45nm w=135nm
MW_5n_2 N004 P SUM SUM NMOS l=45nm w=225nm
MW_5n_1 N002 P~ SUM SUM NMOS l=45nm w=225nm
MwW_5n_3 N004 P~ SUM~ SUM~ NMOS l=45nm w=225nm
MW_5n_4 N002 P SUM~ SUM~ NMOS l=45nm w=225nm
M3 N002 CLK~ 0 0 NMOS l=45nm w=45nm
M4 N004 CLK~ 0 0 NMOS l=45nm w=45nm
M2 CI~ CLK~~ N004 N004 NMOS l=45nm w=45nm
M1 CI CLK~~ N002 N002 NMOS l=45nm w=45nm
V1 A 0 PULSE(0 1 0ns 1ns 1ns 100ns 200ns)
V2 B 0 PULSE(0 1 50ns 1ns 1ns 100ns 200ns)
M5 Vdd A A~ NC_05 PMOS
M6 Vdd B B~ NC_06 PMOS
M7 A~ A 0 NC_07 NMOS
M8 B~ B 0 NC_08 NMOS
V3 Vdd 0 1
M9 Vdd P K NC_09 PMOS
M10 K P 0 NC_10 NMOS
M11 Vdd A N006 NC_11 PMOS
M12 Vdd A~ N007 NC_12 PMOS
M13 N006 B~ P NC_13 PMOS
M14 N007 B P NC_14 PMOS
M15 P A N009 NC_15 NMOS
M16 N009 B 0 NC_16 NMOS
M17 P A~ N010 NC_17 NMOS
M18 N010 B~ 0 NC_18 NMOS
M19 Vdd A N005 NC_19 PMOS
M20 Vdd B N005 NC_20 PMOS
M21 N005 A N008 NC_21 NMOS
M22 N008 B 0 NC_22 NMOS
M23 Vdd N005 G NC_23 PMOS
M24 G N005 0 NC_24 NMOS
MW_1n_2 N004 P CO~ CO~ NMOS l=45nm w=45nm
V4 CLK 0 PULSE(0 1 0ns 1ns 1ns 50ns 100ns)
M25 Vdd CLK CLK~ NC_25 PMOS
M26 CLK~ CLK 0 NC_26 NMOS
V5 CLK~~ 0 PULSE(0 1 0ns 1ns 1ns 100ns 200ns)
V6 Cin 0 1
.include C:\Users\Vedant M\OneDrive\Desktop\DCMOS\ptm_45nm_hp.l
.tran 0 1us 0 10ps

* LTspice schematic (.asc)
Version 4
SHEET 1 3728 1744
WIRE 488 -872 456 -872
WIRE 520 -872 488 -872
WIRE 488 -808 488 -872
WIRE 488 -760 488 -792
WIRE -56 -680 -264 -680
WIRE 40 -680 -56 -680
WIRE 200 -680 40 -680
WIRE 488 -680 488 -712
WIRE 488 -680 296 -680
WIRE 1304 -680 488 -680
WIRE 1624 -680 1304 -680
WIRE 1864 -680 1624 -680
WIRE -1704 -664 -1704 -712
WIRE -1512 -664 -1512 -712
WIRE -1336 -664 -1336 -712
WIRE -1160 -664 -1160 -712
WIRE -984 -664 -984 -712
WIRE -824 -664 -824 -712
WIRE 872 -648 840 -648
WIRE 904 -648 872 -648
WIRE 1624 -648 1624 -680
WIRE 40 -632 40 -680
WIRE 488 -632 488 -680
WIRE 1304 -616 1304 -680
WIRE -312 -600 -312 -680
WIRE -264 -600 -264 -680
WIRE -264 -600 -312 -600
WIRE 248 -600 248 -680
WIRE 296 -600 296 -680
WIRE 296 -600 248 -600
WIRE 1624 -600 1544 -600
WIRE 40 -584 -40 -584
WIRE 488 -584 408 -584
WIRE 872 -584 872 -648
WIRE 984 -568 920 -568
WIRE 1304 -568 1224 -568
WIRE 1544 -552 1544 -600
WIRE 1624 -552 1544 -552
WIRE -40 -536 -40 -584
WIRE 40 -536 -40 -536
WIRE 408 -536 408 -584
WIRE 488 -536 408 -536
WIRE 872 -536 872 -568
WIRE -1656 -520 -1656 -568
WIRE -1352 -520 -1352 -568
WIRE -1032 -520 -1032 -568
WIRE -712 -520 -712 -568
WIRE 1224 -520 1224 -568
WIRE 1304 -520 1224 -520
WIRE 1624 -520 1624 -552
WIRE 40 -504 40 -536
WIRE 488 -504 488 -536
WIRE -72 -456 -264 -456
WIRE 40 -456 -72 -456
WIRE 200 -456 40 -456
WIRE 872 -456 872 -488
WIRE 872 -456 296 -456
WIRE 1304 -456 1304 -520
WIRE 1304 -456 872 -456
WIRE 1624 -456 1304 -456
WIRE 1864 -456 1624 -456
WIRE -1704 -440 -1720 -440
WIRE -1400 -440 -1416 -440
WIRE -1080 -440 -1096 -440
WIRE -760 -440 -776 -440
WIRE 40 -408 40 -456
WIRE 872 -408 872 -456
WIRE 1624 -408 1624 -456
WIRE -312 -376 -312 -456
WIRE -264 -376 -264 -456
WIRE -264 -376 -312 -376
WIRE 248 -376 248 -456
WIRE 296 -376 296 -456
WIRE 296 -376 248 -376
WIRE 40 -360 -40 -360
WIRE 872 -360 792 -360
WIRE 1624 -360 1544 -360
WIRE -1720 -344 -1720 -440
WIRE -1720 -344 -1800 -344
WIRE -1656 -344 -1656 -424
WIRE -1624 -344 -1656 -344
WIRE -1416 -344 -1416 -440
WIRE -1416 -344 -1496 -344
WIRE -1352 -344 -1352 -424
WIRE -1304 -344 -1352 -344
WIRE -1096 -344 -1096 -440
WIRE -1096 -344 -1176 -344
WIRE -1032 -344 -1032 -424
WIRE -984 -344 -1032 -344
WIRE -776 -344 -776 -440
WIRE -776 -344 -856 -344
WIRE -712 -344 -712 -424
WIRE -680 -344 -712 -344
WIRE 792 -312 792 -360
WIRE 872 -312 792 -312
WIRE 1544 -312 1544 -360
WIRE 1624 -312 1544 -312
WIRE -1656 -296 -1656 -344
WIRE -1352 -296 -1352 -344
WIRE -1032 -296 -1032 -344
WIRE -712 -296 -712 -344
WIRE -40 -296 -40 -360
WIRE 40 -296 40 -312
WIRE 40 -296 -40 -296
WIRE 872 -280 872 -312
WIRE 1624 -280 1624 -312
WIRE 40 -264 40 -296
WIRE -1720 -216 -1720 -344
WIRE -1704 -216 -1720 -216
WIRE -1416 -216 -1416 -344
WIRE -1400 -216 -1416 -216
WIRE -1096 -216 -1096 -344
WIRE -1080 -216 -1096 -216
WIRE -776 -216 -776 -344
WIRE -760 -216 -776 -216
WIRE -1656 -120 -1656 -200
WIRE -1352 -120 -1352 -200
WIRE -1032 -120 -1032 -200
WIRE -712 -120 -712 -200
WIRE 1448 24 1400 24
WIRE 1624 24 1544 24
WIRE -840 72 -840 40
WIRE -840 72 -968 72
WIRE -712 72 -840 72
WIRE -1656 88 -1656 40
WIRE -1656 88 -1816 88
WIRE -1496 88 -1656 88
WIRE -968 104 -968 72
WIRE -712 104 -712 72
WIRE 1496 104 1496 24
WIRE 1544 104 1544 24
WIRE 1544 104 1496 104
WIRE -520 120 -520 72
WIRE -1816 152 -1816 88
WIRE -1496 152 -1496 88
WIRE 1064 168 744 168
WIRE 1128 168 1064 168
WIRE 1624 168 1624 24
WIRE 1624 168 1224 168
WIRE 1816 168 1624 168
WIRE -568 200 -584 200
WIRE -968 232 -968 200
WIRE -840 232 -968 232
WIRE -712 232 -712 200
WIRE -712 232 -840 232
WIRE 1176 248 1176 168
WIRE 1224 248 1224 168
WIRE 1224 248 1176 248
WIRE -840 296 -840 232
WIRE -584 296 -584 200
WIRE -584 296 -840 296
WIRE -520 296 -520 216
WIRE -488 296 -520 296
WIRE 1064 296 1064 168
WIRE 1368 296 1064 296
WIRE -1816 312 -1816 248
WIRE -1496 312 -1496 248
WIRE -840 312 -840 296
WIRE -56 328 -56 -680
WIRE 744 328 744 168
WIRE 744 328 -56 328
WIRE 1400 328 1400 24
WIRE 1400 328 1096 328
WIRE -520 344 -520 296
WIRE -72 360 -72 -456
WIRE 744 360 -72 360
WIRE -584 424 -584 296
WIRE -568 424 -584 424
WIRE -1816 456 -1816 408
WIRE -1496 456 -1496 408
WIRE -1496 456 -1816 456
WIRE -1336 456 -1496 456
WIRE -840 488 -840 408
WIRE -1816 520 -1816 456
WIRE -1496 520 -1496 456
WIRE -520 520 -520 440
WIRE 744 520 744 360
WIRE 1096 520 1096 328
WIRE 1096 520 744 520
WIRE 1128 520 1128 456
WIRE 1128 520 1096 520
WIRE 1224 520 1224 456
WIRE 1256 520 1224 520
WIRE 1592 520 1256 520
WIRE 1816 520 1592 520
WIRE 1176 536 1176 456
WIRE 1256 536 1256 520
WIRE 1256 536 1176 536
WIRE 1544 600 1480 600
WIRE 1368 616 1368 296
WIRE 1432 616 1368 616
WIRE 1544 616 1544 600
WIRE 1544 616 1528 616
WIRE 1592 616 1592 520
WIRE 1592 616 1544 616
WIRE -840 648 -840 584
WIRE 1432 680 1432 616
WIRE 1480 680 1480 600
WIRE 1528 680 1528 616
WIRE -1816 696 -1816 616
WIRE -1496 696 -1496 616
WIRE -1816 840 -1816 792
WIRE -1656 840 -1816 840
WIRE -1496 840 -1496 792
WIRE -1496 840 -1656 840
WIRE -1656 872 -1656 840
FLAG 40 -504 0
FLAG 488 -504 0
FLAG 872 -280 0
FLAG 1624 -520 0
FLAG 1624 -280 0
FLAG 40 -264 0
FLAG 280 -728 P
IOPIN -608 112 In
FLAG 1512 728 P
IOPIN 624 1568 In
FLAG 1528 -24 P
IOPIN 640 816 In
FLAG 1208 120 P~
IOPIN 320 960 In
FLAG 1208 408 P~
IOPIN 320 1248 In
FLAG 1864 -680 CO
IOPIN 976 160 Out
FLAG 1864 -456 CO~
IOPIN 976 384 Out
FLAG 1816 168 SUM
IOPIN 928 1008 Out
FLAG 1816 520 SUM~
IOPIN 928 1360 Out
FLAG -360 -680 CI
IOPIN -1248 160 In
FLAG -360 -456 CI~
IOPIN -1248 384 In
FLAG 920 -328 G
IOPIN 32 512 In
FLAG 536 -792 G~
IOPIN -352 48 In
FLAG 536 -552 K
IOPIN -352 288 In
FLAG 984 -568 K~
IOPIN 96 272 In
FLAG -280 -728 CLK~~
IOPIN -1168 112 In
FLAG -280 -504 CLK~~
IOPIN -1168 336 In
FLAG 88 -328 CLK~
IOPIN -800 512 In
FLAG 88 -552 CLK~
IOPIN -800 288 In
FLAG 1352 -536 CLK~
IOPIN 464 304 In
FLAG 1672 -568 CLK~
IOPIN 784 272 In
FLAG 1672 -328 CLK~
IOPIN 784 512 In
FLAG -1512 -792 A
FLAG -1336 -792 B
FLAG -1656 -120 0
FLAG -1352 -120 0
FLAG -1160 -792 Vdd
FLAG -1656 -568 Vdd
FLAG -1352 -568 Vdd
FLAG -1800 -344 A
IOPIN -2688 496 In
FLAG -1496 -344 B
IOPIN -2384 496 In
FLAG -1624 -344 A~
IOPIN -2512 496 Out
FLAG -1304 -344 B~
IOPIN -2192 496 Out
FLAG -1032 -120 0
FLAG -1032 -568 Vdd
FLAG -1176 -344 P
IOPIN -2064 496 In
FLAG -984 -344 K
IOPIN -1872 496 Out
FLAG -1656 872 0
FLAG -1656 40 Vdd
FLAG -1864 232 A
IOPIN -2752 1072 In
FLAG -1864 600 A
IOPIN -2752 1440 In
FLAG -1864 392 B~
IOPIN -2752 1232 In
FLAG -1864 776 B
IOPIN -2752 1616 In
FLAG -1448 776 B~
IOPIN -2336 1616 In
FLAG -1448 232 A~
IOPIN -2336 1072 In
FLAG -1448 600 A~
IOPIN -2336 1440 In
FLAG -1448 392 B
IOPIN -2336 1232 In
FLAG -1336 456 P
IOPIN -2224 1296 Out
FLAG -840 40 Vdd
FLAG -840 648 0
FLAG -1016 184 A
IOPIN -1904 1024 In
FLAG -888 392 A
IOPIN -1776 1232 In
FLAG -760 184 B
IOPIN -1648 1024 In
FLAG -888 568 B
IOPIN -1776 1408 In
FLAG -520 520 0
FLAG -520 72 Vdd
FLAG -488 296 G
IOPIN -1376 1136 Out
FLAG 280 -504 P
IOPIN -608 336 In
FLAG 488 -872 Vdd
FLAG 872 -648 Vdd
FLAG -1512 -664 0
FLAG -1336 -664 0
FLAG -1160 -664 0
FLAG -984 -792 CLK
FLAG -984 -664 0
FLAG -712 -120 0
FLAG -712 -568 Vdd
FLAG -856 -344 CLK
IOPIN -1744 496 In
FLAG -680 -344 CLK~
IOPIN -1568 496 Out
FLAG -824 -792 CLK~~
FLAG -824 -664 0
FLAG -1704 -792 Cin
FLAG -1704 -664 0
SYMBOL nmos4 200 -728 M90
SYMATTR InstName W_1n_1
SYMATTR Value2 l=45nm w=45nm
SYMBOL nmos4 536 -712 M90
SYMATTR InstName W_1p_1
SYMATTR Value2 l=45nm w=45nm
SYMATTR Value NMOS
SYMATTR Prefix MN
SYMATTR Description N-Channel MOSFET transistor with explicit substrate connection(used for monolithic MOSFETS)
SYMATTR Type nmos4
SYMBOL nmos4 536 -632 M0
SYMATTR InstName W_2n_1
SYMATTR Value2 l=45nm w=90nm
SYMBOL pmos4 920 -488 R180
SYMATTR InstName W_1p_2
SYMATTR Value2 l=45nm w=45nm
SYMBOL nmos4 920 -408 M0
SYMATTR InstName W_2n_2
SYMATTR Value2 l=45nm w=90nm
SYMBOL nmos4 1352 -616 M0
SYMATTR InstName W_4n
SYMATTR Value2 l=45nm w=90nm
SYMBOL nmos4 1672 -648 M0
SYMATTR InstName W_3n_1
SYMATTR Value2 l=45nm w=135nm
SYMBOL nmos4 1672 -408 M0
SYMATTR InstName W_3n_2
SYMATTR Value2 l=45nm w=135nm
SYMBOL nmos4 1448 -24 M90
SYMATTR InstName W_5n_2
SYMATTR Value2 l=45nm w=225nm
SYMBOL nmos4 1128 120 M90
SYMATTR InstName W_5n_1
SYMATTR Value2 l=45nm w=225nm
SYMBOL nmos4 1128 408 M90
SYMATTR InstName wW_5n_3
SYMATTR Value2 l=45nm w=225nm
SYMBOL nmos4 1432 728 R270
SYMATTR InstName W_5n_4
SYMATTR Value2 l=45nm w=225nm
SYMBOL nmos4 88 -632 M0
SYMATTR InstName M3
SYMATTR Value2 l=45nm w=45nm
SYMBOL nmos4 88 -408 M0
SYMATTR InstName M4
SYMATTR Value2 l=45nm w=45nm
SYMBOL nmos4 -360 -504 M90
SYMATTR InstName M2
SYMATTR Value2 l=45nm w=45nm
SYMBOL nmos4 -360 -728 M90
SYMATTR InstName M1
SYMATTR Value2 l=45nm w=45nm
SYMBOL voltage -1512 -808 R0
SYMATTR InstName V1
SYMATTR Value PULSE(0 1 0ns 1ns 1ns 100ns 200ns)
SYMBOL voltage -1336 -808 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 50ns 1ns 1ns 100ns 200ns)
SYMBOL pmos4 -1704 -520 R0
SYMATTR InstName M5
SYMBOL pmos4 -1400 -520 R0
SYMATTR InstName M6
SYMBOL nmos4 -1704 -296 R0
SYMATTR InstName M7
SYMBOL nmos4 -1400 -296 R0
SYMATTR InstName M8
SYMBOL voltage -1160 -808 R0
SYMATTR InstName V3
SYMATTR Value 1
SYMBOL pmos4 -1080 -520 R0
SYMATTR InstName M9
SYMBOL nmos4 -1080 -296 R0
SYMATTR InstName M10
SYMBOL pmos4 -1864 152 R0
SYMATTR InstName M11
SYMBOL pmos4 -1448 152 M0
SYMATTR InstName M12
SYMBOL pmos4 -1864 312 R0
SYMATTR InstName M13
SYMBOL pmos4 -1448 312 M0
SYMATTR InstName M14
SYMBOL nmos4 -1864 520 R0
SYMATTR InstName M15
SYMBOL nmos4 -1864 696 R0
SYMATTR InstName M16
SYMBOL nmos4 -1448 520 M0
SYMATTR InstName M17
SYMBOL nmos4 -1448 696 M0
SYMATTR InstName M18
SYMBOL pmos4 -1016 104 R0
SYMATTR InstName M19
SYMBOL pmos4 -760 104 R0
SYMATTR InstName M20
SYMBOL nmos4 -888 312 R0
SYMATTR InstName M21
SYMBOL nmos4 -888 488 R0
SYMATTR InstName M22
SYMBOL pmos4 -568 120 R0
SYMATTR InstName M23
SYMBOL nmos4 -568 344 R0
SYMATTR InstName M24
SYMBOL nmos4 200 -504 M90
SYMATTR InstName W_1n_2
SYMATTR Value2 l=45nm w=45nm
SYMBOL voltage -984 -808 R0
SYMATTR InstName V4
SYMATTR Value PULSE(0 1 0ns 1ns 1ns 50ns 100ns)
SYMBOL pmos4 -760 -520 R0
SYMATTR InstName M25
SYMBOL nmos4 -760 -296 R0
SYMATTR InstName M26
SYMBOL voltage -824 -808 R0
SYMATTR InstName V5
SYMATTR Value PULSE(0 1 0ns 1ns 1ns 100ns 200ns)
SYMBOL voltage -1704 -808 R0
SYMATTR InstName V6
SYMATTR Value 1