HDLbits
Browse Problems

Circuits/Combinational Logic

9-to-1 Multiplexer

medium
multiplexerselection

Use sel as an unsigned index into inputs. Values 0 through 8 select that input bit; values 9 through 15 produce zero.