How Can a D-Type Flip Flop Handle Simultaneous High Inputs?

  • Thread starter transgalactic
  • Start date
  • Tags
    Flip flop
In summary, when both SET and RESET are 1, the output of the RS NAND latch can either be Q = 0 and Q(not) = 1, or Q = 1 and Q(not) = 0, depending on the previous inputs.
  • #1
transgalactic
1,395
0
http://img329.imageshack.us/my.php?image=39501432oa1.jpg

if one of them was 0 then no problem because the other wire value doesn't matter
but here we have both 1
if i look on one of the NANDs gates we have one input of 1
and the other input value is unknown because it comes from the resolt of the other gate
which has the same problem

how to solve it??
 
Physics news on Phys.org
  • #2
When SET = RESET = 1, there are two likely outputs of our RS NAND latch. We can have Q = 0 and Q(not) = 1. In this case, the input to the lower NAND gate is 0 and 1, which gives Q(not) = 1. The inputs to the first NAND are both 1 which makes Q = 0.

The second possibility is to have Q = 1 and Q(not) = 0. The same analysis used above can be applied for this situation.

So which situation occurs first? This depends on what has occurred previously at the inputs.
 
  • #3


Based on the image provided, it appears that the flip flop in question is a D-type flip flop. In this type of flip flop, the output value is determined by the input value at the moment the clock signal changes. In this case, if both inputs are 1, the output will depend on the previous state of the flip flop, which is unknown. This can lead to unpredictable behavior.

To solve this issue, one possible solution would be to add a third input to the flip flop, known as the asynchronous reset input. This input allows the flip flop to be reset to a known state, regardless of the clock signal. By tying this input to a specific value, the flip flop can be forced into a known state and eliminate the issue of both inputs being 1.

Another solution could be to use a different type of flip flop, such as a JK flip flop, which has a more predictable behavior when both inputs are 1. Alternatively, the circuit design could be modified to avoid this situation altogether, such as by using logic gates to control the input values or by using a different type of sequential logic circuit.

Ultimately, the best solution will depend on the specific requirements and constraints of the circuit in question. It is important for a scientist to carefully analyze the problem and consider all possible solutions before making a decision on how to solve it.
 

1. What is a flip flop?

A flip flop is a type of electronic circuit that has two stable states and is used to store binary information. It is commonly used in digital logic circuits, memory devices, and computer processors to store and manipulate data.

2. How does a flip flop work?

A flip flop works by using a feedback loop of logic gates to maintain one of its two stable states, either a 0 or a 1. It has two inputs, a set input and a reset input, which control the state of the flip flop. When the set input is activated, the flip flop stores a 1, and when the reset input is activated, the flip flop stores a 0.

3. What are the different types of flip flops?

There are several types of flip flops, including SR flip flops, D flip flops, JK flip flops, and T flip flops. Each type has its own unique set of inputs and outputs and is suitable for different applications. For example, D flip flops are commonly used for data storage, while JK flip flops are used for frequency division and sequence generation.

4. What is the difference between a latch and a flip flop?

Both latches and flip flops are types of sequential logic circuits used for storing data. The main difference is that a latch is level-sensitive, meaning it can change its output whenever the input changes, while a flip flop is edge-triggered, meaning it only changes its output on a clock signal. This makes flip flops more reliable for storing data and less susceptible to glitches.

5. What are some common applications of flip flops?

Flip flops have a wide range of applications in digital electronics, including data storage, frequency division, counters, and shift registers. They are also used in computer processors to store and manipulate data. Additionally, flip flops are commonly used in communication systems, control systems, and various other electronic devices.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
20
Views
2K
  • Electrical Engineering
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
5K
Back
Top