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.
@a@ and @b@ are the two 4 bit inputs.
@sel@ is the selector.
@out@ is the 4 bit output; must be @b@ if @sel@ is , @a@ otherwise.
Javier de San Pedro Martín and Marta Miralpeix Anglerill
© Jutge.org, 2006–2025.