1. Implement a 3-to-8 decoder using a LUT. Give the LUT truth table and write the VHDL code. The inputs should be A, B, and C and the output should be an 8-bit unsigned vector.
2. A(1 to 20) is an array of 20 integers. Write VHDL code that finds the largest integer in the array
(a) Using a for loop
(b) Using a while loop