ArticleslgStudy

science

AND-OR-invert

AND-OR-invert is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AND-OR-invert rather than just read about it. In short: AND-OR-invert (AOI) logic and AOI gates are two-level compound (or complex) logic functions constructed from the combination of one or more AND gates followed by a NOR gate (equivalent to an OR gate through an inverter gate, which is the "OI" part of "AOI"). Construction of AOI cells is particularly efficient using CMOS technology, where the total number of transistor gates can be compared to the same construction u…

AND-OR-invert — main illustration
AND-OR-invert — illustration

Key takeaways

  • AND-OR-invert belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AND-OR-invert to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AND-OR-invert from memory before moving on to harder problems.

Reference excerpt

AND-OR-invert (AOI) logic and AOI gates are two-level compound (or complex) logic functions constructed from the combination of one or more AND gates followed by a NOR gate (equivalent to an OR gate through an inverter gate, which is the "OI" part of "AOI"). Construction of AOI cells is particularly efficient using CMOS technology, where the total number of transistor gates can be compared to the same construction using NAND logic or NOR logic. The complement of AOI logic is OR-AND-invert (OAI) logic, where the OR gates precede a NAND gate. These types of logic devices are useful to convert logic equations from Karnaugh and Quine–McCluskey logic reductions.

Overview Most logic optimization result in a sum-of-products or product-of-sums logic expression. The naming convention lists the number of inputs of each gate in the first stage, in descending order. Additional inputs that go directly to the second stage are listed as ‘1’. AOI is used for sum-of-products, the variables are ANDed to form minterms which are ORed together then inverted:

AB + C is known as an AOI 2-1 gate. AB + CD is known as an AOI 2-2 gate. ABC + DEF is known as an AOI 3-3 gate. ABCD + EFGH is known as an AOI 4-4 gate. ABCDE + FGH + JK is known as an AOI 5-3-2 gate. and other variations.

Examples AOI gates perform one or more AND operations followed by an OR operation then an inversion.

2-1 AOI gate

The 2-1 AOI gate can be represented by the following boolean equation and truth table:

Q=(A∧B)∨C‾.

2-2 AOI gate

Real world examples of an 2-2 AOI gate are found in the CD4085B, SN74LS51, SN5450 logic ICs (see further below). The 2-2 AOI gate can be represented by the following Boolean equation and truth table:

Q=(A∧B)∨(C∧D)‾.

3-3 AOI gate Real world examples of an 3-3 AOI gate is found in the SN74LS51 logic IC (see further below). The 3-3 AOI gate can be represented by the following Boolean equation and truth table:

Q=(A∧B∧C)∨(D∧E∧F)‾. Its logic table would have 64 entries, but is not shown.

4-4 AOI gate

Real world examples of an 4-4 AOI gate is found in the CD4048B logic IC (see further below). The 4-4 AOI gate can be represented by the following Boolean equation and truth table:

Q=(A∧B∧C∧D)∨(E∧F∧G∧H)‾. Its logic table would have 256 entries, but is not shown.

Extensions to multiple levels It is possible to create multi-level compound gates, which combine the logic of AND-OR-invert gates with OR-AND-invert gates. An example is shown below. The parts implementing the same logic have been put in boxes with the same color.

Electronic implementation

AND-OR-invert (AOI) and OAI gates can be readily implemented in CMOS circuitry. AOI gates are particularly advantaged in that the total number of transistors (or gates) is less than if the AND, NOT, and OR functions were implemented separately. This results in increased speed, reduced power, smaller area, and potentially lower fabrication cost. For example, a 2-1 AOI gate can be constructed with 6 transistors in CMOS, compared to 10 transistors using a 2-input NAND gate (4 transistors), an inverter (2 transistors), and a 2-input NOR gate (4 transistors). In NMOS logic, the lower half of the CMOS circuit is used in combination with a load device or pull-up transistor (typically a depletion load or a dynamic load). AOI gates are similarly efficient in transistor–transistor logic (TTL).

Examples CMOS 4000-series logic family:

CD4085B = dual 2-2 AOI gate CD4086B = single expandable 2-2-2-2 AOI gate" CD4048B = single expandable 8-input 8-function with three-state output, 8 choices for gate type: 8 NOR / 8 OR / 8 NAND / 8 AND / 4-4 AND-OR-Invert / 4-4 AND-OR / 4-4 OR-AND-Invert / 4-4 OR-AND TTL 7400-series logic family: (in past decades, a number of AOI parts were available in the 7400 family, but currently most are obsolete (no longer manufactured))

SN5450 = dual 2-2 AOI gate, one is expandable (SN54 is military version of SN74) SN74LS51 = 2-2 AOI gate and 3-3 AOI gate SN54LS54 = single 2-3-3-2 AOI gate

See also

List of 7400-series integrated circuits List of 4000-series integrated circuits

References

Tinder, Richard F. (2000). Engineering digital design: Revised Second Edition. Academic Press. pp. 317–319. ISBN 0-12-691295-5. Retrieved 2008-07-04. John, Michael (1997). Application-Specific Integrated Circuits. Retrieved 2008-07-04.

Illustrations

AND-OR-invert: Symbol for 2-2 AOI gate
Symbol for 2-2 AOI gate
AND-OR-invert: Symbol for 4-4 AOI gate
Symbol for 4-4 AOI gate
AND-OR-invert: Compound logic gate for (CD + B) A, plus CMOS version.
Compound logic gate for (CD + B) A, plus CMOS version.
AND-OR-invert: An AOI21 logic gate in CMOS using a complex gate (left) and standard gates (right)
An AOI21 logic gate in CMOS using a complex gate (left) and standard gates (right)
AND-OR-invert illustration

Worked examples

Example 1 — a first encounter with AND-OR-invert

Start with the simplest possible case. Write down what AND-OR-invert claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AND-OR-invert before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AND-OR-invert ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AND-OR-invert

In research
AND-OR-invert appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AND-OR-invert in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AND-OR-invert is common in secondary-school and first-year university syllabi. It links to neighbouring topics Logic gates, so understanding it makes those chapters shorter.
In everyday life
Look for AND-OR-invert outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AND-OR-invert” →

How to study AND-OR-invert in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AND-OR-invert means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AND-OR-invert out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AND-OR-invert in simple terms?

AND-OR-invert (AOI) logic and AOI gates are two-level compound (or complex) logic functions constructed from the combination of one or more AND gates followed by a NOR gate (equivalent to an OR gate through an inverter gate, which is the "OI" part of "AOI"). Construction of AOI cells is particularl…

Why does AND-OR-invert matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AND-OR-invert?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AND-OR-invert.

Tags

  • Logic gates

Keep exploring