Beruflich Dokumente
Kultur Dokumente
Although we can implement any circuit with AND/OR/NOT, we can also implement any circuit with only NAND or NOR gates. We might want to do this because of technology considerations; That is, these gates might be cheaper to implement in silicon or they might be the only type of gates we have available. Since we can always use only NAND or NOR gates, these gates are sometimes called universal gates.
The trick (if you want to call it that) is to see that we can implement the three basic gates (AND, OR, NOT) in terms of NAND or NOR gates.
Page 1
Page 2
Page 3
Page 4
Comment
Before continuing, we should make note that a NAND gate performs the same function as an OR gate with inverts at the inputs. This is useful to remember. We can illustrate for a 3-input gate:
Page 5
Page 6
Page 7
Page 8
Example:
x2
x1
x2
x4
x1 x5 x3
Conversion method is essentially the same: Insert double inverters before OR gates. Use one set of inverters plus the OR gates to convert to NAND. Use other inverts with AND gates to convert to NAND. Occasionally, might need to implement an inverter using NAND.
Page 9
x1
x5
x3
x1
x2
x2
x4
Notice the extra inverters
x1 x5
x3
Page 10
Page 11
Page 12
Page 13
Comment
Before continuing, we should make note that a NOR gate performs the same function as an AND gate with inverters at the inputs. This is useful to remember. We can illustrate for a 3-input gate:
Page 14
Page 15
Page 16
Page 17
Example:
x2
x1
x2
x4
x1 x5 x3
Conversion method is essentially the same: Insert double inverters before AND gates. Use one set of inverters plus the AND gates to convert to NOR. Use other inverters with OR gates to convert to NOR. Occasionally, might need to implement an inverter using NOR.
Page 18
x2
x4
x1 x5 x3
x2
x1
x1
x2
x4
Notice the extra inverters
x5
x3
Page 19