r/TuringComplete • u/FastClothes7900 • Nov 02 '26
3-bit decoder optimization Spoiler
2
Upvotes
- permalink
-
reddit
You are about to leave Redlib
Do you want to continue?
https://www.reddit.com/r/TuringComplete/comments/1xmcei9/3bit_decoder_optimization/
No, go back! Yes, take me to Reddit - sharecopied
100% Upvoted

2
u/Moonj64 Nov 02 '26 •
Triple input gates hide some of your ability to make improvements. You should break them apart and then look at what you can do after that. The two bit decoders do some of that too, replacing them with 'not' gates can reveal some additional things to change.
Also, De Morgan's laws are very useful when trying to make optimizations. Play around with swapping gates and negating inputs or outputs.
1
u/Pretty-Potential4733 20d ago
you can and the inputs instead of "and"ing the outputs