






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







th
Priority Encoder
4:1 Mux 1: DeMux
S1 S0 S1^ S
Clock Cycle
Priority Encoder Specification
0 or 1?: ___
0 or 1?: ___
Note that further expression simplification is possible with a different answer.
(10011.10001) 2 = (13.88) (^16)
(124) 8 = (84) (^10)
b. Compute the error in the following computation, if any, assuming 6 significant bits (this includes the implicit bit).
(1.0) 2 x 2^131 + (1.101) 2 x 2^139
= (1.00000) 2 x 2^131 + (110100000) 2 x 2 131 = (110100001) 2 x 2^131. Since we only have 6 significant bits, the answer will be represented as (1.10100) 2 x 2^139 thus the error is (1.0) 2 x 2^131
b. Perform the addition of the following unsigned numbers and identify those operations for which overflow occurs assuming the number of bits available are the number of bits in the operands.
111011 010011
011100 0001000
Overflow? _____Yes_____ _____Yes_____
Overflow? No^
No
S0 S1 Function 0 0 Load A0 A1 into registers 0 1 Initialize to 1 1 0 Initialize to 0 1 1 Rotate right
Flip Flop