Hi,
I used 74HC137 to create a 6-to-64 demultiplexer following the schema on page 13 of the attached datasheet ...
Now I have to do the reverse operation, that is 64-to-6 ...
How can I do?
It's messy but there are some short cuts, for example only inputs >=32 will set the MSB and only odd numbered inputs will set the LSB so you may be able to simplify the logic.
Search for "priority encoder" for more ideas.