Decoder is a structural VHDL implementation of a 5-to-32 decoder built from SN74139 and SN74138-style logic blocks, mapping 5-bit selection input to one-hot outputs.
Real-world applications include memory and peripheral address decoding in embedded systems, channel selection in communication hardware, and control-line expansion in digital automation equipment.