Power System Analysis in Computer Aided Techniques
Power System Analysis in Computer Aided Techniques
3:
Logic Gates
Learning Objectives
10
11
12
13
14
15
16
17
18
19
Thus, we get:
x
F(x,y)
F(x,y) = xy + x'y'
21
22
23
24
25
26
27
28
29
30
An OR gate can be
implemented using
NAND gates (c).
31
32
We need to use a
circuit with more than
one output, which
clearly more powerful
than a Boolean
expression.
33
0+0 = 0
0+1 = 1
1+0 = 1
1+1 = 10
Carry Sum
Carry is x AND y
Sum is x XOR y
34
= s (sum)
c (carry)
x y s c
1 1 0 1
1 0 1 0
0 1 1 0
0 0 0 0
35
A full adder is a circuit that accepts as input thee bits x, y, and c, and
produces as output the binary sum cs of a, b, and c.
s (sum)
c (carry)
0
36
37
0
1
1
0
0
0 0
1 0
1 0
38
39
40
41
Flip-flops
Function
Reset
Set
Hold
1/1
Q
S
Memory
43