Hi,
I am trying to design and implement on logisim a circuit that accepts 3 one-hot eight bit numbers and outputs the input with the middle one-hot bit number. For example, inputs: a=10000000 b=00010000 c=00000001 output should be b, the middle of the 3 values.
Here is what I am thinking my design should be:
1) using an encoder to go from one-hot to binary and using comparators to determine the middle value
Any ideas on how to implement this on logisim?
I am trying to design and implement on logisim a circuit that accepts 3 one-hot eight bit numbers and outputs the input with the middle one-hot bit number. For example, inputs: a=10000000 b=00010000 c=00000001 output should be b, the middle of the 3 values.
Here is what I am thinking my design should be:
1) using an encoder to go from one-hot to binary and using comparators to determine the middle value
Any ideas on how to implement this on logisim?