• 검색 결과가 없습니다.

12.2 Shift Registers

N/A
N/A
Protected

Academic year: 2022

Share "12.2 Shift Registers"

Copied!
30
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

5차시

Ch 12. Registers and Counter (1/2)

12.1 Registers and Register Transfers 12.2 Shift Registers

12.3 Design of Binary Counters

(2)

Objectives

1. Explain the operation of registers. Understand how to transfer data between registers using tri-state bus 2. Explain the shift register operation, how to build

them and analyze operation. Construct a timing diagram for a shift register

diagram for a shift register

3. Explain the operation of binary counters, how to build them using F/F and gates and analyze

operation.

4. Given the present state and desired next state of F/F, determine the required F/F/ inputs.

(3)

Objectives

5. Given the desired counting sequence for a counter, derive F/F input equations.

6. Explain the procedures used for deriving F/F input equation.

7. Construct a timing diagram for a counter by tracing signals through the circuit.

(4)

12.1 Registers and Register Transfers

• 4-Bit D Flip-Flop Registers with Data, Load, Clear, and Clock inputs (Figure 12-1)

– Grouped together D F/F Using gated clock(a)

(5)

12.1 Registers and Register Transfers

• 4-Bit D Flip-Flop Registers with Data, Load, Clear, and Clock inputs (Figure 12-1)

– F/F with clock enable Figure 12-1(b)

(6)

12.1 Registers and Register Transfers

• 4-Bit D Flip-Flop Registers with Data, Load, Clear, and Clock inputs (Figure 12-1)

– Symbol for the 4-bit register using bus notation Figure 12-1(c )

(7)

12.1 Registers and Register Transfers

• Data Transfer Between Registers

(8)

12.1 Registers and Register Transfers

• Logic Diagram for 8-Bit Register with Tri-State Output

(9)

12.1 Registers and Register Transfers

• Data Transfer Using a Tri-State Bus

(10)

12.1 Registers and Register Transfers

• How data can be transferred?

• The operation can be summarized as follows:

).

or (

in stored

is ,

11 If

).

or (

in stored

is ,

10 If

).

or (

in stored

is ,

01 If

).

or (

in stored

is ,

00 If

H G

D EF

H G

C EF

H G

B EF

H G

A EF

=

=

=

=

(11)

12.1 Registers and Register Transfers

• Parallel Adder with Accumulator

• N-Bit Parallel Adder with Accumulator

(12)

12.1 Registers and Register Transfers

• Adder Cell with Multiplexer (Figure 12-6)

(13)

• Right-Shift Register

12.2 Shift Registers

010110101101

01101011

(14)

• 8-Bit Serial-in, Serial-out Shift Register

12.2 Shift Registers

(15)

• Typical Timing Diagram for Shift Register

12.2 Shift Registers

(16)

• Parallel-in, Parallel-Out Right Shift Register

12.2 Shift Registers

(17)

• Shift Register Operation (Table 12-1)

12.2 Shift Registers

3 2 1 0

Input Next State Action (Shift) (Load) Q Q Q Q

Sh L 3+ +2 1+ +0

3 2 1 0

0 0 Q Q Q Q no change

0 3 2 1 0

3 2 1

1 D D D D load

1 SI Q Q Q right shift×

(18)

• Timing Diagram for Shift Register

12.2 Shift Registers

(19)

• The Next-state equations for the F/F are

12.2 Shift Registers

' ' '

3 3 3

' ' '

SI Q Sh L Q Sh L D Sh

Q Sh L Q Sh L D Sh Q

+

+

= ⋅ ⋅ + ⋅ ⋅ + ⋅

= ' ⋅ ⋅' + ' ⋅ ⋅ + ⋅

2 2 2 3

' ' '

1 1 1 2

' ' '

0 0 0 1

Q Sh L Q Sh L D Sh Q Q Sh L Q Sh L D Sh Q Q Sh L Q Sh L D Sh Q

+

+

+

= ⋅ ⋅ + ⋅ ⋅ + ⋅

= ⋅ ⋅ + ⋅ ⋅ + ⋅

= ⋅ ⋅ + ⋅ ⋅ + ⋅

(20)

• Shift Register with Inverted Feedback (Figure 12-12)  Johnson Counter

12.2 Shift Registers

A 3-bit shift register 12-12(a) Successive states 12-12(b)

(21)

12.3 Design of Binary Counters

• 3비트 2진 리플 카운터

(22)

12.3 Design of Binary Counters

• 3비트 2진 리플 카운터 - 파형

(23)

12.3 Design of Binary Counters

• 리플 카운터 출력의 전달 지연 효과

(24)

12.3 Design of Binary Counters

• 3비트 2진 리플 카운터 - 상태도

max

1

p

f = N t

×

(25)

12.3 Design of Binary Counters

• MOD-16 상향 카운터의 VHDL 기술

– VHDL 기술

(26)

12.3 Design of Binary Counters

• MOD-8 리플 다운 카운터

(27)

12.3 Design of Binary Counters

• MOD-8 리플 다운 카운터

– 2진 출력이 Q대신에 Q’에서 취함

(28)

12.3 Design of Binary Counters

• MOD-8 리플 다운 카운터

(29)

• A binary counter using three T F/F to count clock pulses

12.3 Design of Binary Counters

Counting sequence

CBA: 000001010011100101110111000 Synchronous

Binary Counter (Figure 12-13)

(30)

• A binary counter using three T F/F to count clock pulses

12.3 Design of Binary Counters

Counting sequence

CBA: 000001010011100101110111000 Synchronous

Binary Counter (Figure 12-13)

참조

관련 문서

For more details on how to build an SDK and set up a host machine for building the kernel and U-Boot only outside of the Yocto Project build environment, see Chapter "How

Basic aspects of AUTOSAR architecture and methodology Safety mechanisms supported by AUTOSAR.. Technical safety concepts supported by AUTOSAR Relationship to ISO

  …ö KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK  F  ĭ …ö KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK 

Process data in registers using a number of data processing instructions which are not slowed down by memory access. Store results from registers

And then the concept of pop arts products and what kinds of pop art products they have, how characteristics of youth and pop culture influences teenagers in order to

t-test and F-test were employed to find out the influence of child gender, birth of order and family atmosphere on parent communication style and child

(4) Analyze the liaison of detachment, collection, screen, and transportation operation of the jujube harvester based on the information of the tree shape of jujube

In 1396, a wall with four main gates and four smaller gates was constructed to keep the city safe from invaders.. Although two of the gates are now gone, many sections of