Data Transfer in Shift Registerson 24/2/2012 & Updated on Friday 18th of May 2018 at 11:54:56 AM
Consider a 3-bit register formed by connecting three synchronous positive edge triggered D flip-flops as shown in Figure 1. Here it is seen that the CLR pins of all the flip-flops are tied-up together and are connected to the clear input. Further the output of FF1 (Q1) is connected as an input to flip-flop 2 (D2 of FF2) and the output of FF2, Q2 is connected as an input to flip-flop 3 (D3 of FF3). Moreover the data word which is to be stored is supplied to the register via the input pin of flip-flop 1 (D1 of FF1) while the data is collected from the output pin of third flip-flop (Q3 of FF3).
Generally the contents of every flip-flop (and hence the entire register) is made zero by driving their clear pins high before feeding the data. Next the first bit of the input word (B1 of Data in) is made to appear at D1.
This bit will be stored in FF1 and thereby appears at its output Q1 on the appearance of first leading edge of the clock. Further at the second clock tick, B1 is stored in FF2 and is obtained at Q2 while the data at Q1 will the second bit of the input word, B2. Similarly at the rising edge of the third clock pulse, the third bit of the input data word, B3 appears at Q1 while Q2 = B2 and Q2 = B1. This is called right-shift data transmission as one can note the movement of data from left to right within the register. The operation of such a register is further emphasized by Figure 2 in terms of wave forms and by Table I which indicates the movement of data bits (green arrows), considering the data-in sequence as 100100.
In the type of shift register explained above it is seen that the data bit stored in the last flip-flop is lost as and when the new data bit is stored into the register. This can be avoided by back-connecting the output pin of FF3 to the D1 pin of FF1. This causes the output bit of the FF3 (Q3) to be stored into FF1 which results in the circulation of the data bits within the register. However even in this case the movement of data bits within the intermediate flip-flops remains the same. Similar to the right-shift register, there are left-shift registers in which the data moves from right to left within the register. Further in some cases, the data loading and retrieval processes of the shift registers are controlled using additional circuitry. Never the less the basic functionality remains the same. Moreover one has to note that the mode of data movement explained remains the same irrespective of the size of the shift register.
Rating = 2.5 & Total votes = 2