Forum Discussion
Altera_Forum
Honored Contributor
17 years agoYou have declared a signal as follows
signal data_mem : std_logic_vector((MTU-1-32) downto 0); I think the MTU-1-32 might be causing your length difference. Shouldn't shared variable tmp : std_logic_vector((SOF_len+Label_Width+MTU+SOF_len-1) downto 0); be declared as shared variable tmp : std_logic_vector((SOF_len+Label_Width+(mtu-32)+SOF_len-1) downto 0); Rgds