brahma
Advanced Member level 4
what is the problem?
BEGIN
process
begin
if s1 ='0' and s2 ='0' then
q1: ask port map(x1,y1,c1); ( i get error)
else if s1 ='0' and s2 ='1' then
q2: askdemod port map(x,y,c); ( error)
end if;
end process;
in this code i get error.
"gp.vhd",line 66: Error, syntax error near 'process'.
"grouping_gp.vhd",line 59: Error, syntax error near 'port'.
i use modelsim simulator, i dont know how to solve this error can anyone help me??
BEGIN
process
begin
if s1 ='0' and s2 ='0' then
q1: ask port map(x1,y1,c1); ( i get error)
else if s1 ='0' and s2 ='1' then
q2: askdemod port map(x,y,c); ( error)
end if;
end process;
in this code i get error.
"gp.vhd",line 66: Error, syntax error near 'process'.
"grouping_gp.vhd",line 59: Error, syntax error near 'port'.
i use modelsim simulator, i dont know how to solve this error can anyone help me??