Question 1: A Multiplexer (MUX)
a) Write truth table and draw symbol for a4-to-1 MUX. (1 mark)
b) Write VHDL code for the above multiplexer.(1 mark)
c) Write VHDL code for a test bench andsimulate the design. (1 mark)
d) Implement the design on FPGA, with inputsconnected to switches and output to LED. (1 mark)