SPICE/NAND 2 Input TTL

created in LTspice/Switcher CAD III(could be template/tag)

Description
The internal schematic of a standard TTL 2 input NAND gate

Dependances

 * SPICE/VCC 5V
 * SPICE/2 Emitter NPN

Code Listing
NAND.TTL.asc Version 4 SHEET 1 880 680 WIRE 272 32 272 16 WIRE 272 32 112 32 WIRE 384 32 272 32 WIRE 112 48 112 32 WIRE 272 48 272 32 WIRE 384 48 384 32 WIRE 384 144 384 128 WIRE 272 192 272 128 WIRE 320 192 272 192 WIRE 112 240 112 128 WIRE 272 256 272 192 WIRE 384 272 384 240 WIRE 32 304 -48 304 WIRE 48 304 32 304 WIRE 208 304 160 304 WIRE 64 336 64 304 WIRE 64 336 -48 336 WIRE 384 352 384 336 WIRE 496 352 384 352 WIRE 384 368 384 352 WIRE 272 416 272 352 WIRE 320 416 272 416 WIRE 32 464 32 304 WIRE 64 464 64 336 WIRE 272 464 272 416 WIRE 32 560 32 528 WIRE 64 560 64 528 WIRE 64 560 32 560 WIRE 272 560 272 544 WIRE 272 560 64 560 WIRE 384 560 384 464 WIRE 384 560 272 560 WIRE 272 576 272 560 FLAG 272 576 0 FLAG -48 304 A FLAG -48 336 B FLAG 496 352 X SYMBOL 5v 272 16 R0 SYMATTR InstName X1 SYMBOL npn 320 368 R0 WINDOW 0 30 34 Left 0 WINDOW 3 32 62 Left 0 SYMATTR InstName Q2 SYMBOL npn 320 144 R0 WINDOW 0 35 37 Left 0 WINDOW 3 33 61 Left 0 SYMATTR InstName Q3 SYMBOL npn 208 256 R0 WINDOW 0 41 32 Left 0 WINDOW 3 37 58 Left 0 SYMATTR InstName Q4 SYMBOL 2innpn 160 240 R90 SYMATTR InstName Q1 SYMBOL diode 48 528 R180 WINDOW 0 37 18 Left 0 WINDOW 3 25 0 Left 0 SYMATTR InstName D1 SYMATTR Value "" SYMBOL diode 80 528 R180 WINDOW 0 -30 19 Left 0 WINDOW 3 24 -2 Left 0 SYMATTR InstName D2 SYMATTR Value "" SYMBOL res 256 448 R0 SYMATTR InstName R1 SYMATTR Value 1k SYMBOL diode 368 272 R0 SYMATTR InstName Dout SYMATTR Value "" SYMBOL res 368 32 R0 SYMATTR Value 125 SYMBOL res 288 32 M0 SYMATTR Value 1.6k SYMBOL res 128 32 M0 SYMATTR Value 4k