Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

Registers

Lesson 01
Chapter 12

Dr. Mohammed Majid Al Khalidy


Registers
➢ A register is a group of binary storage devices such as flip
flops used to store words of binary information.
➢ A register may also contain some combinational circuitry to
perform certain tasks.

(Transfer)

➢ The load command allows the register to receive data that may
come from any source and are fed into the D1 through D4 inputs
of these flip flops.
➢ After the data are loaded or stored, the read command may be
used to transfer that data to another register, and even though
the data may have been transferred to another register, they
have not been lost at the source register. 2
(Sequential circuit used to store binary word)

3
(bit by bit)

4
➢ A shift register can be a left-shift register, a right-shift
register, a serial-to-parallel register, a parallel-to-serial
register, or a parallel input/parallel output register.
➢ The register shown in Figure below is an example of serial
transfer of data between Registers A and B.
➢ We observe that both registers are right-shift registers and
therefore the contents of Register A are transferred to Register
B after three shift pulses.

An example of serial transfer of data between two registers


5
➢ a serial-to-parallel register where the reset line 𝑅𝐷 is
used to clear the register before the incoming data. Then,
the serial input is stored one bit at a time into the register.
➢ After the data is stored in the register, it can be read from
the parallel output lines Q1 through Q4 .

An example of serial input, parallel output register


6
➢ The register of Figure below is an example of a parallel-to-serial
register. We observe that the input data are available at the Q1
through Q4 input lines which represent the outputs of another
register.
➢ The reset line 𝑅𝐷 is used to clear the flip flops of the register. The
load command stores the data in a parallel mode asynchronously.
➢ When the clock pulse (CP) signal is applied, the stored data is shifted
to the right, and since 𝐽4 = 0and 𝐾4 = 1 , the register will be cleared
after four clock pulses and it will be ready to receive the next
incoming binary data.

(CLK)

An example of parallel input, serial output register 7


8
9
10
11
Shift Registers
Shift Registers are sequential logic circuits, capable of storage and transfer
of data.

12
13
14
Applications of shift Registers

• The shift registers are used for temporary data storage.


• The shift registers are also used for data transfer and data
manipulation.
• The serial-in serial-out and parallel-in parallel-out shift
registers are used to produce time delay to digital circuits.
• The serial-in parallel-out shift register is used to convert
serial data into parallel data thus they are used in
communication lines where demultiplexing of a data line into
several parallel line is required.
• A Parallel in Serial out shift register is used to convert
parallel data to serial data.

15
16
17
18
19
20
21
22
23

You might also like