I'm currently designing a circuit that uses only one bit of a 74HC157 quad 2-to-1 multiplexer, like so:
However, I'd like to get rid of this chip. Since the B input can be tristated (it's coming from a latch), I was wondering if I could set it up like this:
I've seen this circuit used before, and it seems to do the right thing in Falstad's Java simulator, but I'm curious about a couple things. Wouldn't current actually flow back into A or B when B is enabled? Can they tolerate this? (A and B are both outputs from other 74HC-series ICs) Would I need diodes? How big should the resistor be?
However, I'd like to get rid of this chip. Since the B input can be tristated (it's coming from a latch), I was wondering if I could set it up like this:
I've seen this circuit used before, and it seems to do the right thing in Falstad's Java simulator, but I'm curious about a couple things. Wouldn't current actually flow back into A or B when B is enabled? Can they tolerate this? (A and B are both outputs from other 74HC-series ICs) Would I need diodes? How big should the resistor be?