AHDL makes design easy. The code shown here creates a 4-bit-wide 4-to-1 multiplexer. The comments indicate the paths selected by the 3-bit-wide select input.
back