Professional Documents
Culture Documents
Exerice N2 Examen Coca Cola
Exerice N2 Examen Coca Cola
Use IEEE.STD_LOGIC_1164.ALL;
Use IEEE.STD_LOGIC_arith.ALL;
entity FSM_Coca is
Port (E1,E2 ,Annuler ,H ,Reset :IN std_logic;
B,A:OUT std_logic);
end FSM_Coca;
Memoire: Process(H,Reset)
begin
if (Reset = '1') then EP <= E0;
elsif (H = '1' and H'event) then Ep <= Ef;
end if;
end process;
end Arch_Coca;