• Aucun résultat trouvé

F in it e S ta te M a c h in e s

N/A
N/A
Protected

Academic year: 2022

Partager "F in it e S ta te M a c h in e s"

Copied!
4
0
0

Texte intégral

(1)

1

F in it e S ta te M a c h in e s

Nicolas Gorse

F S M D e fi n it io n

•Set of states The states imply a notion of memory •Set of transitions between states •Set of transition labels Simple input transition Input/Output transition •Ex. Mod-2 counter:01

clk clk

C lo c k e d D F lip -f lo p

•Log2(# of states) = # of D flip-flops

M o d -2 C o u n te r

01

clk clk

Qt 0 1

Qt+1 1 0

Qt+1= Qt__

•FSM, Truth table, and Sum of products Q

_

Q

D Clk

•Digital logic Mod-2 counter

(2)

2

C la s s ic a l F S M M o d e l E x a m p le

•Design a circuit that produces a 1 at the output Z when the input X changes from 0 to 1 or from 1 to 0 and produces 0 all other times. For the initial state, assume that 0 was the last input seen Ex. For the input sequence 00110, the circuit will produce the output sequence 00101

E x a m p le

•FSM AB

1 / 1 0 / 1

0 / 01 / 0

Previous input is 0Previous input is 1 B/0A/1B

B/1A/0A

10X PS 1/00/1B:1

1/10/0A:0

10X PS •Truth table

E x a m p le

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

1/00/1B:1

1/10/0A:0

10X PS

(3)

3

E x a m p le – S ta b le i n s ta te 0

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ig n a l C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ig n a l C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ig n a l C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

(4)

4

E x a m p le – S ta te C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ta te C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ta te C h a n g e

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

E x a m p le – S ta b le i n s ta te B

____ •Z = X St+ X St __ •St+1= X St+ XSt Q

_

Q

D Clk

XZ

Références

Documents relatifs

In order to choose the best configuration, two Halbach permanent magnet arrays with cube and cylindrical shape, respectively, were compared in criteria of average magnetic

Using the matrix form, one can, for example, compute the average number of gamma ray emitted during a decay from a specific entry point to the ground state.. In

All in all, these possible choices become similar as more frequency ratios between optical transitions are measured with state-of-the-art clocks; and any of these choices

The problem we address is by nature a bi-criteria optimisation problem, the first one being the makespan (total completion time) of the Map phase and the second one being the number

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

On the origin of a strong central peak in the local density of d states at the surface of transition

these localised states and in general the electronic structure near the interface have some influence on. the electrical properties of the

The results show the existence of peaks of surface states inside the band on non dense planes of cleavage and a broadening of the band when the surface