Hi;
you cant't assign a variable value in two different process.
You assign:
sensor_sigte ; at the ETAPA_ENVIO process
and
sensor_sigte ; at the SINCRO process.
Try in this way:
ETAPA_ENVIO: process(RESET,step,sensor) -- LÍNEA 104
begin
if (RESET='1') then
sensor_sigte <= 1;
elsif (step=2);
case (sensor) is
when 1 => control <= "01"; sensor_sigte <= 2;
when 2 => control <= "10"; sensor_sigte <= 3;
when 3 => control <= "11"; sensor_sigte <= 1;
end case;
irq_aux <= '1';
step_sigte <= 3;
data_paralelo_out <= data_paralelo_aux;
end if;
end process;
SINCRO: process (CLK_48M, RESET)
begin
if (RESET='1') then
step <= 1;
sensor <= 1;
elsif ((CLK_48M'EVENT) AND (CLK_48M='1')) then
control_ssi <= control; -- dato de sensor
data_paralelo <= data_paralelo_out; -- dato de posición
time_ssi <= contador_out; -- diferencia de tiempo
irq <= irq_aux; -- señal de interrupción para la CPU
sensor <= sensor_sigte;
step <= step_sigte;
end if;
end process;
regards
Daniele