{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EE101Lecture26

# EE101Lecture26 - Introduction to Digital Logic Lecture 26...

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

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

View Full Document
© Mark Redekopp, All rights reserved Adders for Other Systems General Method of Design Add in binary (yielding a binary sum) Find the correction condition for when the binary sum is incorrect (find the point in the truth table where the binary sum stops matching the correct output sum) Find the correction value that must be added to correct the binary sum Implement the correction condition w/ logic (usually, the Cout or next most-significant place value or unit of measure) Conditionally add the correction factor
© Mark Redekopp, All rights reserved Adders for Other Number Systems Suppose we want to create an adder building block to add BCD digits (essentially, a base-10 adder) Normal binary addition will not yield the correct BCD sum 0010 1000 + 0110 0011 1001 0001 ( 2 8 ) BCD + ( 6 3 ) BCD ( 9 1 ) BCD Using normal binary addition will not yield this result 1 X 80 X 40 X 20 X 10 X 8 X 4 X 2 X 1 + Y 80 Y 40 Y 20 Y 10 Y 8 Y 4 Y 2 Y 1 S 80 S 40 S 20 S 10 S 8 S 4 S 2 S 1

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

View Full Document