ktsangop
Junior Member level 1
Hi everyone!
I am stuck. I need some help with a mux...
I want to design a mux that has the following specs.
- 5 inputs (one bit wide ) & one ouptut (one bit wide)
- All input channels have an enable signal. (Just to declare that the input is ready to transmit)
- At any given time the output is equal to one of the inputs.
- If only one input is enabled then it is driven to the output
- If more than one inputs are enabled then they are driven to the output in a round robin way. eg input1 sends bit by bit a fixed amount of bits to the output and then the next enabled input channel eg input2 sends its data to the output and so on...
It looks almost impossible to code it only with if else branching conditions so...
i would appreciate any ideas.
Thanks in advance!
I am stuck. I need some help with a mux...
I want to design a mux that has the following specs.
- 5 inputs (one bit wide ) & one ouptut (one bit wide)
- All input channels have an enable signal. (Just to declare that the input is ready to transmit)
- At any given time the output is equal to one of the inputs.
- If only one input is enabled then it is driven to the output
- If more than one inputs are enabled then they are driven to the output in a round robin way. eg input1 sends bit by bit a fixed amount of bits to the output and then the next enabled input channel eg input2 sends its data to the output and so on...
It looks almost impossible to code it only with if else branching conditions so...
i would appreciate any ideas.
Thanks in advance!