Implementing a Logic Circuit with NAND & NOR Gates

  • Thread starter Thread starter Sinister
  • Start date Start date
  • Tags Tags
    Circuit Logic
Click For Summary

Discussion Overview

The discussion revolves around implementing a logic circuit using only NAND and NOR gates, focusing on the transformation of different gate types and the mathematical representation of the circuit. Participants explore methods for converting between gate types and express confusion regarding the implementation process.

Discussion Character

  • Homework-related
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about implementing a specific part of the circuit and questions the correctness of their truth table.
  • Another participant suggests understanding how to form NOT gates from NAND or NOR gates and discusses the transformation between NAND and NOR gates.
  • There is a mention of the possibility of solving the problem mathematically, with some participants indicating a preference for visual methods over memorization of concepts.
  • A participant describes the process of translating from a pictorial circuit to a mathematical form and back, noting the complexity involved.
  • One participant seeks clarification on the transformation process, particularly regarding the right-hand side of the circuit.
  • A later reply provides detailed explanations of basic transformations and the rules for manipulating NOT operations in relation to NAND and NOR gates.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and confusion regarding the transformations and implementations of the gates. There is no consensus on a single method or approach, and multiple viewpoints on the best way to tackle the problem remain evident.

Contextual Notes

Some participants highlight the difficulty of translating between circuit diagrams and mathematical representations, indicating that assumptions about familiarity with the concepts may vary. The discussion reflects a range of comfort levels with the material.

Sinister
Messages
32
Reaction score
0

Homework Statement



Ecccz.jpg

Given the above circuit, implement the logic circuit with only NAND gates, and then one with only NOR gates.

Homework Equations



N/A

The Attempt at a Solution



I made a truth table but I'm pretty sure its wrong because I'm confused on how to implement the 'g' part of the circuit.

Is there an easier way of doing this?
 
Physics news on Phys.org
Do you know how to form NOT gates from either a NAND gate or a NOT gate?
Do you know how to transform a NAND into a NOR and vice-versa?
Individual ANDs and ORs can obviously be transformed to NANDs and NORs if you tack a NOT gate on after them...

You can go through the circuit and make the conversions, then cancel all the redundant NOTs that appear.
 
gneill said:
Do you know how to form NOT gates from either a NAND gate or a NOT gate?
Do you know how to transform a NAND into a NOR and vice-versa?
Individual ANDs and ORs can obviously be transformed to NANDs and NORs if you tack a NOT gate on after them...

You can go through the circuit and make the conversions, then cancel all the redundant NOTs that appear.


Is there no way to solve it mathematically?
I really don't like memorizing these types of concepts
 
Sinister said:
Is there no way to solve it mathematically?
I really don't like memorizing these types of concepts

I suppose there must be, but it seems a lot of work to translate from a pictorial circuit to a mathematical form, then do the work, then convert back to a pictorial form. You can "do the math" visually right on the diagram by knowing a rather small number of "translations". Really, the method is practically algebraic in its methodology.
 
Ok so I understand that not gate and the and gate form a NAND gate, and then the two NAND gates form another NAND gate. But then I get confused, and especially with part on the right hand side.
Care to explain the transformation?
 
Sinister said:
Ok so I understand that not gate and the and gate form a NAND gate, and then the two NAND gates form another NAND gate. But then I get confused, and especially with part on the right hand side.
Care to explain the transformation?

In the following figure are the basic transformations. Read the lines of figures across the page; all the gate configurations on the same line are equivalent.

attachment.php?attachmentid=39775&stc=1&d=1318143131.gif


The yellow circles represent NOT operations that need to be added for the given gate type to stay equivalent to the others in the line. The important things to remember are:

1. How to make a NOT gate out of either a NAND or a NOR
2. If you move the NOT from output of a NAND or NOR to its input leads, the basic gate changes type (from AND to OR or from OR to AND). Thus if you remove the NOT circle from the tip of an NAND gate and place two such circles on the input leads, then change the gate type to an OR to preserve the the overall function.
3. You can migrate the NOT circles along the continuous path of a circuit wire. Thus you can change their association from one gate to another. This can be used to transform gate types (for example, taking the NOT circle from a NAND turns it into a AND, and the moved circle might cancel with one along, or at the other end of, the same wire). NOTs in series cancel in pairs.
 

Attachments

  • Fig1.gif
    Fig1.gif
    4.8 KB · Views: 783
Wow,
THANK YOU SO MUCH!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K