Logisim Middle Circuit

Thread Starter

DylanP

Joined Nov 12, 2014
4
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: a2=10000000 a1=00010000 a0=00000001 output should be b, the middle of the 3 values.

I tried implementing some comparators and multiplexers but my circuit does not seem to work after the muxes. Any idea what could be wrong? Here's a screenshot of my program:
 
Top