2-to-1 4-bit multiplexer X45317


Statement
 

pdf   zip

2-to-1 4-bit multiplexer

Create a module named mux_2_1_4bit implementing a multiplexer with 2 inputs and 1 output. The input and output buses have 4 bits each.

Input

  • @a@ and @b@ are the two 4 bit inputs.

  • @sel@ is the selector.

Output

  • @out@ is the 4 bit output; must be @b@ if @sel@ is 11, @a@ otherwise.

Author

Javier de San Pedro Martín and Marta Miralpeix Anglerill

© Jutge.org, 2006–2025.

Information
Author
Javier de San Pedro Martín and Marta Miralpeix Anglerill
Language
English
Official solutions
Unknown.
User solutions