Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIts possibly falling over because you have GVal as a top level port. Its recommended to use only std_logic_vector, signed or unsigned for top level ports. I bet it doesnt like the -ve indices for the top level ports.
Make fGab an std_logic_vector, and see what happens:
fGab : out std_logic_vector(5 downto 0);
...
fGab <= to_slv(GMTest(0,0));