### What does the final logic expression indicate

Assignment Help Electrical Engineering
##### Reference no: EM131069619

Lab: Combinational Logic

Instructions:

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.

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.

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?

Figure 2: Proposed Karnaugh Map Group

#### 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.

### Write a Review

#### What is apples approximate die cost

Apple A5 die size is 122mm^2 when fabricated in 45nm technology. Assume they purchase 300mm wafers at a foundry for \$ 2.5K /wafer. Assume a yield of 70%. What is Apple's approximate die cost?

#### How tall must the antennas be if the link operates

How tall must the antennas be if the link operates on a frequency of 2.450Ghz, D1=5miles, D2=11miles, and the obstruction is 60 feet high?

#### Determine what would the resistance of the fish be

If the eels bio-battery was charged to 500Vand it was constant for 20 ms before dropping down to 0, what would the resistance of the fish be, the energy delivered to the fish, and the average electric field( magnitude) in the fish's flesh.

#### Sketch the circuit needed to implement the counter

a binary pulse counter can be constructed by inter connecting t-typeflip-flops in an appropriate manner. assume it is desired toconstruct a counter which can count up to 100 subscript 10. A) how many flip flops are required

#### What value capacitor is needed

3. For the circuit shown, calculate (see attachment for circuit) a. The input resistanceat the base of the transistor.   b. Theinput resistance of the amplifier

#### Determine the characteristic roots for the system

An LTI system's impulse response is described by the differential equation, dh(t)/dt + 3h(t) = impulse function. Find the characteristic roots for the system, the initial condition, and the h(t) for t > 0.

#### Find an exponential model for the situation described

The number of cell phones recycled or refurbished instead of being sent to landfills is increasing by about 30% per year since 2004. In 2008, 5.5 million cell phones were recycled or refurbished. (a) Find an exponential model for the situation desc..

#### What will be measured voltage if voltmeter has resistances

A circuit has a Thevenin equivalent circuit consisting of a voltage source of 10 V and an output resistance of 20 O. A non-ideal voltmeter is used to measure the source voltage. What will be the measured voltage if the voltmeter has an input resis..

#### A one molar solution of hcl is about 92 percent ionized

A one molar solution of HCl is about 92 percent ionized at room temperature .Calculate Ka for HCl.....(give me only solution no details.)

#### Design a binary counter that produces the output sequence

a) Draw the State Transition diagram. b) Derive the State Table for implementing the counter using D flip-flops. c) Use K-maps to minimize the inputs to the D flip-flops. d) Show the final circuit.

#### What are the net work and steam generator heat addition

A Rankine-cycle steam power plant has a 5-MPa/450C throttle and 10-kPa condenser pressure. What are the net work, steam generator heat addition, thermal efficiency, heat rate, and turbine exit quality

#### Obtain coefficients of digtal filter that is maximally flat

obtain, via the bilinear transform, the coefficients of a digtal filter that is maximally flat in the passband, 0 to 4 kHz, and has an attenuation of at least 25 dB at frequencies over 10 kHz. Assume a sampling frequency of 32 kHz.