What does the final logic expression indicate

Assignment Help Electrical Engineering
Reference no: EM131069619

Lab: Combinational Logic

Instructions:

Please download this document and type in your answers for questions in parts 1 and 2; save this document using the following format:  CE212Lab5firstname_lastname.doc. 

Introduction

Individual logic gates are limited in what they can do. However, circuits that consist of multiple gates can make decisions, work through mathematical computations, control other circuits, and perform many other complexoperations. Even the most advanced and complicated microprocessors consist of many interconnected basicgates. Combinational logic circuits are circuits that combine logic gates so that the state of the inputs alonedetermines the state of the output. The binary-to-octal and binary-to-hexadecimal convertersare examples of combinational logic circuits. The value on the output display depended only upon the state ofthe input switches.

In Part 1 of this experiment, you will examine how to design and implement a 2-of-3 voting circuit by 1)

Defining the relationship between the input and output states with a truth table, 2) translating the truth tableentries into a Boolean expression, and 3) verifying the circuit implementation for the Boolean expression bysimulating the circuit in Multisim. In Part 2, you will examine how to simplify combinational logic usingBoolean algebra and graphical tools called a Karnaugh map and verify the simplified expression for the 2-of-3voting circuit.

Reading

Kleitz, Digital Electronics:  A Practical Approach with VHDL, 9th Edition, Chapter 5

Multisim Files

Part 1: Digital_Exp_05_Part_01

Part 2: Digital_Exp_05_Part_02

Key Objectives

Part 1: Analyze, define, and verify the logic for a 2-of-3 voting circuit.

Part 2: Use Boolean algebra and Karnaugh map techniques to simplify the logic for the 2-of-3 voting circuit.

Part 1:  The 2-of-3 Voting Circuit

A panel of three judges for the Digital Idol circuit design competition needs a circuit that will indicate whethera digital circuit project will progress to the next level of the competition. A project will advance to the nextlevel if at least two of the judges approve the project with a "Yes" vote. A project will not advance if at leasttwo of the judges reject the project with a "No" vote.

5.3 Defining the Logic Function

Complete the truth table in Table 5-1 by indicating whether or not each combination of "No" and "Yes" votes cast by the three judges (called A, B, and C) will approve the project so that it advances to the next level of competition.

Table 5-1:  Truth Table for Voting Logic (0="No", 1="Yes)

JUDGE

PROJECT APPROVED

JUDGE

PROJECT APPROVED

A

B

C

A

B

C

0

0

0

0

1

0

0

 

0

0

1

0

1

0

1

 

0

1

0

0

1

1

0

 

0

1

1

1

1

1

1

 

5.4 Translating the Truth Table

Translating the truth table into a Boolean expression consists of ANDing the input terms for each truth tableentry for which the output is "1", and then ORing these product terms together to create a sum-of-product (SOP) expression for the logic function. If the input term for an entry is a "1" use the true (noninverted) form of the input. If the input term for an entry is a "0", use the complement (inverted) form.

Example: What AND term corresponds to A = 0, B = 1, and C = 1?

The A variable is "0" so the complement A' is used. The B variable is "1" so the true form B is used. The C variable is "1", so the true form C is used. The corresponding AND term is A'BC.

Use the data in Table 5-1 to write the SOP expression for 2-of-3 voting logic function.

A'BC + AB'C + ABC' + ABC

5.5 Verifying the 2-of-3 Voting Logic

1) Open the Multisim file Digital_Exp_05_Part_01.

2) For each combination of votes in Table 5-2,

a. Use the "A", "B", and "C" keys to set the vote for each judge. Alternatively, you can click on each switch to open or close it.

b. Record the result of the vote Table 5-2.

3) Compare the results of Table 5-2 with the results of Table 5-1. Do the table results match?

Table 5-2:  Results of Voting Logic Circuit

SWITCH SETTINGS
(Closed=0, Open=1)

OUTPUT STATE
(OFF=0, On=1)

SWITCH SETTINGS
(Closed=0, Open=1)

OUTPUT STATE
(OFF=0, ON=1)

A

B

C

A

B

C

 

0

0

0

 

1

0

0

 

0

0

1

 

1

0

1

 

0

1

0

 

1

1

0

 

0

1

1

 

1

1

1

 

Questions for Part 1

1) Why does the Multisim circuit Digital_Exp_05_Part_01 use three cascaded OR gates to OR the AND terms together?

2) Suppose you wish to modify the circuit in Digital_Exp_05_Part_01 so that the output indicates that a project is rejected rather than approved. How could you do this?

Part 2: Logic Simplification

5.6 Boolean Algebra

The laws and rules of Boolean algebra shown in Table 5-3 can be used to simplify logic expressions so that circuits require fewer gates with fewer inputs. This reduces circuit complexity and the costs of parts and manufacturing. Advantages of Boolean algebra are that it rigorously proves that two logic expressions are equivalent and it can be used to reduce expressions with (in theory) any number of variables and terms. A disadvantage is that Boolean algebra does not guarantee that an expression is the minimum SOP expression or even that you will find the minimum SOP expression. Another disadvantage is that there is no "standard procedure" on how to proceed, so that some ingenuity is often required in simplifying an expression and more than one process can arrive at the same result.

Table 5-3: Summary of Rules and Laws of Boolean Algebra

Reference

Rule or Law

Reference

Rule or Law      i

Rule 1

A + 0 = A

Rule 10

A+AB=A

Rule 2

A + 1 = 1

Rule 11

A+A'B=A

Rule 3

A•0=0

Rule 12

(A + B) (A + C) =A + BC

Ruk 4

A • 1= A

Commutative Law

A+B=B+A
AB = BA

Rule 5

A+A=A

 

Rule 6

A+A'.=1

Associative Law

A+(B+C)=(A+B)+C
A(BC)= (AB)C

Rule 7

A•A=A

 

Rule 8

A•A'=0

Distributive Law

A(B + C)= AB + AC

Rule 9

(A')' =A

 

 

Table 5-4 shows a sequence that simplifies the 2-of-3 voting to its minimum SOP form, but you must determinethe rule or law that validates each step.

1) Begin with the Boolean expression in the first row of Table 5-4.

2) Indicate the Boolean rule or law in Table 5-3 that is applied to derive the new expression for each row of Table 5-4 (the first two simplifications are done for you)

3) Continue through the table, indicating the Boolean rule or law that is applied at each step to simplify the 2-of-3 voting logic to its minimum SOP form.

Table 5-4: Boolean Algebra Simplification of 2-of-3 Voting Logic

Step

Boolean Expression

Boolean Rule
or Law

Step

Boolean  Expression

Boolean Rule
or Law

1

A'BC + AB'C + ABC' + ABC

Starting form

S

A' BC + AB +AC

Distributive Law

2

A'BC + AB'C + AB(C' + C)

Distributive Law

9

(A'C + A)B + AC

Distributive Law

3

A'BC+ AB'C + AB • 1

Rule 6

10

(A+ A'C)B + AC

Commutative Law

4

A'BC+ AB'C+ AB

Rule 4

11

(A+C)B+AC

Rule 11

5

A' BC + A(B'C+ B)

Distributive Law

12

AB + CB + AC

Distributive Law

6

A'BC + A(B+ B'C)

Commutative Law

13

AB+ BC+ AC

Commutative Law

7

A'BC+ A(B+ C)

Rule 11

 

 

What does the final logic expression indicate?

5.7 Karnaugh Map

The Karnaugh map is a structured way to simplify a Boolean expression. Its main advantage is that it can always reduce an expression to its simplest SOP form. Its major drawback is that it is limited to simplifyingexpressions with five or fewer input variables.

1) Use the data from Table 5-1 to fill each cell of the blank Karnaugh map in Figure 1 with the output corresponding to the combination of input variables represented by that cell.

2) Group the cells containing a "1" according to the following rules:

a. Each cell containing a "1" must be included in at least one group. Cells may, but need not be, included in more than one group.

b. Cells in each group must be horizontally or vertically adjacent to each other (i.e., no diagonal groups). Karnaugh maps "wrap around" so that the top and bottom rows are vertically adjacent toeach other and the leftmost and rightmost columns are horizontally adjacent to each other.

c. Groups must be essentially rectangular in form, so that every row in a group includes the samenumber of columns, and every column in a group includes the same number of rows.

d. The number of cells in each group must be a power of 2, so that each group contains 1 cell, 2 cells,4 cells, etc.

e. Each group must contain as many cells as possible.

1126_Three- Variable karnaugh May.jpg
Figure 1:Three- Variable karnaugh May

3) Each group corresponds to an AND term in the final simplified expression. To determine the variables

AND term, write down the input variables that are common to each cell in the group.

AND Term 1: AB

AND Term 2: BC

AND Term 3: AC

4) OR the AND terms together to derive the final expression.

Final expression: AB + BC + AC

5.8 Verification of Simplified Logic

1) Open the Multisim file Digital_Exp_05_Part_02.

2) For each combination of votes,

a. Use the "A", "B", and "C" keys to set the vote for each judge. Alternatively, you can click on each switch to open or close it.

b. Record the result of the vote Table 5-5.

3) Compare the results of Table 5-5 with the results of Table 5-2. Do the table results match?

SWITCH SETTINGS
(Closed="0", Open="1")

OUTPUT STATE
(OFF=0, ON=1)

SWITCH SETTINGS
(Closed="0", Open="1")

OUTPUT STATE
(OFF=0,ON=1)

A

B

C

A

B

C

0

0

0

 

1

0

0

 

0

0

1

 

1

0

1

 

0

1

0

 

1

1

0

 

0

1

1

 

1

1

1

 

Questions for Part 2

1) How does simulating the Multisim circuit Digital_Exp_05_Part_02 verify that the simplified logic expression is functionally equivalent to the original expression?

2) If you wished to ensure that a three-variable Boolean expression was in its minimum SOP form, which of the two simplification methods would you use? Why?

3) Is the Karnaugh map group shown in Figure 2 a valid group? Why or why not?

316_Proposed Karnaugh Map Group.jpg
Figure 2: Proposed Karnaugh Map Group

Reference no: EM131069619

Questions Cloud

The organizational culture encourages employees : What message does it send when the organizational culture encourages employees to view mistakes/ problems as opportunities for improvement rather than reasons to blame or punish those involved?
Secret life of data in the year : 1. As detailed in "The Secret Life of Data in the Year 2020," what does "the secret life of data" refer to?
Explain the concept of similitude in fracture mechanics : Under what conditions is it likely to fail in (a) quasi-static fracture and (b) cyclic fracture.
Creative and innovative than the traditional organization : What factors account for the fact that the learning organization is described as more creative and innovative than the traditional organization form?
What does the final logic expression indicate : The Karnaugh map is a structured way to simplify a Boolean expression. Its main advantage is that it can always reduce an expression to its simplest SOP form. What does the final logic expression indicate?
Is there a visual element like a movie or a dancer : What I'm Looking for in Your Essay: Tell me what you are seeing and where. Where is the venue? What does it look like? What kind of people are there? Who are the performers? What are they performing? What are their instruments? Is there a visual e..
Accumulated depreciation and the book value : Using the equal installment method, prepare a depreciation schedule that shows, for each year, the annual depreciation, the accumulated depreciation and the book value at the end of each year.
Account for the fact that the learning organization : What factors account for the fact that the learning organization is described as more creative and innovative than the traditional organization form?
Determinants of demand or supply : For each of the event listed here, identify which of the determinants of demand or supply are affected. Also indicate whether demand or supply increases or decreases. Then draw a diagram to show the effect on the price and quantity.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Find the ratio between the power delivered to the same motor

However, for short-time operation, a delta connection can be used at the nominal wye voltage. Find the ratio between the power delivered to the same motor in the wye and delta connections.

  What is the slope of the low-frequency asymptote

Consider the Bode magnitude plot for the transfer function of a certain filter given by H(f) = Vout/Vin = 50(j(f/200)/1+ j(f/200))- What is the slope of the low-frequency asymptote? What is the slope of the high-frequency asymptote?

  What is the rate at which the entropy of the low-temperature

What is the rate at which the entropy of the low-temperature reservoir is changing. What is the rate at which the work production is changing the entropy of the engine surroundings

  Discuss the advantages and disadvantages of shorter packets

a) both stations begin to transmit at the same time b) one station begins to transmit at the first possible moment such that its transmission would not be detected by the other station before it began its transmission

  Description of the selected product or component

Your task is to work in a group to prepare a report on: Description of the selected product or component Identification of the property requirements for the application

  Determine the value using a butterworth filter

A vibration trandsucer measures a sinusoidal signal with up to a 100-hz frequency and an amplitude of + and - 5 v. Superimposed on this signal is an additional signal with a freq of 1000 hz. and amplitude of .2

  What is the no load speed of dc shunt motor

A 340 V, 6 pole dc Shunt motor has the following parameters: Rating: 35 kW Current: 122 A Speed: 1000 rpmArmature resistance: 0.35 Ohm Sunt field resistance: 150 Ohm Friction&Windage loss: 1.2 kW

  How much of the inherent diversity gain can this scheme get

The optimal coherent receiver for repetition coding with L branches of diversity is a maximal ratio combiner. For implementation reasons, a simpler receiver one often builds is a selection combiner. It does detection based on the received signal a..

  Derive the amperes law for a changing electrical field.

But what I wanted was an illustration for how the mathematical justification in the attachment is right by pointing out where the dE/dt effects the magnetic field.

  Explain from an atomic viewpoint why the charges that are

explain from an atomic viewpoint why the charges that are transferred during the buildup of electrostatic charges

  What is the adt output for a temperature of 81 degrees

A HCS12 ATD is set to 10-bit unsigned mode. The voltage references are set to ground and 1.0V What is the ADT output for a temperature of 81 degrees The temperature sensor measures 0 to 100 degrees with an output of 10 mV/degree.

  Calculate and return the angle in radians

write a script that will call: a function to prompt the user for an angle in degrees and call a function to calculate and return the angle in radians (note:pi radian =180) and call a function to print the result.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd