Don said:
How about "Karnaugh Map"?
funnily enough I had written "Karnaugh map" then I deleted it. Because
I remembered that you look at the truth table and derive the product of
sums or sum of products equation.
Then you use the karnaugh map. (unless you can do it or the
corresponding boolean alebra in your head ). The karnaugh map is just
a tool to help simplify it. It didn't involve any inverting. I think it
just did some kind of boolean factorization and also, simplfying things
like 0 OR A , 1 AND A
I remember doing a lot with those when I took
a "computer logic circuits" course (I hope I got the course name right) at
Drexel University around 1983 or so.
If I remember correctly, this
"combinational logic optimization method" relied upon "minimized sum of
products" and "minimized product of sums" being similarly optimal, and I
somewhat remember needing freedom to invert some inputs.
Keep in mind that inverting the inputs to a NAND gate makes it an OR,
and inverting the inputs to a NOR gate makes it an AND. (I fairly
remember that one and I hope I figured out confirming this memory of mine
to be true!)
A NOR gate with inputs tied together and a NAND gate with inputs tied
together is an inverter.
Going back to the Karnaugh Map method - it generally proposes whatever
multiple gates to be limited to two "layers". And if the first layer is
inverting (NAND rather than AND or NOR rather than OR) then the result is
that you can make both layers of multi-input (2 or more inputs) gates both
NAND or both NOR, with the second layer being changed from AND to NOR or
from OR to NAND, and with the first layer being changed from OR to NOR or
from AND to NAND.
I know that AND doesn't change very nicely into NOR.
A AND B
= NOT NOT (A AND B. )
= NOT (NOT A OR NOT B)
= (NOT A) NOR (NOT B)
Oh, I see you're onto something
invert one layer, and you get NOR . But that's not inverting AND into
NAND.
(NOT A) AND (NOT B)
= A NOR B
googled "product of sums" "sum of products" NAND NOR
"A sum of products logic expression can be realized by NAND gates by
replacing ... A product of sums expression can be realized by NOR gates
by replacing all ... "
meseec.ce.rit.edu/eecc341-winter2001/341-12-18-2001.ppt
Looking at that ppt,
I think you are talking about **double inverting**, so as not to change
the thing. The SOP or POS never starts off with a NOT over the whole
thing(the whole outer layer), or over each inner layer. So i'm not
looking for a NAND or NOR in any layer.
That is very interesting, I never did that to a POS or SOP.
And this is for expressions rather than equations. So you're double
inverting to keep it the same.
I think I see what you're saying
Great concept
based on
NOT A OR NOT B = NOT (A AND B) i.e. A NAND B
NOT (A AND B ) = NOT A OR NOT B i.e. A NOR B
For a product of sums, outer layer = AND, invert the whole thing twice
and convert to NOR.
For a sum of products, outer layer = OR, invert the inner layer
twice, and convert to NAND.
nice, thanks.
I don't know if that was what you were saying, but it's very
interesting!