Presentation 1
Presentation 1
Dr. Hasanujjaman
Assistant Professor
Department of Electronics & Communication Engineering
Kalyani Government Engineering College
March 6, 2025 1
EC392 Digital System Design Lab 0L:0T:2P 1 credits
March 6, 2025 2
Virtual Lab
• https://de-iitr.vlabs.ac.in/
March 6, 2025 3
Circuits
• Circuits can be Combinational or Sequential
• Combinational logic circuits produce a specified output
(almost) at the instant when input values are applied.
• The addition of a memory device to a combinational circuit
allows the output to be fed back into the input: Sequential
circuit
Combinational circuit
Input(s) Output(s)
circuit
memory
Sequential circuit
March 6, 2025 4
Digital Devices
• Combinational circuit
– Gates
– Multiplexer
– Demultiplexer
– Adders
– Encoder
– Decoder
• Sequential circuit
– Flip-Flops
– Registers
– Counters
March 6, 2025 5
Gates
• The most basic digital devices are called gates.
• Gates got their name from their function of
allowing or blocking (gating) the flow of digital
information.
• A gate has one or more inputs and produces an
output depending on the input(s).
• A gate is called a combinational circuit.
• Three most important gates are: AND, OR, NOT
March 6, 2025 6
NOT Gate
•A NOT gate accepts one input signal (0 or 1)
and returns the opposite signal as output
March 6, 2025 7
AND Gate
•An AND gate accepts two input signals
•If both are 1, the output is 1; otherwise the
output is 0
March 6, 2025 8
OR Gate
•An OR gate accepts two input signals
•If both are 0, the output is 0; otherwise, the
output is 1
March 6, 2025 9
XOR Gate
• An XOR gate accepts two input signals
• If both are the same, the output is 0; therwise,
the output is 1
March 6, 2025 10
NAND Gate
•The NAND gate accepts two input signals
•If both are 1, the output is 0; otherwise, the
output is 1
March 6, 2025 11
NOR Gate
•The NOR gate accepts two input
signals
•If both are 0, the output is 1; otherwise,
the output is 0
March 6, 2025 12
Universal Gates
March 6, 2025 13
Adders
• At the digital logic level, addition is performed
in binary.
• Addition operations are carried out
by special circuits called, appropriately,
adders.
14
Adders
• The result of adding two binary digits could
produce a carry value.
• Recall that 1 + 1 = 10 in base two.
• A circuit that computes the sum of two bits
and produces the correct carry bit is called a
half adder.
15
Adder Truth Table
• Examine the adder’s
truth table carefully.
• The Sum column has
the same results as the
XOR gate.
• The Carry column has
the same results as the
AND gate.
16
Adders
17
Adders
18
Combinational Circuits
• Gates are combined into circuits by using the output
of one gate as the input for another.
19
Combinational Circuits
20
Combinational Circuits
• This same circuit using Boolean algebra:
AB + AC
21
Combinational Circuits
• Now let’s go the other way; let’s take a Boolean expression
and draw its circuit and its Truth Table.
A(B + C)
• What does it mean?
22
Combinational Circuits
A (B + C)
23
A (B + C)
A B C B+C A(B + C)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
24
A (B + C)
A B C B+C A(B + C)
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
25
A (B + C)
A B C B+C A(B + C)
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 1 0
1 0 0 0 0
1 0 1 1 1
1 1 0 1 1
1 1 1 1 1
26
Combinational Circuits
• Now compare the final result column in this truth table to the
truth table for the previous example:
28
Properties of Boolean Algebra
29
• Thank You
March 6, 2025 30