Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Convert Nth bit of 16 bits to Hex Value

Hello! I would like to convert a 1 hot 16 bit word to a binary value. I've done it below, but I've had to spell out each and every value. Is there a more efficient way of doing this? ...