• Tidak ada hasil yang ditemukan

Synchronous State Machines

N/A
N/A
Protected

Academic year: 2024

Membagikan "Synchronous State Machines"

Copied!
21
0
0

Teks penuh

(1)

1

4190.309 2008 Fall Semester

Naehyuck Chang

Dept. of EECS/CSE

Seoul National University

[email protected]

(2)

What is state machine?

A state is a set of values measured at different parts of the circuit.

A state machine is a digital device that traverses through a predetermined sequence of states in an orderly fashion.

A synchronous state machine distinguishes state by the clock.

(3)

State diagram

Mealy model

Moore model output

(4)

State diagram (2)

Asynchronous state diagram

State machine remains forever in State 1 unless Start becomes active.

(5)

State diagram (3)

Synchronous state machine

State transition has to be made in every clock cycle.

The sum of branch conditions has to be 1.

(6)

State diagram (4)

Branch condition example

(7)

State transition table

Format of state transition table

(8)

State assignment

State encoding

Identify each state by a unique name

Non-redundant encoding

Binary encoding

Gray code encoding

Redundant encoding

One-hot encoding

BCD encoding

(9)

One-hot encoding

Use of n-bit code for n states

S1: 0000000001

S2: 0000000010

S3: 0000000100

(10)

Model of state machines

Moore Model

(11)

Example

Design a clock-enable DFF with a primitive DFF

(12)

Model of state machines (2)

Mealy model

(13)

Model of state machines (3)

Basic model

(14)

Output synchronization

Prevent from glitch

Increase output delay

(15)

Input synchronization

Prevent from timing fault

Increase delay

(16)

Generic synchronous state machine

I/O synchronization registers

(17)
(18)

Maximum operating frequency

(19)

Clock skew

Timing fault

(20)

Clock skew (2)

Clock skew is caused by

Net delay

Artificial delay

(21)

Rule of thumb

Never introduce signal transition that is not synchronized the clock in the synchronous state machines.

Note: Some figures are from Publication # 90005, Rev. A, Amendment/0, Issue Date: June 1993 and Publication # 90004, Rev. A, Amendment/0, Issue Date: February 1996 from Advanced Micro Devices.

Referensi

Dokumen terkait

Cohesive Device in English Texts of the State Examination for Senior High School Students in Indonesia.. A

This project is designing a Design for Test (Dff) technique to test embedded memory called Finite State Machine (FSM) Memory Built-In Self Test

The outputs and next state of a finite-state machine are combinational logic functions of their inputs and present states.. A simple timing diagram may not be adequate to determine

It found that officials at local states looked ignorant to the violence, while central state officials sent mixed signals: they appeared to be enthusiastic to protect the rights of

The difference is that a state machine concerns the states of an object per- forming or undergoing a computation, whereas an activity concerns the states of the computation

Recognition of States • Recognition may be defined as formal acknowledgement by an existing and recognized sovereign state of a newly emerged state.. • Article 3 of the Montevideo

Kriegel’s emphasis on the state and the rule of law as the fundamental condition for a form of power that is something other than despotism distinguishes her from all thinkers who