Question: 1) Write a VHDL subprogram that implements the function of finding the maximum of 4 inputs. The subprogram should take four 8-bit unsigned std_logic_vectors as

 1) Write a VHDL subprogram that implements the function of finding

1) Write a VHDL subprogram that implements the function of finding the maximum of 4 inputs. The subprogram should take four 8-bit unsigned std_logic_vectors as inputs and output an integer result. The result should be the index ( 0-3) of the multiple inputs having the same maximum value, take the first one for the output index. e.g., for inputs "34, 51, 255, 25S", (expressed as integers) take the third input as the max

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!