Let's say I have 4 latches, each representing a bit:
I want to be able to see the value stored at a specific bit. I specify which bit I want to look at by entering a binary number via. switches:
So if I were to enter (0, 0), it would output the value stored at the leftmost bit. If I were to enter (0, 1), it would output the value stored at the bit 2nd to the left, and so on, up to (1, 1), which would output the rightmost bit.
How would I do this? Could you point me to a tutorial or answer yourself? I have been looking for a week now, but I have not really been sure what I should search.
Also, I understand that Arqade might not be the best place to ask this question. If you feel that way could you please suggest a better place to ask? Thank you!
PS. To those of you who understand programming, think of it as I would like to do this:
output = latches[input];