Recall & Review
beginner
What is a multiplexer (MUX) in digital design?
A multiplexer is a device that selects one input from multiple inputs and forwards it to a single output line based on select signals.
Click to reveal answer
beginner
In VHDL, which statement is commonly used to implement a multiplexer?
The
with-select or case statement is commonly used to implement multiplexers in VHDL for clear and concise selection logic.Click to reveal answer
beginner
What is the role of the 'select' signal in a multiplexer?
The 'select' signal determines which input line is connected to the output by choosing among the multiple inputs.
Click to reveal answer
intermediate
Explain the difference between a 2-to-1 and 4-to-1 multiplexer.
A 2-to-1 multiplexer selects one of 2 inputs based on 1 select bit, while a 4-to-1 multiplexer selects one of 4 inputs using 2 select bits.
Click to reveal answer
intermediate
Show a simple VHDL code snippet for a 2-to-1 multiplexer using a 'with-select' statement.
Example:<br>
with sel select
output <= input0 when '0',
input1 when '1',
'0' when others;Click to reveal answer
What does a multiplexer do?
✗ Incorrect
A multiplexer selects one input from multiple inputs based on select signals and outputs it.
In VHDL, which keyword is used to implement selection logic for multiplexers?
✗ Incorrect
The 'with-select' statement is used for clear selection logic in multiplexers.
How many select lines are needed for a 4-to-1 multiplexer?
✗ Incorrect
A 4-to-1 multiplexer requires 2 select lines to choose among 4 inputs.
Which of the following is NOT a valid input for a 2-to-1 multiplexer select line?
✗ Incorrect
Select lines are binary signals and can only be '0' or '1'. '2' is invalid.
What output does a multiplexer produce when the select signal matches input 1?
✗ Incorrect
The multiplexer outputs the input selected by the select signal, here input 1.
Describe how a 4-to-1 multiplexer works and how you would implement it in VHDL.
Think about how select signals choose inputs and how VHDL syntax expresses this.
You got /5 concepts.
Explain why multiplexers are useful in digital circuits and give an example of their application.
Consider how multiplexers help manage multiple data sources.
You got /4 concepts.