Overview of Shift register and applications

16
SHIFT REGISTERS & APPLICATIONS

description

i think it may help full to you for better understanding..

Transcript of Overview of Shift register and applications

Page 1: Overview of Shift register and applications

SHIFT REGISTERS&

APPLICATIONS

Page 2: Overview of Shift register and applications

Registers:

We can say that A register is an extension of a flip-flop that can store multiple bits.

Registers are commonly used as temporary storage in a processor.They are faster and more convenient than main memory.

More registers can help speed up complex calculations.

Page 3: Overview of Shift register and applications

This registers are of two types1. Serial load2. Parallel load

3. Serial load registers:

Serial in serial out Serial in parallel out

Page 4: Overview of Shift register and applications

2. Parallel load register:

Parallel in serial out Parallel in parallel out

Page 5: Overview of Shift register and applications

Serial in serial out:After each clock pulse data will enter into

the flip flop serially and the output of the present flip flop is fed to the next after the 2nd clock pulse and so on..

Page 6: Overview of Shift register and applications

Serial in parallel out:Same as in SISO after 4 clock pulses

data is loaded into the register and the data will be available at the output after 4 clock pulses where as in SISO the will be available at the out put after 8 clock pulses.

Page 7: Overview of Shift register and applications

Parallel in serial out:It shows the PISO register where the

mode control is used. When mode is low the data is clocked into the flip flop and the data is shifted when the mode bit is high

Page 8: Overview of Shift register and applications

Parallel in parallel out:In PIPO registers the data will appear

immediately at the output after a single clock pulse and there is no clock delay.This PIPO register are also known as general register because of no shifting operation.

Page 9: Overview of Shift register and applications

APPLICATIONS

Pseudo random pattern generator

Ring counter

Johnson counter or twisted counter

Page 10: Overview of Shift register and applications

Ring counter:

Ring counter is a shift register in which the output of the last flip flop is fed to the input again.

For every clock pulse the data shifted into the next flip flop thus it can count only N states.

Page 11: Overview of Shift register and applications

Ring counter

Page 12: Overview of Shift register and applications

Johnson counter

The complement of the output of the last stage is connected back to the D input of the first stage.

Also called the twisted-ring counter.

Require fewer flip-flops than ring counters but more flip-flops than binary counters.

An n-bit Johnson counter cycles through 2n states.

Require more decoding circuitry than ring counter but less than binary counters.

Page 13: Overview of Shift register and applications

Johnson counter

Page 14: Overview of Shift register and applications

Pseudo random pattern generator

It is a simple shift register where the vacated bit of is filled with the exclusive-or of last two bits in the shift register.

By using this for a n bit shift register we can generate 2^n patterns.

This is very useful in test pattern generation.

Page 15: Overview of Shift register and applications

Pseudo random pattern generator

Page 16: Overview of Shift register and applications

1