Intro to Logic Circuit Design (University of Utah) - Multiplexers & Shannon Expansion (Discussion 6)
Overview
The University of Utah ECE/CS 3700 discussion demonstrates how to implement Boolean functions with 2-to-1 multiplexers using truth-table cofactors and Shannon expansion. It progresses from repeated expansion into minterms to building multilevel mux circuits, then compares circuit cost using a four-gate, ten-input SOP example with a total cost of 14.
Key takeaways
- A 2-to-1 mux implements Shannon expansion directly: choose a variable as the select signal and feed its 0- and 1-cofactors to the data inputs.
- For a three-variable Boolean function, a truth table has eight rows and can be split into two four-row cofactors by selecting one input such as A.
- Repeatedly expanding variables A, B, and C exposes minterms; retaining unsimplified terms is useful when the objective is to enumerate those minterms.
- Shannon expansion order affects circuit structure, so simplifying cofactors before implementing them can reduce the number of gates or gate inputs.
- The worked SOP cost model adds gate count to the number of gate inputs: four gates plus ten inputs gives a cost of 14.
- A Shannon-derived circuit need not be globally optimal to be useful; the exercise accepts a circuit whose cost is below the SOP baseline of 14.
Chapters
- The first exercise starts with a Boolean function of three variables and asks for both its truth table and a 2-to-1 mux implementation.
- Three binary inputs produce eight truth-table rows, which make the function's output values explicit.
- A mux select variable can be chosen from the inputs; the worked approach uses A to divide the rows into two cofactors.
- With A as the select signal, determine the function for A=0 and A=1 separately, expressing each cofactor in terms of B and C.
- Connect the two cofactors to the mux data inputs so the output selects the appropriate function when A changes.
- The truth table provides a systematic route from a Boolean expression to the required mux wiring.
- Shannon expansion represents a function as a choice between its 0-cofactor and 1-cofactor for a selected variable.
- That recursive structure corresponds to a binary decision diagram and can be implemented with multiplexers.
- Unlike a fixed decision-diagram layout, choosing expansion order and simplifying cofactors allows flexibility in the resulting circuit.
- The multilevel design expands the function by a variable, then simplifies the resulting cofactors before mapping them to mux inputs.
- Boolean expressions such as A+B can be factored or rewritten to fit the mux structure rather than left in an unsuitable form.
- Each mux uses a variable as its select input, while its data inputs implement the corresponding 0- and 1-cofactors.
- The example assigns the minimal SOP implementation a cost of 14: four gates plus ten total gate inputs.
- A Shannon-based implementation expands the function using variables including W2, W1, and W3, then maps the cofactors into a mux structure.
- The design discussion seeks a circuit with lower cost than 14, but does not require proving that the resulting circuit is globally minimal.
- Different expansion-variable choices, including W1 or W3, can produce alternative circuit structures.
Transcript excerpt
0:14 Good afternoon guys. I hope you all are well discussion and would be for combination logic circuit many multiplexers that we have learned so far. So this is our first question is asking us to first determine the true table and using that true table drive two by one multiplex for this function. So let's give it minutes and then we solve it together. All right, let's solve this together.
1:09 So this one has given us more instruction basically what to do but assume that this function was given us and we were asked to design it using two using a two to one multiplex okay in all examples that we saw in the class the truth table was already given to us if you remember and then we were doing that division and so if the truth table isn't given and even I mean this is more as a hint that use a truth table algebra format in the truth table if we don't have the truth table we first convert to a true table then we start from does it make
1:58 sense okay so here we do the same here we have the function and then we need to draw the truth table okay so this this would be tru table how Can I create that? I mean we have practices quite a lot. So we have three variables each has two scenarios two conditions eight rows and then I give them the first to this function andal f second a b and see the result now that have the truth table the isy similar design using
2:49 multiplex means how many controlling bit signal can I have one exactly I have chosen a we can choose other stuff it doesn't matter but I mean a is more straight forward we can
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, MEDAL-Research.