* Z:\home\khalils\Downloads\files\data\raw_asc\bc14ea521aa9_CPL_OR_NOR.asc
* Generated by LTspice 26.0.1 for Windows.
* CPL OR NOR
A1 N001 0 0 0 0 OR 0 0 BUF
A2 N002 0 0 0 0 NOR 0 0 BUF
A3 A 0 0 0 0 A1 0 0 BUF
A4 B 0 0 0 0 B1 0 0 BUF
V1 A 0 PULSE(0 5 0 0 0 1n 2n)
M4 A1 B1 N002 0 NMOS
M1 B B N001 0 NMOS
M2 B1 B N002 0 NMOS
M3 A B1 N001 0 NMOS
V2 B 0 PULSE(0 5 0 0 0 2n 4n)
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 20n
.measure delay_A_to_XOR TRIG V(A) VAL=2.5 TARG V(XOR) VAL=0.5
.measure delay_B_to_XOR TRIG V(B) VAL=2.5 TARG V(XOR) VAL=0.5
.measure delay_A_to_XNOR TRIG V(A) VAL=2.5 TARG V(XNOR) VAL=0.5
.measure delay_B_to_XNOR TRIG V(B) VAL=2.5 TARG V(XNOR) VAL=0.5
.measure delay_A_to_AND TRIG V(A) VAL=2.5 TARG V(AND) VAL=0.5
.measure delay_B_to_AND TRIG V(B) VAL=2.5 TARG V(AND) VAL=0.5
.measure delay_A_to_NAND TRIG V(A) VAL=2.5 TARG V(NAND) VAL=0.5
.measure delay_B_to_NAND TRIG V(B) VAL=2.5 TARG V(NAND) VAL=0.5
.measure delay_A_to_OR TRIG V(A) VAL=2.5 TARG V(OR) VAL=0.5
.measure delay_B_to_OR TRIG V(B) VAL=2.5 TARG V(OR) VAL=0.5
.measure delay_A_to_NOR TRIG V(A) VAL=2.5 TARG V(NOR) VAL=0.5
.measure delay_B_to_NOR TRIG V(B) VAL=2.5 TARG V(NOR) VAL=0.5
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE -320 48 -352 48
WIRE -288 48 -320 48
WIRE -160 48 -224 48
WIRE 512 64 512 48
WIRE -320 80 -320 48
WIRE 96 144 32 144
WIRE 464 144 96 144
WIRE 288 240 288 48
WIRE 656 240 656 64
WIRE -320 256 -352 256
WIRE -288 256 -320 256
WIRE -160 256 -224 256
WIRE -320 288 -320 256
WIRE 240 320 32 320
WIRE 608 320 240 320
WIRE 144 352 144 160
WIRE 208 352 144 352
WIRE 288 352 288 336
WIRE 288 352 208 352
WIRE 512 352 512 160
WIRE 576 352 512 352
WIRE 656 352 656 336
WIRE 656 352 576 352
WIRE 208 384 208 352
WIRE 576 384 576 352
IOPIN -352 48 In
IOPIN -160 48 In
IOPIN -352 256 In
IOPIN -160 256 In
IOPIN 208 448 Out
IOPIN 576 448 Out
IOPIN 288 48 In
IOPIN 144 64 In
IOPIN 32 144 In
IOPIN 512 48 In
IOPIN 656 64 In
IOPIN 32 320 In
SYMBOL nmos4 464 64 R0
SYMATTR InstName M2
SYMBOL Digital\\inv -288 -16 R0
SYMATTR InstName A3
SYMBOL voltage -320 272 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 0 0 0 2n 4n)
SYMBOL nmos4 608 240 R0
SYMATTR InstName M4
SYMBOL Digital\\inv -288 192 R0
SYMATTR InstName A4
SYMBOL nmos4 96 64 R0
SYMATTR InstName M1
SYMBOL Digital\\inv 640 384 R90
SYMATTR InstName A2
SYMBOL voltage -320 64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 0 0 1n 2n)
SYMBOL nmos4 240 240 R0
SYMATTR InstName M3
SYMBOL Digital\\inv 272 384 R90
SYMATTR InstName A1
FLAG 144 112 0
FLAG 512 112 0
FLAG 288 288 0
FLAG 656 288 0
FLAG -352 48 A
FLAG -160 48 A1
FLAG -352 256 B
FLAG -160 256 B1
FLAG -320 160 0
FLAG -320 368 0
FLAG 208 448 OR
FLAG 576 448 NOR
FLAG 288 48 A
FLAG 144 64 B
FLAG 32 144 B
FLAG 512 48 B1
FLAG 656 64 A1
FLAG 32 320 B1
TEXT -424 584 Left 2 !.tran 20n
TEXT -256 -408 Left 2 !.measure delay_A_to_XOR TRIG V(A) VAL=2.5 TARG V(XOR) VAL=0.5 \n.measure delay_B_to_XOR TRIG V(B) VAL=2.5 TARG V(XOR) VAL=0.5 \n.measure delay_A_to_XNOR TRIG V(A) VAL=2.5 TARG V(XNOR) VAL=0.5 \n.measure delay_B_to_XNOR TRIG V(B) VAL=2.5 TARG V(XNOR) VAL=0.5 \n.measure delay_A_to_AND TRIG V(A) VAL=2.5 TARG V(AND) VAL=0.5 \n.measure delay_B_to_AND TRIG V(B) VAL=2.5 TARG V(AND) VAL=0.5 \n.measure delay_A_to_NAND TRIG V(A) VAL=2.5 TARG V(NAND) VAL=0.5 \n.measure delay_B_to_NAND TRIG V(B) VAL=2.5 TARG V(NAND) VAL=0.5 \n.measure delay_A_to_OR TRIG V(A) VAL=2.5 TARG V(OR) VAL=0.5 \n.measure delay_B_to_OR TRIG V(B) VAL=2.5 TARG V(OR) VAL=0.5 \n.measure delay_A_to_NOR TRIG V(A) VAL=2.5 TARG V(NOR) VAL=0.5 \n.measure delay_B_to_NOR TRIG V(B) VAL=2.5 TARG V(NOR) VAL=0.5
TEXT 336 536 Left 2 ;CPL OR NOR