12
The values of the outputs depend on the input and the previous states. SEQUENTIAL SYSTEM

MAQUINAS DE ESTADO

  • Upload
    yamid03

  • View
    259

  • Download
    2

Embed Size (px)

DESCRIPTION

Breve exposición de las diferentes tipos de maquinas de estado y su aplicación en la vida cotidiana.

Citation preview

Page 1: MAQUINAS DE ESTADO

The values of the outputs depend on the input and the previous states.

SEQUENTIAL SYSTEM

Page 2: MAQUINAS DE ESTADO

The values of the outputs depend only on inputs

COMBINATIONAL SYSTEM

Page 3: MAQUINAS DE ESTADO

The FF is in the lower section, so that the clock and reset connects to it.

As the lower section is sequential, process is required.

SEQUENTIAL DESIGN SYSTEM

Page 4: MAQUINAS DE ESTADO

PROCESS (reset, clock) BEGIN IF (reset= '1' ) THEN pr_state <= state0; ELSIF (clock ‘EVENT AND clock= '1')THEN pr_state <= nx_state; END IF; END PROCESS;

SEQUENTIAL DESIGN SYSTEM

Page 5: MAQUINAS DE ESTADO

The code has two things: assignment output and set the next state.

Don‘t assignment to signal made in the transition of another signal,so that doesn‘t infer.

COMBINATIONAL DESIGN SYSTEM

Page 6: MAQUINAS DE ESTADO

PROCESS (input, pr_state) BEGIN CASE pr_state IS when state0 => IF (input=…) THEN output <= <value>; nx_state <= state1; ELSE … END IF END CASE; END PROCESS;

COMBINATIONAL DESIGN SYSTEM

Page 7: MAQUINAS DE ESTADO

TEMPLATE

Page 8: MAQUINAS DE ESTADO

In this case, it use‘s a Mealy machine. The signals are synchronous, so that the

output has that bring up to date only when exist a clock pulse.

For to do a synchronous Mealy machine, the output are storage also.

STYLE OF DESIGN 2

Page 9: MAQUINAS DE ESTADO

PROCESS (reset, clock) BEGIN IF (reset= '1' ) THEN pr_state <= state0; ELSIF (clock ‘EVENT AND clock= '1')THEN output <= temp; pr_state <= nx_state; END IF; END PROCESS;

SEQUENTIAL DESIGN SYSTEM

Page 10: MAQUINAS DE ESTADO

PROCESS (pr_state) BEGIN CASE pr_state IS when state0 => temp <= <value>; IF (condition) THEN nx_state <= state1; END IF; when state1 => temp <= <value>; IF (condition) THEN nx_state <= state2; END IF; END CASE; END PROCESS; END <arch name>;

COMBINATIONAL DESIGN SYSTEM

Page 11: MAQUINAS DE ESTADO

TEMPLATE

Page 12: MAQUINAS DE ESTADO

SISTEMAS DIGITALES I

Carlos Yamid Paiba DíazAnderson Julián Barrera Moreno