VHDL programming assignment write functions for each of the
VHDL programming assignment:
write functions for each of the following purpose:
a function that takes in an array of integers and returns the average of the numbers in that array. this array has a dynamic size.inside this function u cannot declare any variables or signals and you are only permitted to use the inputs and the outputs. the function must hold the following form:
Solution
for ( i=1;i=1to 10;i++)
i = 1 2 3 4 5 6 7 8 9 10
AVG= (I=1 to 10)
AVG(int i=1
