EL204 Notes SPR 2023
EL204 Notes SPR 2023
1/4/23
Lecture Notes
Digital Waveforms
A signal that is HIGH or LOW at any given time, changing over time
Pulse
When signal exits normal resting state briefly before returning
Rising/Falling Edge - transition from LOW to HIGH or HIGH to LOW
AND only HIGH if all inputs are HIGH
A B AB
0 0 0
0 1 0
1 0 0
1 1 1
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
A B A<B A=B A>B
0 0 0 1
0 1 1 0
1 0 0 0
1 1 0 1
2. Adder - has inputs (A, B, CIN) and outputs (Q (which is a sum 𝚺), COUT)
A B CIN Q COUT
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
1/23/2023
NAND
HIGH if all inputs are LOW
Can be used to make any other kind of logic gate
LOW if inputs are equal (if there is an odd number of HIGH inputs)
XNOR (Exclusive NOR)
HIGH if an even or zero number of inputs are HIGH
Gate Ex.
Half- Adder (only a carry out)