Is it possible to get the following truth table to work using only 2 logic gates?
W and CHS are inputs, and S and R are outputs.
W | CHS | S | R |
---|---|---|---|
0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 |
Basically, I'm trying to control an SR flip-flop. With CHS, I want to select whether I set the flipflop or reset the flipflop, and with W, I want to write to the flipflop.
The problem is that I don't have enough space on my circuit board to fit more IC's. Is it possible to do this using just 2 logic gates?