Forum Discussion
Altera_Forum
Honored Contributor
12 years agoyou need to create an intermediate signal to call the function.
my_intermediate_signal <= slv_to_altera2d_type(('0' & bus1), bus2)); .... data => my_intermediate_signal; But your function has errors in it. The return value has 0 downto 0 as the first dimension, but you try and access 1 when you assign to it (out of range error).