summaryrefslogtreecommitdiff
path: root/digital ciruits/cmos_nand_dlatch/cmos_nand_dlatch.cir
blob: e7ca3113b6481ad5c6f80beb1b6ee58dd8f1b848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.title KiCad schematic
.include "../libs/spice_models.lib"
V1 D 0 dc 0 pulse(0 3.3 0 0 0 100m 200m)
V2 VDD 0 3.3
V3 E 0 dc 0 pulse(0 3.3 25m 0 0 50m 100m)
X1 1 nQ Q VDD NAND
X2 D E 1 VDD NAND
X3 1 E 2 VDD NAND
X4 Q 2 nQ VDD NAND
R2 0 Q 10meg
R1 0 nQ 10meg
.tran 1m 400m
.control
run
plot v(D)+15 v(E)+10 v(Q)+5 v(nQ)
.endc
.end