• No results found

3.1.2 FlipFlopApplications.pptx

N/A
N/A
Protected

Academic year: 2020

Share "3.1.2 FlipFlopApplications.pptx"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Flip-Flop Applications

2

This presentation will provide an overview of

the following flip-flop applications:

• Event Detect

• Data Synchronizer • Shift Register

• Frequency Divider

Additional flip-flop applications will be covered in future lessons:

• Asynchronous {Ripple} Counters • Synchronous {Parallel} Counters • State Machines

(3)

Event Detector

An event detector circuit is one that is capable of

detecting and holding a signal until the event that changed the signal can be addressed.

For example, door sensors on a home burglar alarm

system use an event detector circuit. Once someone opens the door, the alarm will sound until the system is turned off.

If it were not for the event detection circuit, the alarm

would only be on when the door was open. Thus,

someone could quickly open the door, enter the house, and close the door. In this situation the alarm would only sound for the brief time that the door was actually open.

(4)

Event Detect: Circuit

(5)

Event Detect

Single_Event Clear

Held_Event

Single_Event Clear

Held_Event

Event Held

Event Cleared

Multiple Events

Only the 1st event is held.

Multiple Clears

Only the 1st event does anything.

Case #1

(6)

Data Synchronizer

Normally, timing is not a concern with combinational logic.

However, due to gate delays, the outputs of combinational logic can change at different times. This can lead to potential timing problems. Take a look at the combinational logic circuit shown below. Because functions A, B, & C have different circuit

complexity, they change logic levels at different times.

To solve this problem, a data synchronizer circuit can be added to

the outputs. 6

C B A Combinational Logic Circuit . . . Inputs

(7)
(8)

Data Synchronizer: Timing

8

Latched_A Latched_B Latched_C A

B C Clock

The signal can be a zero or a one, depending on the previous latched values.

(9)

Frequency Divider

As the name implies, a frequency divider

is a circuit the produces a digital output

signal that is half the frequency of the

input.

The frequency divider is used extensively

(10)

Frequency Divider: Circuit

10

Clock_Out

Clock_In

(11)

Frequency Divider: Timing

11 Clock_Out Clock_In T1 T2

The period of

Clock_Out is twice the period of

Clock_In.

Since the period is twice, the frequency is divided in half.

frequency) the (half : F ƒ Clock_Out of Frequency : T ƒ Clock_In of Frequency : T ƒ period) the (twice : T T Clock_Out of Period : T Clock_In of Period : T 2 2 2 1 1 2 1 2 2 1 1 1 2 1     

(12)

Shift Register

A shift register is a group of flip-flops (typically 4

or 8) that are arranged so that the values stored in the flip-flops are shifted from one flip-flop to the next for every clock.

Shift registers are used extensively in logic

circuits to control digital displays.

A classic example is numbers being typed into a

calculator. As the numbers are entered, the

digits shift to the left one position. This shifting is controlled by a shift register.

(13)

Shift Register

13

Data In Data Out

Data Out Data In

Data Out Data In

Data Out Data In

Serial In / Serial Out

Left-to-Right

Serial In / Serial Out

Right-to-Left

Serial In / Parallel Out Parallel In / Serial Out

(14)

Shift Register: Circuit (D)

(15)
(16)

Shift Register: Timing

16

Clock Data_In D1

D2 D3 D4

(17)

MSI Shift Register

74LS194 (4-bit Bi-Directional Universal Shift Register)

Parallel Inputs Serial Inputs Mode Control

Parallel Outputs &

Serial Outputs

(18)

74LS194 Shift Register: Circuit

(19)

74LS194 Shift Register: Timing

Clock X4 X3 X2 X1

References

Related documents

As shown in this study, loyalty to the organization resulting from merger or acquisition has different intensity level for employees in different hierarchical

Most companies recruit for full-time and internship positions, but some indicate Co-Op as a recruiting priority, while not attending Professional Practice

This section outlines the method to find the best allocation of n distinguishable processors to m dis- tinguishable blocks so as to minimize the execution time.. Therefore,

Children in Class 2 had a higher probability of experi- encing severe and moderate forms of physical, emotional and sexual violence by peers (male and female school students)

• Storage node - node that runs Account, Container, and Object services • ring - a set of mappings of OpenStack Object Storage data to physical devices To increase reliability, you

The Department of Health, Physical Education, Recreation and Dance offers a Master of Science in Education in Health and Physical Education and a Master of Science in

We are now using the second part of our test database (see Figure 4 ) ; the boxpoints table which contains 3000 customer points, and the box table with 51 dierent sized bounding

The casualty rate for secondary schools (4.5 casualties per 1000 pupils) is significantly higher than that for primary schools (1.7), and our analysis found that a factor strongly