Turing Complete

Turing Complete

View Stats:
AkeemKaleeb Dec 15, 2022 @ 6:51am
Calculations Level
Hey, everyone! Was wondering if someone could help with the calculations level. Here's what I have so far:

Decoder:
https://steamcommunity.com/sharedfiles/filedetails/?id=2902089372

ALU:
https://steamcommunity.com/sharedfiles/filedetails/?id=2902089388

Calculations Level:
https://steamcommunity.com/sharedfiles/filedetails/?id=2902089398

I believe that it should work but it gets an error message of
"Short circuit (outputs: ALU: 0, ALU: 255)

If anyone has any suggestions, please let me know!
< >
Showing 1-3 of 3 comments
UnsignedRobin Dec 15, 2022 @ 8:29am 
Issue is in your ALU. If all inputs are active then there are also multiple switches which are active --> short circuit. The solution is to use a 3-bit decoder in your ALU (instead of all the AND gates) to get the signals for the switches.
Last edited by UnsignedRobin; Dec 15, 2022 @ 11:11am
+***** Dec 15, 2022 @ 10:51am 
Using ANDs in ALU is not that bad. You just have to use 3 input ANDs in all cases. Or use 3-bit decoder as was already mntioned.
AkeemKaleeb Dec 16, 2022 @ 9:27am 
Originally posted by UnsignedRobin:
Issue is in your ALU. If all inputs are active then there are also multiple switches which are active --> short circuit. The solution is to use a 3-bit decoder in your ALU (instead of all the AND gates) to get the signals for the switches.

Thank you so much! Will work to fix this now. I thought the ALU was too confusing to do it that way and completely forgot about 3-bit decoders.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 15, 2022 @ 6:51am
Posts: 3