* Z:\home\khalils\Downloads\files\data\raw_asc\19bd999909fe_Comparator.asc
* Generated by LTspice 26.0.1 for Windows.
M1 A_Equal_B B N005 NC_01 PMOS
M2 A_Equal_B N014 A NC_02 PMOS
M30 N009 N005 0 N010 NMOS
M32 A_Less_B N007 0 N008 NMOS
M28 N001 B N007 N004 PMOS
M29 N007 B N009 0 NMOS
M13 A_Grater_B A 0 NC_07 PMOS
M31 N002 N007 A_Less_B N006 PMOS
M11 N015 B N014 N016 PMOS
V10 N011 0 1
M14 0 N005 A_Grater_B NC_08 NMOS
V11 N015 0 1
M4 A B A_Equal_B NC_04 NMOS
M3 N005 N014 A_Equal_B NC_03 NMOS
V1 A 0 PULSE(0 1 0 500p 500p 10n 30n)
M27 N001 N005 N007 N003 PMOS
M6 N014 A A_Grater_B NC_06 NMOS
M12 N014 B 0 N017 NMOS
M10 N005 A 0 N013 NMOS
V5 N001 0 1
M5 A_Grater_B N005 N014 NC_05 PMOS
V2 B 0 PULSE(0 1 0 500p 500p 30n 40n)
V6 N002 0 1
M9 N011 A N005 N012 PMOS
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 100n
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1784 1880
WIRE 672 -1056 352 -1056
WIRE 352 -1040 352 -1056
WIRE 352 -1040 208 -1040
WIRE 480 -1040 352 -1040
WIRE 208 -992 208 -1040
WIRE 480 -992 480 -1040
WIRE 1216 -992 1072 -992
WIRE 208 -944 208 -976
WIRE 480 -944 480 -976
WIRE 1072 -944 1072 -992
WIRE 160 -912 48 -912
WIRE 432 -912 256 -912
WIRE 1072 -896 1072 -928
WIRE 1024 -864 960 -864
WIRE 208 -848 208 -896
WIRE 352 -848 208 -848
WIRE 480 -848 480 -896
WIRE 480 -848 352 -848
WIRE 352 -784 352 -848
WIRE 960 -784 960 -864
WIRE 960 -784 352 -784
WIRE 1072 -784 1072 -848
WIRE 1536 -784 1072 -784
WIRE 256 -768 256 -912
WIRE 256 -768 -928 -768
WIRE 352 -752 352 -784
WIRE 48 -704 48 -912
WIRE 48 -704 -224 -704
WIRE 448 -704 352 -704
WIRE 960 -704 960 -784
WIRE 1024 -704 960 -704
WIRE 1072 -704 1072 -736
WIRE 256 -672 256 -768
WIRE 304 -672 256 -672
WIRE 352 -576 352 -656
WIRE 48 -496 48 -704
WIRE 304 -496 48 -496
WIRE 352 -496 352 -528
WIRE 352 -448 352 -480
WIRE 448 -448 448 -704
WIRE 448 -448 352 -448
WIRE 352 -384 352 -448
WIRE 208 -304 96 -304
WIRE -400 -208 -544 -208
WIRE -544 -160 -544 -208
WIRE -400 -96 -400 -208
WIRE 208 -96 208 -304
WIRE -400 -48 -400 -80
WIRE 192 -48 144 -48
WIRE 368 -48 288 -48
WIRE -224 -32 -224 -704
WIRE -80 -32 -224 -32
WIRE -448 -16 -480 -16
WIRE -576 0 -896 0
WIRE 368 0 368 -48
WIRE 496 0 368 0
WIRE -80 16 -80 -32
WIRE 144 16 144 -48
WIRE 144 16 -80 16
WIRE -576 48 -576 0
WIRE -576 48 -608 48
WIRE -544 48 -576 48
WIRE -480 48 -480 -16
WIRE -480 48 -544 48
WIRE -400 48 -400 0
WIRE -352 48 -400 48
WIRE -224 48 -224 -32
WIRE -224 48 -352 48
WIRE -400 64 -400 48
WIRE 96 80 96 -304
WIRE 96 80 -256 80
WIRE 144 96 144 16
WIRE 192 96 144 96
WIRE 368 96 368 0
WIRE 368 96 288 96
WIRE 496 96 496 0
WIRE 880 96 496 96
WIRE -608 128 -608 48
WIRE -480 144 -480 48
WIRE -448 144 -480 144
WIRE -400 144 -400 112
WIRE 272 144 -32 144
WIRE 208 272 80 272
WIRE 192 320 128 320
WIRE 320 320 288 320
WIRE 880 320 880 96
WIRE 1312 320 880 320
WIRE -256 368 -256 80
WIRE -256 368 -512 368
WIRE 320 368 320 320
WIRE 496 368 496 96
WIRE 496 368 320 368
WIRE -544 384 -544 48
WIRE 128 384 128 320
WIRE 128 384 -544 384
WIRE -288 448 -416 448
WIRE 128 448 128 384
WIRE 192 448 128 448
WIRE 320 448 320 368
WIRE 320 448 288 448
WIRE -416 480 -416 448
WIRE -288 480 -288 448
WIRE -32 512 -32 144
WIRE -32 512 -176 512
WIRE -16 512 -32 512
WIRE -416 528 -416 496
WIRE -928 560 -928 -768
WIRE -608 560 -928 560
WIRE -464 560 -480 560
WIRE -608 608 -608 560
WIRE -608 608 -656 608
WIRE -544 608 -608 608
WIRE -512 608 -512 368
WIRE -512 608 -544 608
WIRE -480 608 -480 560
WIRE -480 608 -512 608
WIRE -416 608 -416 576
WIRE -320 608 -416 608
WIRE -176 608 -176 512
WIRE -176 608 -320 608
WIRE -416 640 -416 608
WIRE -656 672 -656 608
WIRE -480 720 -480 608
WIRE -464 720 -480 720
WIRE -416 720 -416 688
WIRE -176 832 -176 608
WIRE 80 832 80 272
WIRE 80 832 -176 832
WIRE 96 832 80 832
WIRE -544 896 -544 608
WIRE 272 896 272 496
WIRE 272 896 -544 896
WIRE -352 1264 -352 48
WIRE -208 1264 -352 1264
WIRE -128 1376 -128 1312
WIRE -16 1376 -128 1376
WIRE 112 1376 -16 1376
WIRE -320 1392 -320 608
WIRE -224 1392 -224 1312
WIRE -224 1392 -320 1392
WIRE -224 1472 -224 1392
WIRE -128 1472 -128 1376
WIRE -896 1568 -896 0
WIRE -144 1568 -144 1520
WIRE -144 1568 -896 1568
WIRE -896 1616 -896 1568
WIRE -208 1616 -896 1616
WIRE -224 1728 -224 1664
WIRE -224 1728 -416 1728
WIRE -128 1728 -128 1664
WIRE -16 1728 -16 1376
WIRE -16 1728 -128 1728
WIRE -416 1776 -416 1728
WIRE -224 1824 -224 1728
WIRE -128 1824 -128 1728
WIRE -352 1872 -352 1264
WIRE -144 1872 -352 1872
IOPIN -608 48 In
IOPIN -656 608 In
IOPIN 1536 -784 Out
IOPIN 112 1376 Out
IOPIN 1312 320 Out
SYMBOL voltage -656 656 R0
WINDOW 3 -132 148 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 500p 500p 30n 40n)
SYMATTR InstName V2
SYMBOL voltage -608 112 R0
WINDOW 3 -27 136 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 500p 500p 10n 30n)
SYMATTR InstName V1
SYMBOL nmos4 304 -752 R0
SYMATTR InstName M29
SYMBOL pmos4 160 -992 R0
SYMATTR InstName M27
SYMBOL nmos4 -448 64 R0
SYMATTR InstName M10
SYMBOL nmos4 -224 1520 R270
SYMATTR InstName M6
SYMBOL nmos4 192 496 R270
SYMATTR InstName M4
SYMBOL voltage 672 -1072 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 1
SYMBOL pmos4 -128 1264 R90
SYMATTR InstName M5
SYMBOL nmos4 304 -576 R0
SYMATTR InstName M30
SYMBOL voltage -544 -176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V10
SYMATTR Value 1
SYMBOL voltage -288 464 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V11
SYMATTR Value 1
SYMBOL voltage 1216 -1008 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 1
SYMBOL nmos4 192 144 R270
SYMATTR InstName M3
SYMBOL pmos4 288 272 R90
SYMATTR InstName M2
SYMBOL nmos4 -464 640 R0
SYMATTR InstName M12
SYMBOL nmos4 1024 -784 R0
SYMATTR InstName M32
SYMBOL pmos4 1024 -944 R0
SYMATTR InstName M31
SYMBOL pmos4 432 -992 R0
SYMATTR InstName M28
SYMBOL pmos4 -128 1616 R90
SYMATTR InstName M13
SYMBOL pmos4 -464 480 R0
SYMATTR InstName M11
SYMBOL pmos4 288 -96 R90
SYMATTR InstName M1
SYMBOL nmos4 -224 1872 R270
SYMATTR InstName M14
SYMBOL pmos4 -448 -96 R0
SYMATTR InstName M9
FLAG -416 736 0
FLAG -400 160 0
FLAG -608 208 0
FLAG -656 752 0
FLAG -608 48 A
FLAG -656 608 B
FLAG 352 -384 0
FLAG 672 -976 0
FLAG 1536 -784 A_Less_B
FLAG 1072 -688 0
FLAG 1216 -912 0
FLAG -544 -80 0
FLAG -288 560 0
FLAG 112 1376 A_Grater_B
FLAG 1312 320 A_Equal_B
FLAG -416 1776 0
TEXT -752 -672 Left 2 !.tran 100n