hw3 - Prof. M. Mansour American University of Beirut...

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

View Full Document Right Arrow Icon
Prof. M. Mansour American University of Beirut Department of Electrical and Computer Engineering EECE 320 – Digital Systems Design Summer 2009 Homework 3 (Due Friday July 17 in class) Problem 1 [10 pts] : Design a 4-bit adder logic circuit. First design a logic circuit that adds two bits A 0 and B 0 and a carry in C in0 , and generates a sum bit S 0 and an output carry bit C out0 . Write the minimized Boolean equations of this block. Then use this block to design a circuit that adds A 3 A 2 A 1 A 0 and B 3 B 2 B 1 B 0 . Show all your connections. Problem 2 [10 pts] : Repeat Problem 1, but now for a circuit that subtracts two numbers A 3 A 2 A 1 A 0 and B 3 B 2 B 1 B 0 . Hint: Use the relationship between addition and subtraction in 2’s complement. Problem 3 [10 pts] : Design a circuit that increments a 4-bit number A 3 A 2 A 1 A 0 by 1. Write logic expressions for all outputs, and simplify them as much as you can. Start by designing a 1-bit incrementor circuit using its truth table.
Background image of page 1

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

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

Page1 / 2

hw3 - Prof. M. Mansour American University of Beirut...

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

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