Back

Using D-type Flip-flops to Make a Shift Register

Shift registers are important components in computers.  They act as memories for binary numbers, and are important in shifting data about the computer.  Data may be received in serial form, i.e. one digit after another, but is sent in whole words through the computer.  Each bit of a word needs its own wire to travel in, therefore for a 4-byte word (1 byte = 8 bits, therefore 32 bits) needs 32 parallel connectors.  This is called parallel data transmission.

 Very high speeds are possible because of the parallel connectors, buses, that form the highways between computer components.  The diagram shows the difference between serial and parallel data transmission.

Question 5 Why is the printer cable that comes from a parallel port on a computer is so thick and heavy?  ANSWER                                                                                           

D type flip-flops are used to enable this in these ways:

 

We will look at a four-bit serial input parallel output shift register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

We are going to put the number 1101 into the register to see how this works and the table below shows the sequence of events.

Clock pulse

Q3

Q2

Q1

Q0

Notes

0

0

0

0

0

 

1

1

0

0

0

 

2

0

1

0

0

 

3

1

0

1

0

 

4

1

1

0

1

Data loaded

5

0

1

1

0

 

6

0

0

1

1

 

7

0

0

0

1

 

8

0

0

0

0

Data out

 The timing diagram is shown here:

We can use the timing diagram to explain what is happening:

  Question 6. Can you use the timing diagram to explain how a SIPO shift register works? ANSWER

Click HERE to go on to NAND gate monostables and astables.

 

Back

Home    Subject Contents     Electronics AS