Module 3-EEE
Module 3-EEE
By:
Prof. Akshatha Bhat
ECE
1. Number Systems
• Has 10 digits
• 0 through 9
• Ten distinct digits
• Base(radix) 10 system
• Representation [𝑁𝑢𝑚𝑏𝑒𝑟]
• Ex: [2]
21-12-2023
• Has 2 digits
• 0 and 1 [LOW and HIGH]
• Two distinct digits
• Base 2 system
• Representation [𝑁𝑢𝑚𝑏𝑒𝑟]
• Ex: [10110]
• Has 16 digits
• 0 through 9 and ‘A’ through ‘F’
• Sixteen distinct states
• Base 16 system
• Representation [𝑁𝑢𝑚𝑏𝑒𝑟]
• Ex: [8𝐶]
21-12-2023
2d. Summary
Ex: 25 = 11001
21-12-2023
• Try Yourself !
1. 7 =[ ]
2. 45 =[ ]
3. 170 =[ ]
• Try Yourself !
1. 27 =[ ]
2. 415 =[ ]
3. 1470 =[ ]
• Ex: 11011 = 2 + 2 + 0 + 2 + 2
• = 16 + 8 + 0 + 2 + 1
• = 27
21-12-2023
• Try Yourself !
1. 100110 = [ ]
2. 0010101 = [ ]
3. 101101 = [ ]
• Try Yourself !
1. 100110 = [ ]
2. 0010101 = [ ]
3. 101101 = [ ]
• Try Yourself !
1. 192 = [ ]
2. 𝐴2𝐵 = [ ]
3. 𝐹𝐹𝐸 = [ ]
• Try Yourself !
1. 192 = [ ]
2. 𝐴2𝐵 = [ ]
3. 𝐹𝐹𝐸 = [ ]
Try !
Examples given by students
21-12-2023
1. Logic Gates
• Ex: IC 7408
1c. OR Operation • When both inputs are LOW, the output is LOW.
• Implemented by an OR Gate.
• OR Gate performs logical addition.
• Ex: IC 7432
21-12-2023
• Ex: IC 7400
21-12-2023
• Ex: IC 7402
• Ex: IC 7486
21-12-2023
• Ex: IC 74266
Summary
21-12-2023
Summary
Demorgan’s Theorem
Demorgan’s Theorem
Demorgan’s Theorem
21-12-2023
Theorems/Rules of
Boolean Algebra/
Boolean
Logic/Binary Logic
Useful in manipulating and
simplifying Boolean
expressions.
• Basic Laws:
4. Algebraic Simplification
Examples
(REFER NOTES)
21-12-2023
Summary
Adder
An adder is a device that will add together two bits and give the
result as the output.
There are two kinds of adders - half adders and full adders.
A half adder just adds two bits together and gives a two-bit output.
A full adder adds two inputs and a carried input from another adder,
and also gives a two-bit output.
Full Adder
• Forms the arithmetic sum of THREE bits.
• Full Adder is the adder which adds three inputs and produces
two outputs.
• The first two inputs are A and B and the third input is an input carry, Ci.
• The output carry is given as Co and the normal output as S which is SUM.
Full - Adder
It is observed from the truth table that C0=1 for rows which
have two 1’s otherwise it is 0.
LATCH:
Latches are constructed from Logic gates
•
Memory element
•
No clock
•
NAND – SR Latch
1 0 1
0 1
If S= 1 & R=0 If S= 1 & R=1
then Q= 0; 𝑸 = 1 then Q= 0; 𝑸 = 1(No change)
0 1
1 0 1
1 0 0
1 1
If S= 0 & R=1 If S= 1 & R=1
then Q=1; 𝑸 = 0 then Q=1; 𝑸 = 0 (No change)
1
If S= 0 & R=0
then Q=1; 𝑸 = 𝟏 (Invalid condition)
1 1
0
TRUTH TABLE
NAND SR LATCH
S R Q 𝐐
0 0 Invalid condition
0 1 1 0
1 0 0 1
1 1 No Change (Memory)
21-12-2023
– SET = RESET = 1. Normal resting state, outputs remain in state prior to input.
– SET = 0, RESET = 1. Q will go high and remain high even if the SET input goes low.
– SET = 1, RESET = 0. Q will go low and remain low even if the RESET input goes low.
– SET = RESET = 0. Output is unpredictable because the latch is being set and reset at the
same time.
NAND SR LATCH
S R Q 𝐐
0 0 Invalid condition
0 1 1 0
1 0 0 1
1 1 No Change (Memory)
NOR- SR Latch
• The NOR latch is similar to the NAND latch except that the Q and Q’
outputs can be reversed or SET & RESET can be reversed.
• The SET and RESET inputs are active high, that is, the output will
change when the input is pulsed high.
• In order to ensure that a FF begins operation at a known level, a pulse
may be applied to the SET or RESET inputs when a device is powered
up.
21-12-2023
0 1
0
0 1
If R= 1 & S=0 If R= 0 & S=0
then Q= 0; 𝑸 = 1 then Q= 0; 𝑸 = 1(No change)
0 1 0 1
0
1
1 0 0
0
If R= 0 & S=1 If R= 0 & S=0
then Q= 1; 𝑸 = 0 then Q= 1; 𝑸 = 0 (No change)
Sequential Circuits
A circuit whose output depends on the order or the timing of the inputs.
FLIPFLOP:
Are always clocked.
•
RS Flip Flop
RS Flip Flop 1
NAND SR LATCH
S* R* Q 𝐐 − 𝐛𝐚𝐫
0 0 Invalid condition
If CLK = 0; S = X, R = X
0 1 1 0 Q & 𝐐 = No Change(Memory)
1 0 0 1
1 1 No Change (Memory)
RS Flip Flop 0 1
0 1
NAND SR LATCH
S* R* Q 𝐐 − 𝐛𝐚𝐫
0 0 Invalid condition
If CLK = 1; S = 0, R = 0
0 1 1 0 Q & 𝐐 = No Change(Memory)
1 0 0 1
1 1 No Change (Memory)
21-12-2023
RS Flip Flop 0 1
1 0
NAND SR LATCH
S* R* Q 𝐐 − 𝐛𝐚𝐫
0 0 Invalid condition
If CLK = 1; S = 0, R = 1
0 1 1 0 Q =0 & 𝐐 =1
1 0 0 1
1 1 No Change (Memory)
RS Flip Flop 1 0
0 1
NAND SR LATCH
S* R* Q 𝐐 − 𝐛𝐚𝐫
0 0 Invalid condition
If CLK = 1; S = 1, R =0
0 1 1 0 Q =1& 𝐐 =0
1 0 0 1
1 1 No Change (Memory)
21-12-2023
RS Flip Flop 1 0
1 0
NAND SR LATCH
S* R* Q 𝐐 − 𝐛𝐚𝐫
0 0 Invalid condition
If CLK = 1; S = 1, R =1
0 1 1 0 Q & 𝐐 = Invalid Condition
1 0 0 1
1 1 No Change (Memory)
0 x x No change
(Memory)
1 0 0 No change
(Memory)
1 0 1 0 1
1 1 0 1 0
1 1 1 Invalid