hello,
I've the following error:
ERROR:HDLParsers:821 ... Wrong index type for framebuf.
here the code:
...
type defbuf is array (399 downto 0) of std_logic_vector (7 downto 0);
type small_int is range 0 to 399 ;
...
process (QCLK)
variable i : small_int:= 0;
begin
if (QCLK = '1' and QCLK'event) THEN
...
i:=i+1;
framebuf(i)<=PIXIN
end if;
...
end process;
Can you help me in order to solve this problem?
Thanks
I've the following error:
ERROR:HDLParsers:821 ... Wrong index type for framebuf.
here the code:
...
type defbuf is array (399 downto 0) of std_logic_vector (7 downto 0);
type small_int is range 0 to 399 ;
...
process (QCLK)
variable i : small_int:= 0;
begin
if (QCLK = '1' and QCLK'event) THEN
...
i:=i+1;
framebuf(i)<=PIXIN
end if;
...
end process;
Can you help me in order to solve this problem?
Thanks