How Can I Simplify Boolean Algebra Using 3-Input NAND Gates?

Click For Summary

Discussion Overview

The discussion revolves around optimizing a Boolean algebra equation using 3-input NAND gates, specifically focusing on minimizing input-output delay. Participants are exploring various methods to simplify the equation while considering the constraints of gate delays and the number of gates used.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents the equation F(ABCD) = AB + CD + BD + BC + AD + AC and seeks guidance on simplifying it using 3-input NAND gates.
  • Another participant confirms that the output will be HIGH if any two or more inputs are HIGH.
  • A different participant mentions two implementations of the solution, each using 8 gates, with varying configurations of inverters and gate delays.
  • One participant expresses uncertainty about whether their implementation, which uses 9 gates including inverters, is optimal compared to others discussed.
  • Another participant proposes a notation involving NAND operations and attempts to simplify the equation further, but later admits to making an error in their calculations.
  • There is a discussion about the maximum gate delay in different implementations, with some participants suggesting that fewer gates in series would be preferable.

Areas of Agreement / Disagreement

Participants generally agree on the need to simplify the Boolean equation using 3-input NAND gates, but multiple competing views and approaches remain regarding the optimal implementation and the number of gates required.

Contextual Notes

Participants express uncertainty regarding the optimal number of gates and configurations, with some methods resulting in different gate delays and implementations. There are also unresolved notational differences and potential errors in calculations.

valastar
Messages
3
Reaction score
0

Homework Statement



Hey PF!

I'm supposed to "Optimize the equation for minimal input-output delay with 3-input NAND gates of 1.8ns delay each." It'll become much clearer at my attempt at a solution, I hope.

Homework Equations



De Morgan's laws, K-maps, the sort...


The Attempt at a Solution




So this is part of a homework assignment I've been struggling with for a while now. We were given a word problem and had to simplify it using three input NAND gates.

I've simplified the actual word problem to :

F(ABCD)= AB + CD + BD + BC + AD + AC

As you can see this doesn't use any NAND gates, so I simplified it further to:

(A NAND B) NAND (A NAND C) NAND (A NAND D) NAND (B NAND C) NAND (B NAND D) NAND (C NAND D)

Sorry for typing out the NANDS, I thought it would be easier to see than those pesky ' marks.

How do I go about simplifying this further to 3 INPUT NANDS?

I appreciate any guidance!
 
Physics news on Phys.org
valastar said:
I've simplified the actual word problem to :

F(ABCD)= AB + CD + BD + BC + AD + AC
So it looks like the output will be HIGH if any two (or more) inputs are HIGH?
 
Yes, that is correct.
 
Were you given the answer? I get two different implementations, each using 8 gates.

One uses three as inverters, and ends up with a maximum of 4 gates in series.
The other uses four as inverters, but has a maximum of 3 gates in series.

The latter would have least delay. I have no idea whether there is any better implementation, though.
 
Wow 8 gates! Is that inclusive or exclusive of the inverters that you used?

The solution has not been given out yet, so I'm still working on it.

I was able to demorgan the solution down to:

-(-a*-b*-c)*-(-a*-c*-d)*-(-a*-b*-d)*-(-b*-c*-d)

Is that the minimized equation that you used?

I mapped it using a total of 9 gates, of which 3 were inverters. The maximum gate delay was 4 though, so the idea of a solution with a lesser delay seems attractive.
 
Last edited:
valastar said:
I was able to demorgan the solution down to:

-(-a&&-b&&-c)&&-(-a&&-c&&-d)&&-(-a&&-b&&-d)&&-(-b&&-c&&-d)
Is this a notation that you invented? I thought there were enough notations already...
F(ABCD)= AB + CD + BD + BC + AD + AC
= A•(B+C) + D•(A+B) + C•(B+D)

Replace each red + with a NAND (and inverters), and finally implement the three black + with a NAND.

I haven't checked it, so no guarantees.
 
NascentOxygen said:
I haven't checked it, so no guarantees.
Now, I have checked it. I discovered I blundered.

I can't implement it in fewer gates than you managed. So it's 9, with up to 4 in series.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
28K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
24K
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K