I tried to make some binary to decimal decoders, but I had no idea how to build them, so I ended up using the "combination checker" (basically providing one checker for each number). That was really inefficent and almost impossible when decoding e. g. 32-bit numbers (4,294,967,295 combinations). So I want to ask, is there some logic pattern you build over and over? Or should I make a separate arithmetic unit for calculating this the mathematical way? I want my output to be for example 7 segment display. And one more question, how does this decoding work on normal computers? Thanks for help
The "combination checker" is the fastest since it requires only two levels of gates.
A slower but with low gate usage can be implemented with successive 1:2 demultiplexers. To add a lsb from N level to N+1 level use N input 1:2 demultiplexer driven by the newly added lsb
Here the demultiplexer is implemented using one shared NOT gate and two AND gates
You cannot expect a 4,294,967,295 outputs logic to be simple.
If you don't need all combinations you can skip the gates with outputs that lead to only not used outputs.
Take care this solution has a high hazard!