• No results found

FlipFlopApplications.ppt

N/A
N/A
Protected

Academic year: 2020

Share "FlipFlopApplications.ppt"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Digital Electronics

(2)

Flip-Flop Applications

2

This presentation will provide an overview of

the following flip-flop applications:

• Event Detect

• Data Synchronizer • Frequency Divider • Shift Register

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

(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,

(4)
(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.

(7)
(8)

Data Synchronizer: Timing

Latched_A

Latched_B

Latched_C

A

B

C

Clock

(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.

(10)

Frequency Divider: Circuit

Clock_Out

Clock_In

(11)

Frequency Divider: Timing

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

The period of

Clock_Out is twice the period of

Clock_In.

(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

(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

(14)
(15)
(16)

Shift Register: Timing

Clock Data_In D0

(17)

MSI Shift Register

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

Parallel Inputs

Serial Inputs

Mode Control

Parallel Outputs &

Serial Outputs

(18)
(19)

74LS194 Shift Register: Timing

Clock X4 X3 X2 X1

References

Related documents

From Israel’s perspective alone, a solution based on economic peace faces serious obstacles: Israeli nationalism, the State-reliant structure of Israel’s economy, and the imbalance

This document is intended to provide public hospitals with guidance as to how they can satisfy the requirements related to quality improvement plans in the Excellent Care for All

The clinical results proved very powerful, everyone saw the device as more efficacious than drugs, they envisioned patients being compliant with its use, and they saw it as easy

Lieutenant Governor Murray launched the first round of the MLSC Equipment and Supplies for High Schools Grant Program at the 7th Annual Science, Technology, Engineering, and

observed in both the intermediate and long delay periods (See Figure 5). As mentioned previously, the insula is often associated to play a part in delaying gratification and

Impingement syndrome is characterized by pain in the shoulder due to inflammation of the tendons of the rotator cuff or the bursa (subacromial bursa) that sits between the rotator

Univariate analysis showed that factors associated with compliance were patient age, how important patients felt it was to take drugs as prescribed, whether patients

(iii) Meeting Co-chair of Vaccine Technology (2008; 2010; 2012-ECI series conference); Member of the Scientific Advisory Board of the ESACT, PEACE and RecProtein