© LRS - UNI Erlangen-Nuremberg

1.1.4 Moore Machine

 
 

Three Processes

architecture RTL of MOORE is
    ...
begin
    REG: -- Clocked Process

    CMB: -- Combinational Process

    OUTPUT: process (STATE)
    begin
       -- Output Logic
    end process OUTPUT ;
end RTL ;

Two Processes

architecture RTL of MOORE is
    ...
begin
    REG: process (CLK, RESET)
    begin
       -- State Registers Inference with Next State Logic
    end process REG ;

    OUTPUT: process (STATE)
    begin
       -- Output Logic
    end process OUTPUT ;
end RTL ;