Digital Answers
Digital Answers
Race around condition can be eliminated using the master-slave flip-flop. Master-Slave
flip-flop is the cascaded combination of two flip-flops among which the first is designated as
master flip-flop while the next is called slave flip-flop
lip flops can be used to store a single bit of binary data (1or 0). However, in
order to store multiple bits of data, we need multiple flip flops. N flip flops are
to be connected in an order to store n bits of data. A Register is a device
which is used to store such information. It is a group of flip flops connected in
series used to store multiple bits of data.
The information stored within these registers can be transferred with the help
of shift registers. Shift Register is a group of flip flops used to store multiple
bits of data. The bits stored in such registers can be made to move within the
registers and in/out of the registers by applying clock pulses. An n-bit shift
register can be formed by connecting n flip-flops where each flip flop stores a
single bit of data.
The registers which will shift the bits to left are called “Shift left registers”.
The registers which will shift the bits to right are called “Shift right registers”.
Shift registers are basically of 4 types. These are:
1. Serial In Serial Out shift register
2. Serial In parallel Out shift register
3. Parallel In Serial Out shift register
4. Parallel In parallel Out shift register
The shift register, which allows serial input (one bit after the other through a
single data line) and produces a serial output is known as Serial-In Serial-
Out shift register. Since there is only one output, the data leaves the shift
register one bit at a time in a serial pattern, thus the name Serial-In Serial-
Out Shift Register.
The logic circuit given below shows a serial-in serial-out shift register. The
circuit consists of four D flip-flops which are connected in a serial manner. All
these flip-flops are synchronous with each other since the same clock signal
is applied to each flip flop.
The above circuit is an example of shift right register, taking the serial data
input from the left side of the flip flop. The main use of a SISO is to act as a
delay element.
e know that one flip-flop can store one-bit of information. In order to store multiple
bits of information, we require multiple flip-flops. The group of flip-flops, which are
used to hold storestore the binary data is known as register.
If the register is capable of shifting bits either towards right hand side or towards left
hand side is known as shift register. An ‘N’ bit shift register contains ‘N’ flip-flops.
Following are the four types of shift registers based on applying inputs and
accessing of outputs.
Serial In − Serial Out shift register
Serial In − Parallel Out shift register
Parallel In − Serial Out shift register
Parallel In − Parallel Out shift register
This block diagram consists of three D flip-flops, which are cascaded. That means,
output of one D flip-flop is connected as the input of next D flip-flop. All these flip-
flops are synchronous with each other since, the same clock signal is applied to
each one.
In this shift register, we can send the bits serially from the input of left most D flip-
flop. Hence, this input is also called as serial input. For every positive edge
triggering of clock signal, the data shifts from one stage to the next. So, we can
receive the bits serially from the output of right most D flip-flop. Hence, this output is
also called as serial output.
https://www.tutorialspoint.com/digital_circuits/digital_circuits_shift_registers.htm
Example
Let us see the working of 3-bit SISO shift register by sending the binary
information “011” from LSB to MSB serially at the input.
Assume, initial status of the D flip-flops from leftmost to rightmost
is Q2Q1Q0=000Q2Q1Q0=000. We can understand the working of 3-bit SISO
shift register from the following table.
No of positive edge of Serial Input Q2 Q1 Q0
Clock
0 - 0 0 0
1 1LSBLSB 1 0 0
2 1 1 1 0
3 0MSBMSB 0 1 1LSBLSB
4 - - 0 1
5 - - - 0MSBMSB
http://webpages.eng.wayne.edu/~ad5781/ECECourses/ECE2610/LectureNotes/Lec
ture11.pdf
https://www.vssut.ac.in/lecture_notes/lecture1430873727.pdf
https://www.cs.tau.ac.il/~nin/Courses/mivne98/counters/