• No results found

1.2.4 Post_SequentialLogicDesign (1).pptx

N/A
N/A
Protected

Academic year: 2020

Share "1.2.4 Post_SequentialLogicDesign (1).pptx"

Copied!
17
0
0

Loading.... (view fulltext now)

Full text

(1)

Sequential Logic

(2)

Sequential Logic

2

This presentation will

• Introduce the basics of combinational and sequential logic.

• Present the logic symbol and function table for the “D” flip-flop.

• Review the design for a simple sequential logic circuit.

(3)

Combinational & Sequential Logic

3

Combinational Logic Gates

Inputs .. Outputs

.

. . .

Combinational Logic Gates

. .

Inputs Outputs

Memory Elements (Flip-Flops)

. .

Clock

Combinational Logic

Sequential Logic

(4)

The “D” Flip-Flop

4

Inputs Outputs

Preset Clear Clock Data-In

1 1  1 1 0 : Rising Edge of Clock 1 1  0 0 1 : Rising Edge of Clock

1 1 0 1 The output will stay the same.

0 1 X X 1 0

1 0 X X 0 1

0 0 X X 1 1 ILLEGAL CONDITION Q

Preset

Data-In Clock

Clear

Q Q

0

Q

0

Q

(5)

Sequential Logic

The “D” flip-flop is just one of several types of

flip-flops that can be used to implement sequential logic designs.

This presentation will look at the Divide-by-Two

circuit.

This sample flip-flop application can be

implemented with “D” flip-flops. Unit 3 of this course will spend a significant amount of time exploring other flip-flops and their applications.

The purpose of this introduction is to provide a

basis of understanding for the sequential logic

(6)

Divide-by-Two Circuit: 1

st

Clock

6 Pulse-In

Pulse-Out

Pulse-In Pulse-Out Preset = 1

Clear = 1

Preset = 1 Clear = 1

Logic ‘0’ Logic ‘1’

(7)

Divide-by-Two Circuit: 2

nd

Clock

7 Pulse-In

Pulse-Out

Pulse-In Pulse-Out Preset = 1

Clear = 1

Preset = 1 Clear = 1

Logic ‘0’ Logic ‘1’

(8)

Divide-by-Two Circuit: 3

rd

Clock

8 Pulse-In

Pulse-Out

Pulse-In Pulse-Out Preset = 1

Clear = 1

Preset = 1 Clear = 1

Logic ‘0’ Logic ‘1’

The 3rd pulse is a

repeat of the 1st, the

4th will be a repeat of

(9)

Divide-by-Two Circuit

Period & Frequency - Overview

9

Preset Pulse-In

Clear Pulse-Out

Preset

Pulse-In

Clear

Pulse-Out

The period of Pulse-Out is twice the period of Pulse-In.

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

Thus, this is a

(10)

Divide-by-Two Circuit

Period & Frequency – The Numbers

10 Preset Pulse-In Clear Pulse-Out Pulse-Out Pulse-In T1 T2 frequency) the (half : ƒ ƒ Out -Pulse of Frequency : T ƒ In -Pulse of Frequency : T ƒ period) the (twice : T T Out -Pulse of Period : T In -Pulse of Period : T 2 2 2 1 1 2 1 2 2 1 1 1 2 1     

(11)

Divide-by-Two Circuit

Preset & Clear

11

Preset Pulse-In

Clear Pulse-Out

Preset

Pulse-In

Clear

Pulse-Out

CLEAR HOLDS THE OUTPUT

PRESET HOLDS THE OUTPUT HIGH

Preset & Clear are active low signals.

(12)

Sequential Logic Design Example

The following is a review of the design and operation of a sequential logic circuit using “D” flip-flops. This design is a simple two-bit binary counter that counts from zero

(010=002) to three (310=112) and then repeats.

(13)

Design Example: Circuit Design

(14)

Design Example: Functional Test

(1 of 3)

14

Clock-In B

A B IS HALF THE

FREQUENCY OF

CLOCK-IN.

THE FIRST FLIP-FLOP IS CLOCKED BY CLOCK-IN.

(15)

Design Example: Functional Test

(2 of 3)

15

Clock-In B A

A is half the frequency

of B.

Note: A toggles on the

falling edge of B,

which is the rising edge of .

The second flip-flop is clocked by the of the first flip-flop.

Q

(16)

Design Example: Functional Test

(3 of 3)

16

Clock-In B A

“0” 0 0

“1” 0 1

“2” 1 0

“3” 1 1

“0” 0 0

(17)

Design Example: IC Component View

17 3

2

1 4

5

6 11 12

13 10

9 8

References

Related documents

• Our goal is to make Pittsburgh Public Schools First Choice by offering a portfolio of quality school options that promote high student achievement in the most equitable and

Comments This can be a real eye-opener to learn what team members believe are requirements to succeed on your team. Teams often incorporate things into their “perfect team

As someone with predominately secondary care experience, and a nutritional background to this experience, I wanted to understand the role general practice nurses have for

The government co ll ect s revenue f rom taxes on capital and labour income and value-added taxes on fina l demand , production taxes on intermediate inputs, and...

This paper introduces Lively for Qt (http://lively.cs.tut.fi/qt) – a practical JavaScript application platform that supports the development of compelling,

Handling Avoid contact with eyes, skin and clothing, avoid ingestion and inhalation.. Storage Keep away from direct sunlight and other sources

φ = 1: master latch is enabled, loading value from input; slave latch is disabled, maintaining old output value...

February 13, 2012 ECE 152A - Digital Design Principles 137. The