Recognizing XOR gates in K-maps

  • Thread starter Thread starter Bipolarity
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 5K views
Bipolarity
Messages
773
Reaction score
2
Most Karnaugh maps care only about either SoP representations or PoS representations. I have to implement a circuit which minimizes the number of gates and I noticed that certain circuits can be minimized by using XOR gates, although the K-map/Quine-McCluskey technique do not really seem to take the XOR gate into account.

Why is this? Does anyone know how to read XOR gates off of a K-map, i.e. prime implicants which can be simplified via an XOR gate? I would imagine it has something to do with the "checkerboard" arrangement of the 0s and 1s on the K-map but that is only a tentative guess. I need an expert's opinion.

Thanks in advance! Really appreciate it.

BiP
 
Engineering news on Phys.org
OK, I know this question was posted four years ago, but just to cut down on the overall unanswered question count, here we go...

I noticed the same thing (many) years ago when I was in my hardware designs course at college. My prof explained that in RTL/TTL circuitry, XOR was essentially three gates' worth of transistors: it boiled down to (A||B)&&!(A&&B)) Additionally, in many cases there were equivalent circuits using JUST and/or operations, so not much effort was put into translating exclusive or ops into hardware. Nowadays, in CMOS, A-and-not-B-OR-B-and-not-A (another way to see XOR) is not vastly more expensive (area wise) than the other(AND/OR) gates.

IANA silicon slinger
-Jeff