Logic Gates And Boolean Algebra Flashcards
What is the order of logic gates simplification?
- Brackets
- Negation (NOT)
- Multiplication (AND)
- Addition (OR)
What are the commutative laws?
- A /\ B = B /\ A
- A V B = B V A
What are the associative laws?
- (A V B) V C = A V (B V C) = A V B V C
- (A /\ B) /\ C = A /\ (B /\ C) = A /\ B /\ C
What are the distributive laws?
- A /\ (B V C) = (A /\ B) V (A /\ C)
- A V B /\ C = (A V B) /\ (A V C)
What are De Morgan’s Laws?
¬(A V B) = ¬A /\ ¬B
¬(A /\ B) = ¬A V ¬B
What are the AND rules?
- A /\ 0 = 0
- A /\ A = A
- A /\ 1 = A
- A /\ ¬A = 0
What are the OR rules?
- A V 0 = A
- A V 1 = 1
- A V A = A
- A V ¬A = 1
Why do we simplify boolean algebra?
- practical use in circuit design
- fewer gates = cheaper
What is a NAND gate? Truth table?
- table in book
- AND combined with a NOT gate
- true all the time unless both inputs are true
What is a NOR gate? Truth table?
- table in book
- NOT and OR gate combined
- only true if both inputs are false
What is a XOR gate? Truth table?
- exclusive OR
- true if one of the inputs is but not if both are
What are adder circuits used for?
Binary addition - also deals with carry digits
What is a half adder?
- 2 inputs and a carry digit are fed to it
- carry digit and an output are generated
What is a full adder?
- 2 inputs and a carry and sent in
- sum of 2 inputs is sent to another adder and combined with original carry digit to create the final sum.
- Carry digit of first sum is sent to a OR gate and combined with carry digit of second sum to produce final carry digit output
What is a flip-flop circuit?
- circuit compromising of NAND dates (storage used in SSD’s)
- can exist in either on or off state which enables it to store store one item of data (1 or 0). Flips between the 2 states, hence name
- combine to make other range of flip flops