#Checking for exactly one signal out of four wires?

1 messages · Page 1 of 1 (latest)

peak summit
#

What solutions have you come up with? I struggled with this today and wonder what kind of simpler solutions might there be.

I'm working on a stacker that can handle 1-4 quarters. I have four wires for shape quarters. If exactly one quarter is null, I direct the three remaining quarters to another stacker complex than if there were four, and so on.

I ended up testing each wire separately against all the other three (with xor gates) and then combining the conclusion and fried my brain. The design works but takes up space.

ripe olive
stark gull
#

yep, ||stacking each quadrant and then each halves with a bypass at each step|| is the most common way of handling this problem

dense glen
#

Need 3 stackers to stack 4 shapes. Easiest way is to think of each stacker independently. If both inputs are present then stack them, otherwise bypass (send the input directly to the output).

peak summit
ripe olive
stark gull
#

it's pretty much just if both inputs are here, don't bypass, otherwise bypass

peak summit
ripe olive