Expanding on our trusty light bulb setup from last time: instead of having 1 power source + switch before the bulb, lets have 2 sets like this in parallel. Now if either switch (or both) are closed then the bulb lights up.

Stand in awe of my mighty illustration skills!
There are a few ways to handle this:
- The bulb's input can accept from multiple output sources
- The output sources combine into 1. If either or both sources are charged, the bulb lights up. This is an "OR" relationship. Expanding on that:
- The sources must enter an OR gate and the single output from that gate will be the bulb's input
Make no mistake, we are in no way bound by these conventions. There are no teachers standing over our shoulder ready to whack our knuckles for doing our program in an unorthodox or colloquial way. Back in Transistor choice when we were trying to choose whether to use MOSFET+CMOS logic, I had no problem justifying a simpler way of doing things. However, in this case, I'm still going to opt for #3 anyway because it makes sense in my mind.
Regardless of which option you prefer though, we should all agree on one important point: the multiple inputs must resolve to a single collective ON or OFF value before we can determine whether the bulb should light. Any of the 3 above can achieve this.
0 comments:
Post a Comment