Write a VHDL code to implement the below functionality (25 Marks) a. Perform an Internet search and find the 74154 4-to-
Posted: Tue Jun 07, 2022 10:31 am
Write a VHDL code to implement the below functionality (25 Marks) a. Perform an Internet search and find the 74154 4-to-16 decoder datasheets. From the functional description given in the datasheet (13 Marks) i. Write a VHDL description for a 74154 4-to-16 decoder. Use only STD_LOGIC and STD_LOGIC_VECTOR data types in constructing your design. (9 Marks) ii. Simulate the code and verify the output waveform (4 Marks) b. Implement the following truth table-based design in VHDL code. (12 Marks) A B с D Y1 Y2 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0 0 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 1 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 0 i. Write a VHDL code to implement the above truth Table (8 Marks) ii. Simulate the code and verify the output waveform (4 Marks) 1 1 1 1 1 0 1