Slide 1Slide 2Arithmetic Logic UnitSlide 4Slide 51ALUs2Topics:ALU Overview- core of the integer datapath- 2 operands, 32-bits wide, plus control signalsExercise: A simple multiplier3Arithmetic Logic UnitArithmetic Logic Unit (ALU)•Implements add, sub, or, and, shift-left, right-shift …•Computes many results in parallel•Control mux selects desired output from among all potential results+/–AB4add/sub : see lectureand, or, xor, … : trivialcomparisons : left for studentsputting it all together (e.g. mapping alu OP input to needed control signals): kmaps, etc. book is helpful (Appendix C)5 Binary Multiplication via shifting for powers of 2with an expensive simplistic circuitsee
View Full Document