You assume the bits of the code enters synchonoulsy with the fpga code. ok.
I suggest write 2 components:
a-One that turn on a LED when you put '1' on an input. Call it "trigger_a".
b-turn on the third LED when you put '1' on input, called "trigger_b".
This components act like monostables circuits. You can describe in vhdl:
entity mono_led_2 is
port(
clk : in std_logic;
n_clr : in std_logic;
trigger_a : in std_logic;
led_2 : out std_logic
);
end entity mono_led_2;
The other entity is very similar. With a simple state machine and a counter you can do it.
So, in the main code, the architecture "programa", when you reach the proper state to turn on the second LED, simply put '1' on trigger_a, and in the next state, put '0' on trigger_a to avoid retrigger:
when zero =>
trigger_a <= '0';
trigger_b <= '0';
led <= "100";
A(0) <= interrup(7);
nx_state <= one;
when one =>
led <= "100";
A(1) <= interrup(6);
nx_state <= two;
when two =>
led <= "100";
A(2) <= interrup(5);
nx_state <= three;
when three =>
led <= "100";
A(3) <= interrup(3);
nx_state <= four;
when four =>
led <= "100";
if(A = "1111") then nx_state <= five;
else nx_state <= six;
end if;
when five =>
trigger_a <= '1';
led <= "010";
nx_state <=zero;
when six =>
trigger_b <= '1';
led <= "001";
nx_state <=zero;
end case;
You have to instantiate both components.