* Z:\home\khalils\Downloads\files\data\raw_asc\2966c0939fdb_bitcell_cmos.asc
* Generated by LTspice 26.0.1 for Windows.
M5 EN X N007 N007 2N7002
R3 B1 N004 R=R/2
M6 N007 Y 0 0 2N7002
M1 N005 B1 0 0 2N7002
VWR BIT 0 PULSE(0 {VCC} 2u 10n 10n 1.5u 8u 10)
M7 N005 B1 N002 N002 BSS84
M2 N004 N003 0 0 2N7002
VX X 0 PULSE({VCC} 0 0 10n 10n 2u 4u 10)
M3 N006 EN B1 B1 2N7002
VB N001 0 {VB}
R4 N005 N003 R=R/2
VY Y 0 PULSE({VCC} 0 1u 10n 10n 2u 4u 10)
VCC N002 0 {VCC}
M4 N006 EN BIT BIT 2N7002
R1 N001 EN {R}
M8 N004 N003 N002 N002 BSS84
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.param VCC=3.3 R=500 VB=5
.tran 100u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1464 744
WIRE 1376 -352 -192 -352
WIRE 1376 -304 1376 -352
WIRE 816 -160 368 -160
WIRE 1072 -160 816 -160
WIRE 368 -112 368 -160
WIRE 816 -112 816 -160
WIRE 560 -96 416 -96
WIRE 768 -96 640 -96
WIRE -192 -80 -192 -352
WIRE -192 48 -192 0
WIRE -128 48 -192 48
WIRE -48 48 -128 48
WIRE 192 48 -48 48
WIRE 368 80 368 -16
WIRE 416 80 368 80
WIRE 640 80 640 -96
WIRE 640 80 496 80
WIRE -48 112 -48 48
WIRE 192 112 192 48
WIRE 560 128 560 -96
WIRE 720 128 560 128
WIRE 816 128 816 -16
WIRE 816 128 800 128
WIRE -128 160 -752 160
WIRE -64 160 -128 160
WIRE 112 160 32 160
WIRE 288 160 208 160
WIRE 640 160 640 80
WIRE 640 160 288 160
WIRE 1072 176 1072 -160
WIRE -384 256 -608 256
WIRE -288 256 -384 256
WIRE -384 304 -464 304
WIRE -336 304 -384 304
WIRE -192 336 -192 48
WIRE 368 336 368 80
WIRE 816 336 816 128
WIRE -752 368 -752 160
WIRE -608 368 -608 256
WIRE -464 368 -464 304
WIRE -288 416 -288 256
WIRE -240 416 -288 416
WIRE 560 416 560 128
WIRE 560 416 416 416
WIRE 640 416 640 160
WIRE 768 416 640 416
WIRE -192 496 -192 432
WIRE -336 576 -336 304
WIRE -240 576 -336 576
WIRE -752 656 -752 448
WIRE -608 656 -608 448
WIRE -608 656 -752 656
WIRE -464 656 -464 448
WIRE -464 656 -608 656
WIRE -192 656 -192 592
WIRE -192 656 -464 656
WIRE 368 656 368 432
WIRE 368 656 -192 656
WIRE 448 656 368 656
WIRE 816 656 816 432
WIRE 816 656 448 656
WIRE 1072 656 1072 256
WIRE 1072 656 816 656
WIRE 1376 656 1376 -224
WIRE 1376 656 1072 656
WIRE 448 720 448 656
SYMBOL nmos 112 112 M90
SYMATTR InstName M3
SYMATTR Value 2N7002
SYMBOL nmos -240 496 R0
SYMATTR InstName M6
SYMATTR Value 2N7002
SYMBOL nmos 416 336 M0
SYMATTR InstName M2
SYMATTR Value 2N7002
SYMBOL voltage 1376 -320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VB
SYMATTR Value {VB}
SYMBOL pmos 416 -16 R180
SYMATTR InstName M8
SYMATTR Value BSS84
SYMBOL pmos 768 -16 M180
SYMATTR InstName M7
SYMATTR Value BSS84
SYMBOL nmos 768 336 R0
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL nmos 32 112 R90
SYMATTR InstName M4
SYMATTR Value 2N7002
SYMBOL voltage -464 352 R0
WINDOW 3 -54 -99 VRight 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Y
SYMATTR Value PULSE({VCC} 0 1u 10n 10n 2u 4u 10)
SYMBOL voltage 1072 160 R0
SYMATTR InstName VCC
SYMATTR Value {VCC}
SYMBOL res 816 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value R=R/2
SYMBOL nmos -240 336 R0
SYMATTR InstName M5
SYMATTR Value 2N7002
SYMBOL res 512 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value R=R/2
SYMBOL voltage -752 352 R0
WINDOW 3 -54 -99 VRight 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName WR
SYMATTR Value PULSE(0 {VCC} 2u 10n 10n 1.5u 8u 10)
SYMBOL voltage -608 352 R0
WINDOW 3 -54 -99 VRight 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName X
SYMATTR Value PULSE({VCC} 0 0 10n 10n 2u 4u 10)
SYMBOL res -208 -96 R0
SYMATTR InstName R1
SYMATTR Value {R}
FLAG 448 720 0
FLAG 288 160 B1
FLAG -128 160 BIT
FLAG -128 48 EN
FLAG -384 256 X
FLAG -384 304 Y
TEXT -584 -144 Left 2 !.param VCC=3.3 R=500 VB=5
TEXT -816 728 Left 2 !.tran 100u