0% found this document useful (0 votes)
38 views7 pages

Hamza Hanif DLD Lab#6

The document describes two tasks completed as part of a digital logic design (DLD) lab. Task 1 involves designing even and odd parity checkers for a 4-bit message and providing their truth tables. Task 2 involves designing a circuit to indicate which months have 31 days using a K-map to minimize the logic. Additional questions are asked about simplifying a Boolean function using a K-map and simulating the circuit in Proteus.

Uploaded by

Hamza Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views7 pages

Hamza Hanif DLD Lab#6

The document describes two tasks completed as part of a digital logic design (DLD) lab. Task 1 involves designing even and odd parity checkers for a 4-bit message and providing their truth tables. Task 2 involves designing a circuit to indicate which months have 31 days using a K-map to minimize the logic. Additional questions are asked about simplifying a Boolean function using a K-map and simulating the circuit in Proteus.

Uploaded by

Hamza Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Name:- Hamza Hanif

Class:- Bscs 2
Section : ‘A’
Subject :- DLD Lab
Teacher Name:- Mr. Imran Ahmad

Lab 6: Don’t Care Conditions


Task # 6.1:
Design a 4 bit parity checker which works such that when the parity is
even the output is 1 and when the parity is odd the output is 0.

Circuit:
➢ Even Parity Checker :-

➢ Odd Paity Checker:-


Truth Table:
➢ Even Parity Checker Truth Table :-
4 bit Received Message Parity Error Check Cp
A B C P Cp
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
➢ Odd Parity Checker Truth Table :-
4 bit Received Message Parity Error Check Cp
A B C P Cp
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 0
1 1 0 0 1
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
Conclusion: In Even Parity checker if the inputs is odd then the ouput will be 1, In Odd
Paity Checker if the inputs are even then the output will be 1.
Task#6.2
Design a circuit which is capable of telling which month has 31 days.
The system works such that it gives the output as 1 if the month has 31
days. The output is 0 otherwise.
Circuit:

Truth Table:
Months Inputs Outputs
A B C D
0 0 0 0 X
January 0 0 0 1 1
February 0 0 1 0 0
March 0 0 1 1 1
April 0 1 0 0 0
May 0 1 0 1 1
June 0 1 1 0 0
July 0 1 1 1 1
August 1 0 0 0 1
September 1 0 0 1 0
October 1 0 1 0 1
November 1 0 1 1 0
December 1 1 0 0 1
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
K-Map :-

X 1 1 0
0 1 1 0
1 X X X
1 0 0 1

Equation :-
𝐘 = 𝐀𝐃 + 𝐀𝐃
𝒀 = 𝑨𝐃

Conclusion:
The given circuit will display 1 when the month have 31 days and display 0 when month
have 29 or 30 days. We designed this circuit with the help of k-map.
Answer the Following Questions
1. F= ∑(2,5,7,9,11,12), d(0,4,6,8,10)
➢ Simplify the function using k-map

X 1
X 1 1 X
1
X 1 1 X

Equation :
𝐅 = 𝐀𝐂𝐃 + 𝐀𝐁 + 𝐀𝐁 + 𝐂 𝐃
𝐅 = 𝐀𝐂𝐃 + 𝐀𝐁 + 𝐂 𝐃

➢ Simulate the circuit in proteus

➢ Original Circuit :-
➢ Simplified Circuit :-

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy