0
\$\begingroup\$

I'm sorry, but shouldn't 8-way have 3 bits in order to traverse every address? Anyway, I have here a problem, and I am not sure if my solution is correct.

The problem: Given the boolean expression \begin{align*} C'(B+A) + A'B'C \end{align*} Using one 8-way 1-bit multiplexer, implement the boolean expression.

Solution. For our Addresses, we have: \begin{align*} D_7, D_6, D_5, D_4, D_3, D_2, D_1, D_0 \end{align*} For our selectors, \begin{align*} A, B, C \end{align*} Where A is the MSB and C is the LSB. I have 3 1-bit selectors so I can traverse every address. Then, we have our output Y.

Truth Table:

 A B C Y
 0 0 0 0
 0 0 1 1
 0 1 0 1
 0 1 1 0
 1 0 0 1
 1 0 1 0
 1 1 0 1
 1 1 1 0
 

Hence, I have the boolean expression: \begin{align*} D_1A'B'C + D_2A'BC' + D_4AB'C' + D_6ABC' = Y \end{align*} What I did is I only included the rows with 1 in Y, and I negate the switch (A/B/C) if it is 0, and keep it as is otherwise.

asked Jun 11, 2021 at 8:42
\$\endgroup\$
15
  • \$\begingroup\$ You should be able to solve this easy question. Assume (A, B, C) as the select lines (S2, S1, S0). Can you write down the values for D0 to D7 then? Hint: Truth table for the Boolean expression. \$\endgroup\$ Commented Jun 11, 2021 at 8:53
  • \$\begingroup\$ For eg: The meaning of D0 in the expression is, what's the value of Y if ABC = 111.... \$\endgroup\$ Commented Jun 11, 2021 at 8:56
  • \$\begingroup\$ I have the truth table posted. Does that mean my answer (the boolean expression) is correct? \$\endgroup\$ Commented Jun 11, 2021 at 8:56
  • \$\begingroup\$ Truth table looks fine. What you have written as answer is generic expression of an 8-bit mux. You have to incorporate (A,B,C) inputs, and values of D0-D7 in it to write the final expression. Then you can draw the block diagram/schematic straight away. \$\endgroup\$ Commented Jun 11, 2021 at 9:00
  • 1
    \$\begingroup\$ So, for example, since Y is 0 in D_0, that would mean I would negate S2, S1, S0? That would make it D_0S_2'S_1'S_0' for the first term? \$\endgroup\$ Commented Jun 11, 2021 at 9:02

2 Answers 2

1
\$\begingroup\$

An 8-way 1-bit multiplexer refers to 8 input lines and 1 output line; so the 8 way signals get reduced to just 1 bit at the output; So for every clock pulse u can get only 1 bit output for your 8 input bits;

So a 8-way 1-bit MUX just means a 8:1 mux with normal 3 bit select lines.

When you said, "I'm sorry, but shouldn't 8-way have 3 bits in order to traverse every address?" -this statement is absolutely correct in the fact that the 8 input bits also need 3 bit of select line information as input to give me a 1 bit output.

Also note: The solution is absolutely correct in its logic and reasoning.

answered Sep 8, 2024 at 14:03
\$\endgroup\$
3
  • \$\begingroup\$ The OP was looking for a decoding logic taking in a 3 bit address (A, B, C) and having 8 outputs/selection lines controling 1 of 8 single switches. \$\endgroup\$ Commented Sep 8, 2024 at 16:18
  • \$\begingroup\$ The question mentioned,The problem: Using one 8-way 1-bit multiplexer, implement the boolean expression. So the approach for the TT should be the best. While implementing he would put 1 input in all minterms that are 1 in the TT. Here for the boolean expression the TT gives the minterms 1,2,4,6. So for the MUX based implementation he would give 1 input in the D1, D2,D4,D6 and leave others as low. The select lines would be A,B,C in order from msb to lsb. In a decoder based approach he would have to OR the outputs 1,2,4,6. @Raonoke \$\endgroup\$ Commented Sep 8, 2024 at 18:02
  • \$\begingroup\$ Now I got it ;-). The OP was tasked to implement a given boolean expression as homework. \$\endgroup\$ Commented Sep 8, 2024 at 19:14
0
\$\begingroup\$

Multiplexer "8 inputs / 1 output" is used as a "fast" lookup table. You choose the addresses with A,B,C then choose the result you want at the selected input (input low or high). The result is then output.

This can be done with higher complexity (more variables). Simple but fine way to replace a PLD or PAL component for simple problems. Next step is EEPROM then FPGA or microcontrollers.

answered Jun 11, 2021 at 9:22
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.