1 / 5

ALUs

ALUs. Topics: ALU Overview - core of the integer datapath - 2 operands, 32-bits wide, plus control signals Exercise: A simple multiplier. Arithmetic Logic Unit. Arithmetic Logic Unit (ALU) Implements add, sub, or, and, shift-left , right-shift … Computes many results in parallel

elwyn
Télécharger la présentation

ALUs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ALUs

  2. Topics: • ALU Overview • - core of the integer datapath • - 2 operands, 32-bits wide, plus control signals • Exercise: A simple multiplier

  3. Arithmetic Logic Unit • Arithmetic 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 +/– A B

  4. add/sub : see lecture • and, or, xor, … : trivial • comparisons : left for students • putting 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 2 • with an expensive simplistic circuit • see hint.doc

More Related