t flip-flop a t (toggle) flip-flop is a complementing flip-flop and can be obtained from a jk...
TRANSCRIPT
![Page 1: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/1.jpg)
T Flip-Flop
A T (toggle) flip-flop is a complementing flip-flop and can beobtained from a JK flip-flop when the two inputs are tied together.
When T = 0D = Q and no change in output
QQTD
When T = 1D = Q’ and the output complements
'QQTD
![Page 2: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/2.jpg)
Characteristic Tables and Equations
J K Q(t+1)0 0 Q(t) No change0 1 0 Reset1 0 1 Set1 1 Q’(t) Complement
D Q(t+1)0 0 Reset1 1 Set
T Q(t+1)0 Q(t) No change1 Q’(t) Complement
DtQ )1(
QTTQQTtQ '')1(
QKJQtQ '')1(
Q(t) = present stateQ(t+1) = next state after one clock period
![Page 3: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/3.jpg)
Analysis of Clocked Sequential Circuits
The behavior of a clocked sequential circuit is determined from theinputs, outputs, and the state of its flip-flops.
State EquationA state equation (transition equation) specifies the next state as a function of the present state and inputs.
State TableA state table (transition table) consists of: present state, inputnext state and output.
State DiagramThe information in a state table can be represented graphically ina state diagram. The state is represented by a circle and the transitionsbetween states are indicated by directed lines connecting the circles.
![Page 4: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/4.jpg)
1. Determine the flip-Flop input equations in terms of the presentstate and input variables.
2. Substitute the input equations into the flip-flop characteristicequation to obtain the state equations.
3. Use the corresponding state equations to determine the next state values in the state table.
Analysis Procedure
Analysis of Clocked Sequential Circuits
![Page 5: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/5.jpg)
Example of a Sequential Circuit
)(')]()([
)()(')1(
)()()()()1(
txtBtAy
txtAtB
txtBtxtAtA
State Equations
note mistake in Fig. 5-15 p. 181
(t+1) next state of the flip-flopone clock edge later.
xAtB
BxAxtA
')1(
)1(
')( xBAy
Flip-flop input equations(excitation equations)
xAD
BxAxD
B
A
'
![Page 6: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/6.jpg)
Example of a Sequential Circuit (continued)
Present Next State Input State OutputA B x A B y0 0 0 0 0 00 0 1 0 1 00 1 0 0 0 1 0 1 1 1 1 01 0 0 0 0 11 0 1 1 0 01 1 0 0 0 11 1 1 1 0 1
xAtB
BxAxtA
')1(
)1(
')( xBAy
![Page 7: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/7.jpg)
Present Next State Input State OutputA B x A B y0 0 0 0 0 0
0 0 1 0 1 0 a0 1 0 0 0 1
0 1 1 1 1 0 b1 0 0 0 0 1
1 0 1 1 0 0 c1 1 0 0 0 11 1 1 1 0 1
a
a: When the sequential circuit is in present state 00 and the input is 1, the output is 0.After the next clock cycle, the circuit goes to the next state 01.b: When the sequential circuit is in present state 01 and the input is 1, the output is 0.After the next clock cycle, the circuit goes to the next state 11.c: No change in state.
c
b
Example of a Sequential Circuit (continued)
![Page 8: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/8.jpg)
Sequential Circuit Analysis with D Flip-Flops
yxADA
a
b
( 1)A t A x y
![Page 9: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/9.jpg)
xAKxJ
BxKBJ
BB
AA
'
'
1. Flip-Flop input equations:
Example of Sequential Circuit with JK Flip-Flops
![Page 10: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/10.jpg)
2. Substitute the input equations into the flip-flop characteristicequation to obtain the state equations.
'''')'( '')1(
'')''( ')1(
'')1(
'')1(
BxAABxxBBxABxtB
AxABBAABxBAtA
BKBJtB
AKAJtA
BB
AA
3. Use the corresponding state equations to determine the next state values in the state table.
xAKxJ
BxKBJ
BB
AA
'
'
JK Flip-Flop characteristic equation Flip-Flop input equations
Sequential Circuit state equations
Example of Sequential Circuit with JK FF (continued)
![Page 11: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/11.jpg)
Present Next Flip-Flop State Input State InputsA B x A B 0 0 0 0 1 0 0 1 00 0 1 0 0 0 0 0 10 1 0 1 1 1 1 1 00 1 1 1 0 1 0 0 11 0 0 1 1 0 0 1 11 0 1 1 0 0 0 0 01 1 0 0 0 1 1 1 11 1 1 1 1 1 0 0 0
BBAA KJKJ
'''')'( '')1(
'')''( ')1(
BxAABxxBBxABxtB
AxABBAABxBAtA
Example of Sequential Circuit with JK FF (continued)
![Page 12: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/12.jpg)
Example of Sequential Circuit with T Flip-Flops
ABy
xT
BxT
B
A
1. Flip-Flop input equations:
![Page 13: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/13.jpg)
2. Substitute the input equations into the flip-flop characteristicequation to obtain the state equations.
ABy
xT
BxT
B
A
BxtB
BxAAxABABxABxtA
)1(
' ' ')'()'()1(
TQQTQTtQ '')1(
Flip-Flop input equations
T Flip-Flop characteristic equation
Sequential Circuitstate equations
Example: T Flip-Flops circuit (continued)
![Page 14: T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =](https://reader035.vdocuments.mx/reader035/viewer/2022062304/56649e3b5503460f94b2d835/html5/thumbnails/14.jpg)
BxtB
BxAAxABABxABxtA
)1(
' ' ')'()'()1(
Present Next State Input State OutputA B x A B y0 0 0 0 0 00 0 1 0 1 0 0 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 0 01 0 1 1 1 0 1 1 0 1 1 11 1 1 0 0 1
Example: T Flip-Flops circuit (continued)