Digital Logic Review
Bitwise Operation
Perform logical operation between all inputs for each bit position
Bitwise AND Example
10011 AND 11001
Lecture Question
What is the result of 01010 AND 10111?
Lecture Question
What is the result of 01010 OR 10110?
NOR (NOT OR) Gate
XOR (Exclusive OR) Gate
XOR between any value and 1 inverts the value
Special Considerations for PLP
PLP ISA does not include an XOR or NOT
Boolean Algebra Properties
Annulment law
Identity law
Lecture Question
Which of the following would be equivalent to NOT $t5?
andi $t5, $t5, 0
andi $t5, $t5, 1
ori $t5, $t5, 0
ori $t5, $t5, 1
nor $t5, $t5, $t5
Multiplexer
s0 i1 i0 F
/docProps/thumbnail.jpeg