Converting AND-OR expression to NAND-NAND?

  • Thread starter Thread starter Noopi
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary
SUMMARY

The discussion focuses on converting AND-OR logic expressions into NAND-NAND logic expressions for a BCD 3321 encoder design. The user has derived four logical expressions: MSB: A + BC, Second MSB: A + B + CD, Third MSB: A + BC'D + B'CD', and LSB: BCD + BC'D' + B'C'D. The professor suggested using double negation and DeMorgan's Law to facilitate this conversion, which the user finds challenging. The key takeaway is the application of DeMorgan's Law to transform the derived expressions into NAND-NAND format.

PREREQUISITES
  • Understanding of BCD (Binary-Coded Decimal) encoding
  • Familiarity with DeMorgan's Law in Boolean algebra
  • Knowledge of truth tables and Karnaugh maps (K-maps)
  • Experience with NAND gate logic design
NEXT STEPS
  • Study the application of DeMorgan's Law in converting logic expressions
  • Learn how to implement two-level NAND gate logic designs
  • Practice creating truth tables for complex logical expressions
  • Explore advanced topics in digital logic design, such as multiplexers and encoders
USEFUL FOR

Students in electrical engineering, digital logic designers, and anyone involved in creating or optimizing digital circuits using NAND logic.

Noopi
Messages
1
Reaction score
0

Homework Statement


Make a BCD 3321 encoder. So if you input 0100, the encoder will output (depending on your design) either a 1001, or a 0101. Similarly, an input of 0101 will output either a 1010 or a 0110 (again, depending on your design).

Homework Equations


I know you're supposed to use DeMorgan's Law, but I have a hard time understanding WHEN to use it.

The Attempt at a Solution


I have done the truth table, the kmaps, and derived the logical expressions for each bit, but what I'm having a hard time doing is turning my AND-OR logic expressions into NAND-NAND logic expressions.

My 4 logical expressions are:

(3) MSB: A + BC
(3) Second MSB: A + B + CD
(2) Third MSB: A + BC'D + B'CD'
(1) LSB: BCD + BC'D' + B'C'D

My professor mentioned something about double negating the equations, and then applying DeMorgan's Law to get the NAND-NAND logic, and that's where he lost me.

Any help will be greatly appreciated!
 
Physics news on Phys.org
Keep in mind that in the logic diagram

you will implement it in two-level NAND gate

for example if you have this function f(w,x,y )=xy+xz+w

In the first level you will have (xy)' , (xz)' , w'

Then the second level [(xy)'(xz)'w']'=xy+xz+w
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K