SEQUENTIAL CIRCUITS Flip-Flops Analysis

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

FLIP-FLOPS Characteristic Tables, Characteristic Equations

2

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

CHARACTERISTIC TABLES

3

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

4

Characteristic Tables • A characteristic table defines the logical properties of a

flip-flop by describing its operations in tabular form. • For D, JK, and T flip-flops, the characteristic table defines

the next state as a function of the inputs and the present state. • For the characteristic tables, • Q(t) refers to the present state

• Q(t+1) refers to the next state

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

5

Characteristic Tables: D FF • The next state of a D flip-flop is dependent only on the D

input and is independent of the present state. • Q(t+1) = D • Next state value is equal to the D value.

• Notice that there is no “no change” condition.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Characteristic Table: D FF

6

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

7

Characteristic Tables: JK FF • The next state of a JK flip-flop • Q(t+1) = Q(t) when J and K are both 0 – no change

• Q(t+1) = 0 when J = 0 and K = 1 – reset • Q(t+1) = 1 when J = 1 and K = 0 – set

• Q(t+1) = Q’(t) when J and K are both 1 – output complemented

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Characteristic Table: JK FF

8

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Characteristic Tables: T FF • Characteristic table of a T flip-flop • Q(t+1) = Q(t) when T = 0 – no change

• Q(t+1) = Q’(t) when T = 1 – output complemented

9

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Characteristic Table: T FF

10

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

CHARACTERISTIC EQUATIONS

11

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

12

Characteristic Equations • The logical properties of a flip-flop can be expressed

algebraically with a characteristic equation. • For D flip-flop: Q(t+1) = D • For JK flip-flop: Q(t+1) = JQ’ + K’Q • For T flip-flop: Q(t+1) = TQ’ + T’Q = T  Q • Characteristic equations can be obtained from the circuit.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS State Equation, State Table, State Diagram

13

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

14

Introduction • Analysis describes what a given circuit will do under

certain operating conditions. • Behavior of a clocked sequential circuit is determined

from • the inputs

• the outputs • the state of the flip-flops used

• The outputs and the next state are both a function of the

inputs and the present state.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

15

Introduction • The analysis of a sequential circuit consists of obtaining a

table or a diagram for the time sequence of inputs, outputs, and internal states. • Boolean expressions, that describe the behavior of the

sequential circuit, can be determined. The expressions

must include the necessary time sequence.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

16

Introduction • A logic diagram is recognized as a clocked sequential

circuit if it includes flip-flops with clock inputs. • The flip-flops can be of any type (D, JK, T). • The logic diagram may or may not include combinational

circuit gates.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

STATE EQUATIONS

17

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

18

State Equations • The behavior of clocked sequential circuits can be

described algebraically by means of state equations. • A state equation (a.k.a. transition equation) specifies the

next state as a function of the present state and inputs.

Consider the figure in the next slide..

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Sample Sequential Circuit

19

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

20

State Equations • The sample sequential circuit consists of • two D flip-flops A and B • input x • output y

• The state equations • A(t+1) = A(t)x(t) + B(t)x(t)

//at time t

• B(t+1) = A’(t)x(t)

//at time t

• Since all the next state variables are a function of the

present state, the designation (t) can be omitted.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

21

State Equations • The present-state value of the output can be expressed

algebraically as • y(t) = [A(t) + B(t)]x’(t)

• Since

all variables are in the present state, the

designation (t) can be omitted. The output Boolean

equation now is, • y = (A + B)x’

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

STATE TABLES

22

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

23

State Table • The time sequence of inputs, outputs, and flip-flop states

can be enumerated in a state table. • The state table consists of four sections, • present state – state of flip-flop at any given time t • input – value of input for each possible present state

• next state – state of flip-flop after one clock cycle (at time t+1) • output – value of output at time t for each present state and input

condition

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

24

State Table • Derivation of a state table requires listing all possible

binary combinations of present states and inputs. • The next state section values are determined from the

state equations of the flip-flops used. • The output section values are determined from the output

equation.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

25

State Table

A(t+1) = Ax + Bx B(t+1) = A’x y = Ax’ + Bx’

State table for the sample circuit

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

26

State Table • Given a sequential circuit with m flip-flops and n inputs, 2m+n

rows are needed for the state table. • The number of columns for each section: m for present state

and next state, n for input, the number of output variables. • The binary numbers 0 to 2m+n – 1 are listed under the present

state and input sections. • Values under next state section are derived from the state

equations of the flip-flops. Values under the output section are derived from the output equations.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

27

State Table (version 2) • It is sometimes convenient to express the state table in a

slightly different form. • A different state table has three sections: present state,

next state, and output. • The input conditions are enumerated under the next state

and output sections.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

28

State Table (version 2)

A(t+1) = Ax + Bx B(t+1) = A’x y = Ax’ + Bx’

Another form of the state table for the sample circuit

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

STATE DIAGRAMS

29

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

30

State Diagram • A state diagram is a graphical representation of the state

table. • A state diagram is derived from the information given in

the state table.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

31

State Diagram Present State (A,B)

Input (x) Output (y)

Next State (A,B) State diagram for the sample circuit

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

State Diagram

Draw the state diagram of the sample circuit

32

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

33

State Diagram

State diagram for the sample circuit

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

INPUT/OUTPUT EQUATIONS

34

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

35

Flip-Flop Input/Output Equations • An output equation is a Boolean function describing the

external output of the combinational circuit part of the sequential circuit. • A flip-flop input equation is a Boolean function describing

the part of the circuit that generates the inputs to the flipflops. • With the flip-flop input equations and output equations,

the logic diagram of the sequential circuit can be drawn.

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

36

Flip-Flop Input Equation • Sample Circuit: 2 input equations and 1 output equations

DA = Ax + Bx DB = A’x

y = Ax’ + Bx’ • DA means that we are using a D flip-flop with output A

• DB means that we are using a D flip-flop with output B

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

37

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

ANALYSIS WITH FLIP-FLOPS More examples: D, JK, T

38

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

39

Analysis: D Flip-Flop • Consider the following input equation for the circuit to be

analyzed,

• DA = A  x  y • Description of the circuit, • the DA symbol implies the use of a D flip-flop with output A • no output equations are given – output of the circuit comes from the

output of the flip-flop used • What to do: a) logic diagram, b) next state equations, c)

state table, and d) state diagram

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Analysis: D Flip-Flop a. Logic Diagram of DA = A  x  y

40

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Analysis: D Flip-Flop b. Next State Equation of DA = A  x  y

41

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Analysis: D Flip-Flop c. State Table of DA = A  x  y

42

Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

Analysis: D Flip-Flop c. State Diagram of DA = A  x  y

43

sequential circuits

SEQUENTIAL CIRCUITS. Flip-Flops Analysis. Ciletti, M. D. and M. M. Mano. Digital design, fourth edition. Prentice Hall. NJ.

543KB Sizes 1 Downloads 251 Views

Recommend Documents

Minimizing leakage power of sequential circuits ...
Minimizing leakage power of sequential circuits through mixed-. Vt flip-flops and ... ACM Transactions on Design Automation of Electronic Systems, Vol. 15, No. 1, Article 4 ...... saving of 11% for mc obct and maximum saving of 64% for s838).

Minimizing Leakage of Sequential Circuits through Flip-Flop Skewing ...
Abstract—Leakage current of CMOS circuits has become a major factor in VLSI design these days. Although many circuit- level techniques have been ...

Minimizing Leakage of Sequential Circuits through Flip-Flop Skewing ...
consumption, and, in many technologies, it contributes up to ... minimizes a total cost (usually area, delay, or the combination ... C. Overall Flow. Fig. 1 shows the overall flow of the proposed technology mapping. It takes a logic network of a sequ

Generation of Synthetic Sequential Benchmark Circuits
plications to creating partitioning benchmarks. .... The gen system actually has two phases. ..... els often reduce to a register-file with only a couple of logic nodes.

Minimizing Leakage of Sequential Circuits through Flip ...
JOURNAL OF SEMICONDUCTOR TECHNOLOGY AND SCIENCE, VOL.7, NO.4, DECEMBER, 2007. 215. Manuscript ... mapping; we increase the library size by employing gates with larger gate length; ..... received the B.S. and M.S. degree in.

Optimal Sequential Delegation
Mar 3, 2016 - Crucially, however, we also show that the sequential arrival of information may call for richer forms of restricting the agent's discretion beyond ...

circuits
signal output terminal (5) for outputting signals from the ... Microcomputer and its peripheral '\ circuits \ \. 21. US RE41,847 E. Signal output ... Check digital input.

SEQUENTIAL k-NEAREST NEIGHBOR PATTERN ...
speech data into two classes. Hypothesis ... auto-regressive model coefficients. A step-size of ... define the SPR ϕ j for segment j and classes ω0 and ω1 as: ϕ0 = (n−n ... training scheme requires a priori knowledge of the class as- sociations

FAST SEQUENTIAL FLOATING FORWARD ...
aforementioned technique controls the number of crossvalidation repetitions in sequential forward feature selection algorithms. Fre- quently, the emotional ...

Sequential Negotiations with Costly Information ...
Aug 1, 2013 - Sonat “stated that other parties had expressed interest in a business combination ...... No sale to a noninspecting bidder occurs before the final period, since the option to .... The item is a startup with a novel tanning technology.

Rough clustering of sequential data
a Business Intelligence Lab, Institute for Development and Research in Banking Technology (IDRBT),. 1, Castle Hills .... using rough approximation to cluster web transactions from web access logs has been attempted [11,13]. Moreover, fuzzy ...

Frequentist evaluation of group sequential clinical ... - RCTdesign.org
Jun 15, 2007 - repeated analysis of accruing data is allowed to alter the sampling scheme for the study, many ...... data-driven decisions. ..... Furthermore, a failure to report the scientifically relevant boundaries to the study sponsors and.

Sparse Modeling-based Sequential Ensemble ...
The large proportion of irrelevant or noisy features in real- life high-dimensional data presents a significant challenge to subspace/feature selection-based high-dimensional out- lier detection (a.k.a. outlier scoring) methods. These meth- ods often

SEQUENTIAL FORWARD FEATURE SELECTION ...
The audio data used in the experiments consist of 1300 utterances,. 800 more than those used in ... European Signal. Processing Conference (EUSIPCO), Antalya, Turkey, 2005. ..... ish Emotional Speech Database,, Internal report, Center for.

End-To-End Sequential Consistency - UCLA CS
Sequential consistency (SC) is arguably the most intuitive behavior for a shared-memory multithreaded program. It is widely accepted that language-level SC could significantly improve programmability of a multiprocessor system. How- ever, efficiently

With Sequential Service Taken Seriously
random times) in a discrete model." However, they did not appeal to these hints when they asserted consistency between the sequential service constraint and the policy that they identify with deposit insurance and that overcomes the difficulties asso

Web Query Recommendation via Sequential ... - Semantic Scholar
wise approaches on large-scale search logs extracted from a commercial search engine. Results show that the sequence-wise approaches significantly outperform the conventional pair-wise ones in terms of prediction accuracy. In particular, our MVMM app

Web Query Recommendation via Sequential ... - Semantic Scholar
Abstract—Web query recommendation has long been con- sidered a key feature of search engines. Building a good Web query recommendation system, however, is very difficult due to the fundamental challenge of predicting users' search intent, especiall

Automatic generation of synthetic sequential ...
M. D. Hutton is with the Department of Computer Science, University of. Toronto ..... an interface to other forms of circuits (e.g., memory [20]) or to deal with ...

Chapter 6 Synchronous Sequential Machines - Wiley
A description for this result is not available because of this site's robots.txtLearn more

Automatic generation of synthetic sequential ...
M. D. Hutton is with the Department of Computer Science, University of. Toronto, Ontario M5S ... terization and generation efforts of [1] and [2] to the more dif- ficult problem of ..... for bounds on the fanin (in-degree) and fanout (out-degree) of