Conversion of D flip-flop to SR and JK flip flop

In the last article, we have discussed “how to convert JK flip-flop into SR, D and T type of flip-flop”. Today we are going to learn about the conversion of D flip-flop. We can convert D flip-flop into SR and JK flip-flop by using the suitable combinational circuit. Combinational circuits for this purpose can be designed easily by using conversion tables and K-Maps. Let us see how to convert D flip-flop into different types of flip-flops.

1. Conversion of D flip-flop into SR flip-flop:

For converting D flip-flop to SR flip-flop, we use S and R as external inputs and D is the actual input to the flip-flop. S, R, and Qn makes eight possible combinations, but S=R=1 is an invalid combination. So, the corresponding entries for Qn+1 and D are don’t cares. Then we have to express D in terms of S, R, and Qn for the design of required flip-flop.

The conversion table, K-Maps and logic diagram for the conversion of D flip-flop into SR flip-flop is shown below:

Conversion of D Flip-Flop to SR Flip Flop 1

D Flip Flop to SR Flip Flop 3

D Flip Flop to SR Flip Flop 2

2. Conversion of D flip-flop into JK flip-flop:

In case of conversion of D flip-flop to JK flip-flop, we have to use J and K as the external inputs and D as the input of the actual flip-flop. J, K, and Qn make eight possible combinations. Express D in terms of J, K, and Qn.

The conversion table, K-Maps and logic diagram for the conversion of D flip-flop into JK flip-flop is shown below:

D Flip Flop to JK Flip Flop 1

D Flip Flop to JK Flip Flop 2

D Flip Flop to JK Flip Flop 3

You may also like:

If you like this article, please share it with your friends and like our facebook page for future updates. Subscribe to our newsletter to get notifications about our updates via email. If you have any queries, feel free to ask in the comments section below. Have a nice day!

Conversion of JK flip flop to SR flip flop, T and D flip flop

Conversion of JK flip flop

Introduction:

We have discussed “how to convert SR flip flop into JK and D type of flip flop” in the last article. Now we are going to convert JK flip flop into different types of flip flops.

As explained in the last article, if we want to convert one type of flip flop into another type of flip flop, first we have to design a combinational circuit and after that connect it to the inputs of actual flip flop. So that the outputs of combinational circuit will be the inputs of actual flip flop and then it will produce same output as that of required flip flop.

We can convert JK flip flop into SR flip flop, T flip flop and D type of flip flop.

1)      Conversion of JK flip flop to SR flip flop:

In case of converting JK flip flop into SR flip flop, external inputs (inputs of combinational circuit) are S and R, while J and K are the inputs of actual flip flop.

So we have to get values of J and K in terms of S, R and Qn. thus we prepare a conversion table S, R, Qn, Qn+1, J and K.

The external inputs S and R and the output Qn can make 8 combinations. For each combination find the corresponding Qn+1.

In the SR flip flop, the combination S=1 and R=1 is not permitted. So, the corresponding output is invalid and, therefore the corresponding J and K are don’t cares.

Complete the table by writing the values of J and K required getting each Qn+1 from the corresponding Qn.

The conversion table, K-maps and Logic diagram for the conversion of JK flip flop to SR flip flop is shown below:

JK Flip Flop to SR Flip Flop 1
Conversion Table
JK Flip Flop to SR Flip Flop 2
Logic Diagram

JK Flip Flop to SR Flip Flop 3
K-Maps

2)      Conversion of JK flip flop to T flip flop:

For the conversion of JK flip flop to T type of flip flop, T will be the external input (input of combinational circuit) and the output of this combinational circuit is connected to the inputs of actual flip flop (J and K).

Then we prepare conversion table and using this table express J and K in terms of T and Qn.

The conversion table, K-Maps and logic diagram for the conversion of JK flip flop to T type of flip flop is shown below:

JK Flip Flop to T Flip Flop 1
Conversion Table
JK Flip Flop to T Flip Flop 2
Logic Diagram
JK Flip Flop to T Flip Flop 3
K-Maps

3)      Conversion of JK flip flop to D flip flop:

In case of converting JK flip flop into D flip flop, D is the external input of combinational circuit, whereas J and K are the inputs of actual flip flop.

D and Qn make four combinations. So, prepare a conversion table and using this table express J and K in terms of D and Qn.

The conversion table, K-map and logic diagram for the conversion of JK flip flop to D flip flop is shown below:

JK Flip Flop to D Flip Flop 1
Conversion Table
JK Flip Flop to D Flip Flop 3
K-Maps
JK Flip Flop to D Flip Flop 2
Logic Diagram

You may also like:

If you like this article, please share it with your friends and like or facebook page for future updates. Subscribe to our newsletter to get notifications about our updates via email. If you have any queries, feel free to ask in the comments section below. Have a nice day!

Conversion of SR Flip Flop to JK and D Flip Flop

Conversion of Flip Flop

Introduction:

For the conversion of one type of flip flop into another type of flip flop, we are required to design a combinational circuit. The inputs of the required flip flop are given to this combinational circuit. The output of combinational circuit is nothing but the input of the actual flip flop which we are going to convert into another type. Then the output of the actual flip is the output of required flip flop.

Conversion of SR flip flop:

We can convert SR flip flop into JK and T type of flip flop.

1)      SR flip flop to JK flip flop:

Following figure shows the conversion table, K-maps, and Logic diagram for the conversion of SR flip flop to JK flip flop.

Conversion of SR Flip Flop to JK flip flop
Conversion Table

SR Flip Flop to JK Flip Flop 3

SR Flip Flop to JK Flip Flop 2
Logic Diagram

In this case we are required to convert SR flip flop into JK flip flop. Therefore we have to first design and connect the combinational circuit to the input of SR flip flop so that it will produce same outputs as that of JK flip flop. Here the external inputs are J and K. S and R will be the outputs of designed combinational circuit which are inputs of actual flip flop. We write a truth table with J, K, Qn, Qn+1, S and R. where Qn is the present state of the flip flop and Qn+1 will be the next state obtained when the particular J and K inputs are applied.

J, K and Qn can have eight combinations. For each combination of J, K and Qn find the corresponding Qn+1, i.e. determine to which next state the JK flip flop will go from the present state Qn if the present inputs J and K are applied. Now complete the table by writing the values of S and R required to get each Qn+1 from the corresponding Qn. i.e. write what values of S and R are required to change the state of the flip flop from Qn to Qn+1.

2)      SR flip flop to D flip flop:

Similarly for the conversion of SR flip flop into the D flip flop we have connect combinational circuit to the inputs of the SR flip flop. In this case D the external input of the circuit. The output of the combinational circuit is connected to the inputs of the actual flip flop i.e. SR flip flop. Then the output of this flip flop will be the same as D flip flop.

The conversion table, K-maps, and Logic diagram for the conversion of SR flip flop to D flip flop.

SR Flip Flop to D Flip Flop 1
Conversion Table
SR Flip Flop to D Flip Flop 3
K-Maps

SR Flip Flop to D Flip Flop 2Logic Diagram

You may also like:

If you like this article, please share it with your friends and like or facebook page for future updates. Subscribe to our newsletter to get notifications about our updates via email. If you have any queries, feel free to ask in the comments section below. Have a nice day!

Registers using Flip-Flop

Registers:

We know that a Flip-Flop can store a 1 bit of digital information (1 or 0) .It is also referred as 1-bit register. Registers find application in a verity of information in digital systems including microprocessor. For example Intel’s 8085 microprocessor contains seven 8-bit registers and five 1-bit registers.

The data can be entered in serial (1-bit at a time) or in parallel form (all the bits simultaneously) and can be retrieved in serial or parallel form. Data in serial form is called temporal code where as data in parallel form is called special code. A 4-bit data 1010 is shown in fig a) and in parallel form in fig b).

registers using flip flops
registers using flip flops

Registers are classified depending upon the way in which the data are entered and retrieved. There are four possible modes of operations:

  1. Serial-in ,serial-out (SISO)
  2. Serial-in, parallel-out (SIPO)
  3. Parallel-in, series-out (PISO)
  4. Parallel-in, parallel-out (PIPO)

Registers can be designed using various Flip-Flops (S-R or J-K as D-type) and are also available as MSI devices.

Registers in which data are entered or/and taken out in serial form are referred as shift registers, since bits are shifted in the Flip-Flops with the occurrence of clock pulses either in the right direction or in the left direction or in both the directions (Bi-directional). IC74295A is a bi-directional shift register.

A register is referred as universal register if it be operated in all the four possible modes and also as bi-directional registers. For example 74194 is a universal register.

Universal Shift Register:

A universal shift register is a bidirectional register, whose input can either in serial form or in parallel form and whose output can also be either in serial form or in parallel form.

Following figure shows the logic diagram of the 74194 4-bit universal shift register. Note that the output of each flip flop is routed through AOI logic to the stage on its right and to the stage on its left. The mode control inputs S0, and S1, are used to enable the left to, right connections when it is desired to shift-right, and the right-to-left connections when it is desired to shift-left.

Universal shift register
Universal shift register

The truth table shows that no shifting occurs when S0 and S1 are either LOW or both HIGH. When So = S1=0, there is no change in the contents of the register, and when So = S1 = 1, the parallel input data A, B, C and D are loaded into the register on the rising edge of the clock pulse. The combination S0 = S1= 0, is said to inhibit the loading of serial or parallel data, since the register contents cannot change under that condition. The register has an asynchronous active-Low clear input, which can be used to reset all the flip flops irrespective of the clock and any serial or parallel inputs.

If you like this article, please share it with your friends and like or facebook page for future updates. Subscribe to our newsletter to get notifications about our updates via email. If you have any queries, feel free to ask in the comments section below. Have a nice day!

Applications of Flip-Flops

Applications of Flip-Flops:

Some of the common uses of the Flip-Flops are as follows:

  • 1)   Bounce elimination switch
  • 2)   Latch
  • 3)   Registers
  • 4)   Counters
  • 5)   Memory, etc.

Some examples of uses of Flip-Flops are given below:

A)  Bounce elimination switch :

Mechanical switches are employed in digital system as a input devices by witch digital information (0 and 1) is entered into the system. There is a very serious problem associated with these switches which is switch bouncing (chattering).

If we entered input as ‘1’ in a sequential circuit the output is ‘1’ but it oscillates between ‘1’and ‘0’ before come to rest i.e. 1. This changes the output of the sequential circuit and creates difficulties. This problem is eliminated by the use of Bounce elimination switches.

B)  Registers :

A register is composed of a group of flip-flops to store a group of bits (word). For storing N bit of words we require N number of flip-flops (one flip of for each bit).

A flip flop can store only one bit of data, a 0 or a 1; it is referred to as a single bit register. When more bits of data are to be stored, a number of flip flops are used. A register is a set of flip flops used to store a binary data. The storage capacity of a register is a number of bits of digital data that it can retain. Loading a register means setting or resetting the individual flip flops, i.e. inputting data into the register so that their states correspond to the bits of data to be stored. Loading may be serial or parallel in serial loading, data is transferred into the register in serial form, i.e. one bit at a time, whereas in parallel loading, the data is transferred into the register in parallel form meaning that all the flip flops are triggered into their new states at the same time. Parallel input requires that the SET and/or RESET controls of every flip flop be accessible.

C)  Counters :

Digital counters are used for count the events. Electrical pulses corresponding to the event are produced using transducers & these pulses counted using a counter.

A digital counter is a set of flip-flops whose stated change in response to pulses applied at the input to the counter. The flip flops are interconnected such that their combined state at any time is the binary equivalent of the total number of pulses that have occurred up to that point. Thus, as its name implies, a counter is used to count the pulses. A counter can also be used as a frequency divider to obtain waveforms with frequencies that are specific fractions of the clock frequency. They are also used to perform the timing function as in digital watches, to create time delays, to crate non-sequential binary counts, to generate pulse trains, and to act as frequency counters, etc.

D)  Random access memory:

In computers, digital control systems, information processing systems it is necessary to store digital data and retrieve the data as desired.

Flip-Flops can be used for making memories in which data can be stored for any desired length of time and then readout whenever required.

The data stored in RWMs (Read Write memories) constructed from semiconductor devices will be lost if power is removed. Such memory is said to be volatile. But ROM is non-volatile. Random access memory (RAM) is the memory whose memory locations can be accessed directly and immediately. By contrast, to access a memory location on a magnetic tape, it is necessary to wind or unwind the tape and go through a series of addresses before reaching the address desired. Therefore, the tape is called the sequential access memory.

If you like this article, please share it with your friends and like or facebook page for future updates. Subscribe to our newsletter to get notifications about our updates via email. If you have any queries, feel free to ask in the comments section below. Have a nice day!