Flip Flops, and equivalent circuits

Click For Summary

Discussion Overview

The discussion revolves around the equivalence of two circuit diagrams involving flip-flops and their corresponding output equations. Participants are exploring the relationships between the circuits, specifically focusing on their outputs and state behaviors under different inputs.

Discussion Character

  • Homework-related
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents equations for the outputs of two circuits but expresses confusion over their equivalence.
  • Another participant questions whether the equations accurately represent the circuit images provided.
  • Concerns are raised about the visual representation of the circuits, with one participant suggesting that the connections do not appear equivalent.
  • Participants discuss the source of the circuit images, with one confirming that the second image is taken directly from a textbook.
  • One participant notes that the two circuits behave differently when a state table is filled out, indicating potential non-equivalence.
  • Specific state table values are shared for both circuits under different input conditions, highlighting discrepancies in output behavior.
  • A participant expresses frustration over the difficulty in determining an equivalent circuit using only NAND and NOR gates.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the equivalence of the two circuits. There are multiple competing views regarding the correctness of the equations and the visual representations of the circuits, as well as differing observations about their behavior under various inputs.

Contextual Notes

Participants acknowledge potential errors in their state tables and calculations, indicating that the discussion is exploratory and may involve missing assumptions or unresolved steps in the analysis.

sandy.bridge
Messages
797
Reaction score
1

Homework Statement


Hey guys,
Can someone please explain how the following circuits that I attached are equivalent? I'm not seeing that they are when I develop equations for the output Z.

For the first one I get Z=Q1+Q2=(Q1'+Q2')+(XQ2')'=Q1'+Q2'+X'+Q2

For the second image I get Z=Q2'+Q1=(XQ2')'+Q1=X'+Q2+Q2+Q1'

so I must be messing up somewhere and not catching it.
Any suggestions?
Thanks!
 

Attachments

  • equivalent.jpg
    equivalent.jpg
    16.6 KB · Views: 465
Physics news on Phys.org
sandy.bridge said:

Homework Statement


Hey guys,
Can someone please explain how the following circuits that I attached are equivalent? I'm not seeing that they are when I develop equations for the output Z.

For the first one I get Z=Q1+Q2=(Q1'+Q2')+(XQ2')'=Q1'+Q2'+X'+Q2

For the second image I get Z=Q2'+Q1=(XQ2')'+Q1=X'+Q2+Q2+Q1'

so I must be messing up somewhere and not catching it.
Any suggestions?
Thanks!

The AND/NAND and the 2nd flop do not look right...
 
Are you referring to the image or the equations that I have given? If it's the equations, the first one?
 
The image -- the connections do not look equivalent (but I could be wrong).
 
Where did you get the image from?
 
Second image I copied directly out of the textbook. The first image is the solution. It is asked for one to determine an equivalent circuit using merely NAND and NOR gates, and no inverters. The top image is answer.
 
Would you agree that the equations I presented to represent the figures are indeed correct? Perhaps the solution is wrong?
 
sandy.bridge said:
Second image I copied directly out of the textbook. The first image is the solution. It is asked for one to determine an equivalent circuit using merely NAND and NOR gates, and no inverters. The top image is answer.

sandy.bridge said:
Would you agree that the equations I presented to represent the figures are indeed correct? Perhaps the solution is wrong?

I get the same two Z equations as you do.

However, when I start to fill out a State Table for the two circuits, they behave differently. Start with the FFs cleared and X=0 at the input. The initial state has different Z values. As you clock the two circuits while holding X=0, they stabilize into two different state looping behaviors, but each of those has Z=1 at the output. When I change the input to X=1, I get a different value of Z output for the two circuits, depending on what part of the two looping state behaviors the circuits are in when the input X is changed. That doesn't seem like functionally equivalent circuits to me...

Try it yourself. Set up the two state tables and fill in some values for each clocked cycle:

For circuit #1:
Code:
STATE  X  Q1  Q1'  Q2  Q2'  --> Z
    0     0   0    1     0    1         0
    1     0   1    0     1    0         1
and so on...

For circuit #2:
Code:
STATE  X  Q1  Q1'  Q2  Q2'  --> Z
    0     0   0    1     0    1         1
    1     0   1    0     0    1         1
and so on...

I may have made some errors in my State Tables, so I'd be interested in what you find. It looks like the two circuits have different State Diagrams at least, and for me it looks like they give different outputs for at least one sequence of inputs X.
 
I did, and I could not seem to get that they were equivalent. Hmm. Is there a strategic way to determine an equivalent circuit to the second image (green and red) using merely NAND and NOR gates? I feel as though I have been staring at this problem for LONG.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K