Across the river from the main city you will find a scaffold in the ground near a stonecutter. If you go down it, you’ll find my no-chamber for experimentations— it’s completely invisible to and devoid of influences from the outside world.

I’ve successfully constructed prototype logic gates— an and gate and a not gate, and I probably shouldn’t have to test an or gate. If I have enough time, I might even construct a half adder somewhere.

You are viewing a single thread.
View all comments View context
2 points
*

A regular “or” gate will turn on when:

      A is on while B is off

      A is off while B is on

      A is on while B is on

An x-or gate will only turn on when:

      A is on while B is off

      A is off while B is on

It will not turn on if both A and B are on. This differs from the “and” gate because an “and” gate activate while A and B are the same state (both either on or off)

I hope I explained this sufficiently!

permalink
report
parent
reply
2 points
*

For a real-life example of an x-or gate, think of a long hallway with a light switch on either end.

If both are on, the light is off. If both are off, the light is off. However if they are different, one on and one off, the light will be on in the hallway

permalink
report
parent
reply
1 point

It really depends. I’ve seen hallways with OR logic for the switches. But I feel like that was not on purpose, because I really can’t think of a proper use case for that.

permalink
report
parent
reply

minecraft

!minecraft@lemmygrad.ml

Create post

Lemmycraft is down

Community stats

  • 10

    Monthly active users

  • 113

    Posts

  • 489

    Comments