This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 4) (7')Design a combinational circuit that takes 2 inputs and outputs its two's complement. a) specify the input and output, how many outputs? (2') b) produce the truth table (2') c) give the canonical sum for each output (2') d) minimize each output expression if necessary using Kmap (l') a) Since the input must be 2bit signed number represented in two's complement. The input therefore ranges from 2 to 1. To represent the two's complement (or negative) of the input, we need 3 bits output (since 2 can not be represented by 2bit in two's complement). The output number ranges from 2 to 1 to correspond to the input number range. b) c) A = LX,y(l) = X'Y B = Lx,y(l,2) = X'Y+XY' C = Lx,y(l,3) = X'Y+XY d) A=X'Y, B=X'Y+XY', C=Y x y A B C 1 1 1 1 1 1 1 1 1...
View
Full Document
 Spring '08
 Ji
 Input/output, Total Score, output expression, input number range.

Click to edit the document details