Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAlternatively a combinatorial loop is not required. If datain is your 32-bit input, sel is your 5-bit select, then the output bit select is simply ...
bitout <= datain(to_integer(unsigned(sel)));
Cheers, Dave