Professional Documents
Culture Documents
PPT With Numbering
PPT With Numbering
2. BCD—0000+1001=1001
0001+1000=1001
3. Decimal Number==
9s complement of 0=9-0=9
9s complement of 1=9-1=8
AND GATE
1. The AND gate is a logic circuit that has two or more inputs and a single output.
.
.
EX-NOR USING NOR
EX-OR USING NOR
• APPEND NOT GATE IN THE PREVIOUS EXAMPLE TO OBTAIN EX-OR
GATE
Poll
Solutions
Poll
Solutions
Poll
Solu
Discussions
Questions
Poll
SOlu
SOP to Standard SOP Conversion
Concepts of Minterms(m) and Maxterms(M)
Poll
Solu
How are minterms and maxterms obtained
Poll
Solu
Find minterm and maxterm(Questions)
Solutions
Poll
Solu
Poll
Solu
Poll
Solu
From the truth table obtain logical expression in standard SOP form
From the truth table obtain logical expression in standard SOP form
00
01
11
10
Gray code
Poll
Solu
Poll
Solu
Poll
SOlu
SOP=FILL LOGIC 1
POS=FILL LOGIC 0
OCTET
Y(A,B,C,D)
SUM minterm means
fill ‘1’ logic
Y(A,B,C,D)
SUM minterm means
fill ‘1’ logic
Y(A,B,C,D)
SUM minterm means
fill ‘1’ logic
Y(A,B,C,D)
SUM minterm means
Simplification of Boolean expression
fill ‘1’ logic
Poll
Solutions
Solu
1. Overlapping pairs are
allowed like this
2. No logic 1 should be left
3. Go from higher (octet) to
lower (single)
Question
Solution
A+ B.C=(A+B) (A+C)
A+AC+AB+BC
AA+AC+AB+BC(A.A=A)
Combinational Circuits
• The output of combinational circuit at any instant of time, depends only on the
levels present at input terminals.
Adders
• Addition of binary bits is the most basic operation.
Diagram
Truth table
Kmap
Full adders using half adders
Carry calculations
Poll
Solutions
Poll
Binary Subtractor
• Half subtractor is a combinational circuit with two inputs and two
output.
Full Subtractor
Truth Table
Diagram-Full Subtractor using Half Subtractor
Full subtractor using general logic diagram
Magnitude Comparator in Digital Logic
Diagram
Circuit Diagram
2 bit magnitude comparator
Kmap
Encoders
Parity Generator
Even Parity Generator
MUX
2:1 Mux
4:1 Mux
2n :1
22 :1
be
8:1 Mux
De-multiplexer(De-Mux)
Using 4:1 Mux
Using 2:1 Mux
Using 2:1 Mux
2:1 Mux
Logic gates using Mux
Abar.B+A.A=Abar.B+A=(A+Abar)(A+B)=A+B
Special case: 8:1 mux using 4:1 mux
8:1 mux
8:1 mux using 2:1 mux
Out of date
complementary metal-oxide semiconductor (CMOS)
N-channel metal-oxide semiconductor
(NMOS)
P-channel metal-oxide semiconductor
(PMOS)
Noise immunity
..001 so put 1
Priority Encoder
Standard Form
• 11011110
Solution
• 1. 34 to binary
• 2. 8 bit represent
• 3. represent +34
• 4. Take 2’s complement of it.
2. Excess - 3 - code is also known as self-complementing code
• 3. Convert gray code 11011 to binary code
4.
0101 1011
Poll
• 8. Octal equivalent of HEX AB.CD ?
Self Complementing Code
The prime implicants for which each of its minterm is
covered by some essential prime implicant are
redundant prime implicants(RPI).
The prime implicants for which are neither essential
nor redundant prime implicants are called selective
prime implicants(SPI).
After MTE-Discussions
Poll
Poll
Poll
Poll
Difference between the combinational circuits and sequential circuits
are given below
Poll
Poll
Poll
Truth Table, Characteristic Table and Excitation Table(D-Flip Flop)
Characteristic Table(D Flip Flop)
Excitation Table(D Flip Flop)
Truth Table, Characteristic Table and Excitation Table(T-Flip Flop)
Characteristic Table(T Flip Flop)
Excitation Table(T-Flip Flop)
Poll
Poll
Poll
Truth Table, Characteristic Table and Excitation Table(SR Flip Flop)
Characteristic Table(SR Flip-Flop)
Excitation Table(SR Flip-Flop)
Truth Table, Characteristic Table and Excitation Table(JK Flip Flop)
Characteristic Table(JK Flip Flop)
Excitation Table(JK Flip Flop)
Poll
Poll
Poll
Conversion of Flip-Flops(SR Flip Flop to D Flip Flop)
SR FLIP FLOP===EXCITATION TABLE ; D FLIP FLOP==CHARACTERISTIC TABLE
Poll
Discussions
Initial
Q=0
Gated SR Latch
Gated SR Latch
Counter
Discussions
• What does the triangle on the clock input of a J-K flip-flop mean?
• A. edge-triggered
Poll
Poll
Poll
Poll
Poll
Poll
Poll
Poll
Poll
3 bit Synchronous-Up-Counter
3 bit Synchronous-Up-Counter
3 bit Synchronous-Up-Counter
3 bit Synchronous-Up-Counter
3 bit Synchronous-Down-Counter
3 bit Synchronous-Down-Counter
3 bit Synchronous-Down-Counter
110
SHIFT REGISTERS
1. The binary data in a register can be moved from one flip flop to other
with the application of clock pulses.
2. The registers that allow such data transfer are called as shift registers.
Types of ROM :
a) PROM
b) EPROM
c) EEPROM
d) Mask
• PROM : Stands for programmable read-only memory, a memory
chip on which data can be written only once.
• Once a program has been written onto a PROM, it remains there
forever.
• PROMs retain their contents when the computer is turned off.
• The difference between a PROM and a ROM (read-only memory)
is that a PROM is manufactured as blank memory, whereas a
ROM is programmed during the manufacturing process.
• To write data onto a PROM chip, you need a special device called
a PROM programmer
• EPROM : Acronym for erasable programmable read-only
memory.
• EPROM is a special type of memory that retains its contents until it
is exposed to ultraviolet light.
• The ultraviolet light clears its contents, making it possible to
reprogram the memory.
• To write to and erase an EPROM, you need a special device called a
programmer or burner.
• EEPROM : Short form of electrically erasable programmable read-only
memory.
• Types of RAM’s
a) SRAM (Static RAM)
b) DRAM (Dynamic RAM)
• SRAM (Static RAM): In SRAM, the data will remain stored
permanently as long as they are supplied with power, they need not
required rewriting periodically the data into the memory.
• DRAM (Dynamic RAM): In DRAM the data will not remain stored
permanently even if power is supplied and they required the data
rewriting periodically into the memory. Thus, refreshing is required in
DRAM.
• Cache memory is a small-sized type of volatile computer memory
that provides high-speed data access to a processor.
• Main memory refers to physical memory that is internal to the
computer. It determines how many programs can be executed at
one time.
Question
Question
Race around condition
➢It occur when both inputs JK are 1 and when the state of the
flip flop keep on changing from 0 to 1, 1 to 0 and 0 to 1 so on.
➢ This phenomenon is called as race around condition.
Master-Slave JK flip flop
Bidirectional Shift Register
Bidirectional Shift Register
Bidirectional Shift Register
Poll
Poll
Universal Shift Register
Universal Shift Register
Universal Shift Register
A3 A2 A1 A0
0000
1000
1100
0110
1011
Universal Shift Register
A3 A2 A1 A0
0000
0001
0011
0110
1100
Digital To Analog Converter
A Digital to Analog Converter (DAC) consists of a number of binary inputs and a single output.