I have been racking my brain for almost a week now and seem to be getting nowhere.
I need to design a part of a logic circuit that does the following:
There are 5 inputs (A, B, C, D, E) and 5 outputs (a, b, c, d, e)
A goes high, a goes high; B goes high, b goes high, etc...
However, there is a twist.
No matter what any of the other inputs are, the last input to go high produces a high on its output and ONLY its output.
For example C is made high so c is high, then B goes high (with C still high) causing b to go high and c to go low. Then if D goes high (with B and C still high) d goes high and both b and c are low.
This is easy when it goes in order, but the problem I am running into is that when I mix things up and randomly select and deselect inputs every circuit that I have built so far causes oscillations.
Is there a way to do this? The closest I have gotten is when I use XOR gates or latch combinations. So any ideas on what to possibly use to make this work?
I need to design a part of a logic circuit that does the following:
There are 5 inputs (A, B, C, D, E) and 5 outputs (a, b, c, d, e)
A goes high, a goes high; B goes high, b goes high, etc...
However, there is a twist.
No matter what any of the other inputs are, the last input to go high produces a high on its output and ONLY its output.
For example C is made high so c is high, then B goes high (with C still high) causing b to go high and c to go low. Then if D goes high (with B and C still high) d goes high and both b and c are low.
This is easy when it goes in order, but the problem I am running into is that when I mix things up and randomly select and deselect inputs every circuit that I have built so far causes oscillations.
Is there a way to do this? The closest I have gotten is when I use XOR gates or latch combinations. So any ideas on what to possibly use to make this work?