ghostridergr
Member level 1
In order not to open a new thread can anyone help me on this: what if i want to pass as an argument a whole single row of a 2d array. I am calling my function something like this but i get error . This is my code:
I want to avoid using a for loop. Is there any way of doing it at once?
I am getting those errors:
and my function definition is this:
Code:
match(k)<=find_min(k,0 to 3);
I want to avoid using a for loop. Is there any way of doing it at once?
I am getting those errors:
Code:
** Error: C:/Modeltech_pe_edu_10.0a/examples/matlab_eq.vhd(91): Range cannot be actual parameter.
** Error: C:/Modeltech_pe_edu_10.0a/examples/matlab_eq.vhd(91): No feasible entries for subprogram "find_min".
and my function definition is this:
Code:
function find_min(row: in big_matrix(0 to 3)) return signed is