Need help with a logic gate circuit please?

Click For Summary
SUMMARY

The discussion centers on designing a logic gate circuit for a video game that requires controlling two bridges based on four source signals. The user seeks assistance in determining the correct logic gate combinations (AND, OR, XOR, NAND, NOR, XNOR, NOT) to achieve specific bridge states based on the input signals. The user provides detailed input scenarios and the desired output states for the bridges, emphasizing the need for a single output per bridge to avoid unintended AND conditions.

PREREQUISITES
  • Understanding of basic logic gates: AND, OR, XOR, NAND, NOR, XNOR, NOT
  • Familiarity with binary input/output systems (0/1 states)
  • Knowledge of state diagrams and truth tables
  • Experience with circuit design principles
NEXT STEPS
  • Research how to create truth tables for multiple input combinations
  • Learn about state diagrams and their application in logic circuits
  • Explore circuit simulation tools like Logisim or CircuitLab
  • Study advanced logic design techniques, including multiplexers and decoders
USEFUL FOR

Game developers, electronics enthusiasts, and students learning about digital logic design will benefit from this discussion, particularly those interested in implementing logic circuits for interactive applications.

kamyk
Messages
1
Reaction score
0
Hello, I just joined because I am having a serious issue figuring out a logic gate circuit with 4 source signals, and a non active state and two items that activate depending on a number of different states for each signal. I've been giving myself a headache for hours trying to puzzle this out. It's for a video game I'm working on where two bridges need to activate or deactivate depending on off/on (0/1) signals from the 4 sources, and I would appreciate it if someone could give me the solution.

It would be easier if I just posted my notes on what I need to achieve than to explain. I have listed the 4 source signals with 0 or 1 to show it's active state, what state bridge 1 and/or 2 need to be in, and the numbers needed to activate or deactivate the bridges. I have separated each situation by containing them inside dashes. Some of the sources are only activated by other sources, therefore the combinations I present are the only possible ones. I may not need to mention this, but I can't have multiple outputs all leading to each bridge. It will act as an AND if I connect more than one, hence the need for the logic circuit. I have AND, OR, XOR, NAND, NOR, XNOR, and NOT to work with, so anyone finding me a solution can use any of them. These combinations are listed in the order they become available to the player, and also the numbers on the left are both toggleable, and the numbers on the right remain 1 once activated. Additionally, the bottom left number will remain 1 once the bottom right number becomes 1.---------------------------

Inputs
0 0

0 0

bridges on on
Need a 1 and a 1

---------------------------

Inputs
0 1

0 0

bridges off off
need a 0 and a 0

---------------------------

Inputs
1 1

0 0

bridges on off
need a 1 and a 0

---------------------------

Inputs
1 1

1 0

bridges on on
need a 1 and a 1

---------------------------

Inputs
1 1

1 1

bridges off off
need a 0 and a 0

---------------------------

Inputs
0 1

1 1

bridges off off
need a 0 and a 0I'm kind of new to logic gates, and I really have been puzzling over this for hours getting a headache, so I would really appreciate help.
 
Last edited:
Engineering news on Phys.org

Similar threads

  • · Replies 16 ·
Replies
16
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 8 ·
Replies
8
Views
9K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K