{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSE20 Lecture 5

# CSE20 Lecture 5 - CSE20 Lecture 5 Solutions to Exercise 1...

This preview shows pages 1–6. Sign up to view the full content.

1 CSE20 Lecture 5 1/26/10 Solutions to Exercise 1 CK Cheng UC San Diego

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

View Full Document
Outlines 1. Hybrid System 2. Subtracter 3. Proof by Induction 4. Modulus Operations 2
3 1. Hybrid System Problem: A hybrid system has 5 digits of radix 3 and 4 digits of radix 4. Describe the range of the system. A B C D E 0 1 2 3 5 Possibilities A B C D 0 1 2 3 4 4 Possibilities Therefore range is from 0 to (3 5 * 4 4)

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

View Full Document
4 2. Subtracter Problem: Write the truth table of a full subtracter with three binary inputs x, y, bin, and to binary outputs b, d X Y B in D b out 0 0 0 0 0 0 1 0 0 1 1 1 2 0 1 0 1 1 3 0 1 1 0 0 4 1 0 0 1 1 5 1 0 1 0 0 6 1 1 0 0 0 7 1 1 1 1 1 -2 b out + d = x – y – b in Ex.Row7 11111 //values of row7 2+1=1–1–1 1= 1 //plug into equation -1 = -1 //Huzzah! It ’s true Note: There is no difference between column “d” and the sum from adder
5 Difference: Notice: Id x y b in b out d The difference column and 0 0 0 0 0 0 the sum column are the 1 0 0 1 1 1 same. 2

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 9

CSE20 Lecture 5 - CSE20 Lecture 5 Solutions to Exercise 1...

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

View Full Document
Ask a homework question - tutors are online