sp03 homequiz 3 solutions

Computer Organization and Design: The Hardware/Software Interface

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 University of California, Berkeley College of Engineering Computer Science Division EECS Spring 2003 John Kubiatowicz Homework Quiz (HW #3) SOLUTIONS March 5, 2003 CS152 Computer Architecture and Engineering This quiz covers one of the problems from homework #3. Good Luck! Your Name: SID Number: Discussion Section: Total:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Combinational Multipliers built with Carry Save Adders In your homework, you learned about using Carry Save Adders to perform multiplication. Below we review using carry save adders to add four 3-bit numbers to produce a single 5-bit number: Figure #1: Adding four 3-bit numbers with carry-save adders. Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 0 C 2 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 S 0 S 1 S 2 S 3 S 4 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 0 Carry Save Adder 3=>2 I 1 I 2 S 0 S 1 I 3 B 2 A 2 C 1 B 1 A 1 C 0 B 0 A 0 D 0 D 1 D 2
Background image of page 2
3 Figure #2: Carry Save Logic in a 4x4 multiplier Figure #1 (previous page) shows a carry-save array for adding four 3-bit numbers together. You figured out how to use this type of addition to perform a 16x16 bit multiplier in your homework. One way to understand carry-save adders is that they add
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This homework help was uploaded on 01/29/2008 for the course CS 152 taught by Professor Kubiatowicz during the Spring '04 term at University of California, Berkeley.

Page1 / 4

sp03 homequiz 3 solutions - University of California,...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online