CSC258H1 Lecture Notes - Operand, Barrel Shifter, Shift Register

45 views1 pages
20 Apr 2013
School
Course
Professor

Document Summary

Devised as a way to take advantage of circuits where shifting is cheaper than adding, or where space is at a premium. Based on the premise that when multiplying by certain values (ex. 99) it can be easier to think of this operation as a difference between two products. Consider the shortcut method when multiplying a give demical value x by 9999: Now consider the equivalent problem in binary. This idea is triggered on cases where two neighboring digits in an operand are different. If digits at i and i 1 are 0 and 1, the multiplicand is added to the result at position i. If idigits at i and i 1 are 1 and 0, the multiplicand is subtracted from the result at position i. The result is always a value whose size is the sum of the sizes of the two multiplicands. In worst case this well be as efficient as an accumulator circit.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents