I have to implement a design in which I have 2 sets of inputs. 1st set consists of different widths of inputs and another set consist of different set of a second input. These two will be selected based on their individual control signals. Is there any way to implement this without having to use two different MUXs? Is there an efficient way in which in can be implemented in one circuit?
I have to implement a design in which I have 2 sets of inputs. 1st set consists of different widths of inputs and another set consist of different set of a second input. These two will be selected based on their individual control signals. Is there any way to implement this without having to use two different MUXs? Is there an efficient way in which in can be implemented in one circuit?
You really need to learn how to ask a question and describe exactly what you are trying to accomplish. Writing a bunch of vague descriptive text makes it extraordinarily difficult to understand your question.
What is the first set of inputs? How many and what are the widths?
What is the second set of inputs? How many and what widths?
What is the relationship between the first set of inputs and the second set of inputs? Why can't you use simple 2-to-1 multiplexers? What is so special about these inputs?
What are these individual control signals you mention? Do the control signals multiplex specific pairs of inputs #1 and inputs #2 or is there some other unusual mapping?
Did you ask this question because you don't want multiple multiplexers? If the circuit requires individual controls to multiplex different pairs of inputs then multiple multiplexers are required by any hardware implementation. Trying to find some clever software approach to the problem isn't the right way to approach designing hardware.
Well thought out questions shouldn't require this much effort to extract useful information to help.