Docsity

Lab report 4 Design and implementation of boolean function, Exercises of Digital Electronics

Partial preview of the text

Download Lab report 4 Design and implementation of boolean function and more Exercises Digital Electronics in PDF only on Docsity!

COMSATS UNIVERSITY ISLAMABAD

Digital and Logic Design

EEE-

Lab 04:

Submitted To:

Mr. Asad Ali Malik

Submitted By:

Adeena Masood (SP19-BSE-008)

23 November, 2019

Department Of Computer Science

Islamabad Campus

PRE LAB TASK:

Q1: Express the Boolean function F= x+yz as sum of minterm by using truth table.

A B C D

Sum of Minterms: F = โˆ‘(3, 4, 5, 6, 7) F = Aโ€™BC + ABโ€™Cโ€™ + ABโ€™C + ABCโ€™ + ABC Q2: Express F โ€™ = (x+yz)โ€™ as a product of maxterms. Products of Maxterms: F = ฯ€(0, 1, 2) F = (A+B+C) (A+B+Cโ€™) (A+Bโ€™+C) Q3:- Given the function as defined in the truth table (Table 4.4), express ๐น using sum of

minterms and product of maxterms.

0 0 0 ๐‘š 0 = ๐‘ฅโ€ฒ๐‘ฆโ€ฒ๐‘งโ€ฒ^ ๐‘€ 0 = ๐‘ฅ + ๐‘ฆ +

0 0 1 ๐‘š^1 =^ ๐‘ฅโ€ฒ๐‘ฆโ€ฒ๐‘ง^ ๐‘€^1 =^ ๐‘ฅ^ +^ ๐‘ฆ^ + ๐‘งโ€ฒ 1 0

0 1 0 ๐‘š^2 =^ ๐‘ฅโ€ฒ๐‘ฆ๐‘งโ€ฒ^ ๐‘€^2 =^ ๐‘ฅ^ +^ ๐‘ฆโ€ฒ^ + ๐‘ง 0 1

0 1 1 ๐‘š^3 =^ ๐‘ฅโ€ฒ๐‘ฆ๐‘ง^ ๐‘€^3 =^ ๐‘ฅ^ +^ ๐‘ฆโ€ฒ^ + ๐‘งโ€ฒ 1 0

1 0 0 ๐‘š^4 =^ ๐‘ฅ๐‘ฆโ€ฒ๐‘งโ€ฒ^ ๐‘€^4 =^ ๐‘ฅโ€ฒ^ +^ ๐‘ฆ^ + ๐‘ง 1 0

Boolean Equations: Sum of Minterms: Aโ€™Bโ€™CD + Aโ€™BCD + ABโ€™Cโ€™Dโ€™ + ABCโ€™D + ABCDโ€™ + ABCD Product of Maxterms: (A+B+C+D)(A+B+C+Dโ€™)(A+B+Cโ€™+D)(A+Bโ€™+C+D)(A+Bโ€™+C+Dโ€™)(A+Bโ€™+Cโ€™+D)(Aโ€™+B+C+Dโ€™) (Aโ€™+B+Cโ€™+D)(Aโ€™+B+Cโ€™+Dโ€™)(Aโ€™+Bโ€™+C+D) Reduced SOP: ABC+ABD+Aโ€™Bโ€™CD+ABโ€™Cโ€™Dโ€™ Reduced POS: (A+C)(A+D)(A+Bโ€™)(Bโ€™+C+D)(Aโ€™+B+Dโ€™)(B+Cโ€™+D) Circuit Diagrams: Sum of Minterms:

Reduced SOP:

Reduced POS:

ANALYSIS TABLE:

A B C D F1 F2 F

Simulate and verify the outputs by making an appropriate test stimulus for both

modules.