Chapter 2 Flashcards
logic circuits are made up of ____
logic gates - fundamental building blocks that carry out the logic operations
fundamental elements of a digital system are _____ and _____
input variable and output function
AND logic
if both (or all) inputs are 1, then output is 1
otherwise output is 0
represented by multiplication
two gates in series
OR logic
if any inputs are 1, then output is 1
if all inputs are 0, then output is 0
represented by addition
two gates in parallel
NOT logic
switches the input’s value from 0 to 1 or 1 to 0
aka the complement of a variable
NAND gate
output is complement of the AND of the inputs
NOR gate
output is the complement of the OR of the inputs
XOR gate
output is 1 if an odd number of input variables is 1
represented with a circle around an addition symbol
what is the xor function equivalent to
AB’ + A’B
truth table
used to demonstrate the output for each possible combination of inputs of a combinational circuit
universal logic gate
gates that can be used to implement the function of and, or, and not
NOT from NAND gates
both inputs of NAND gate are the same (split input into to wires, then feed into NAND)
AND from NAND gates
- first have A and B go into 1 NAND Gate, then feed output from 1st NAND gate (AB)’ into both inputs of 2nd NAND gate((AB’)’) = AB
OR from NAND gates
- first not both inputs
- then feed the not outputs into a third nand gate
NOT from NOR gates
- same as NAND
- connect inputs together
OR from NOR
- same as AND from NAND
- put inputs into one NOR gate then NOT the output from the first NOR gate