Question: 2-1. Write a function called add two values which will take two 4-bit parameters, add them, and return a 5-bit sum. Write a module,
2-1. Write a function called add two values which will take two 4-bit parameters, add them, and return a 5-bit sum. Write a module, called add_two_values_function, with two 4-bit input ports and one 5-bit output port and calls the function. Simulate the design with the provided testbench, add_two_values_function_tb.vhd, and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
