C7 Digital logic · Practice
Problem set 4: building blocks and arithmetic
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 14 kinds solid
Check
A decoder has 6 inputs; it's to be built from 2-to-4 decoders with enables.
(a)
How many outputs does it have?
(b)
How many 2:4 decoders does a tree of them need?
Check
A multiplexer selects one of 64 inputs.
(a)
How many select lines does it need?
(b)
How many 2:1 multiplexers make it as a tree?
Check
Compute 31 − 40 in 8-bit two's complement and give the 8-bit result.
Check
Two 8-bit two's-complement numbers, 60 and 50, are added.
(a)
What is the true sum?
(b)
What value does the 8-bit result represent?
Check
An adder's ripple carry takes 2 gate delays per bit; a lookahead design reaches any carry in 4 delays per lookahead level, with 4-bit groups.
(a)
What is the ripple adder's worst carry delay for 32 bits?
(b)
How many delays for the lookahead adder, with levels?
Check
A critical path passes through 2 AND gates (35 ps each), 1 XOR gates (40 ps each) and 2 OR gates (25 ps each).
(a)
What is its propagation delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Ignoring the flip-flops, what is the highest rate at which new results can be produced?
Check
An 8 × 8 array multiplier.
(a)
How many product bits?
(b)
How many AND gates for the partial products?
Check
Arithmetically shift the 8-bit two's-complement number −50 right by 2 places. Give the 8-bit result.
Check
A fixed-point format has 3 fraction bits.
(a)
What value does the stored integer 100 represent?
(b)
What is its resolution?
Check
An IEEE 754 single has sign 0, exponent field 127 and fraction 0 (as a binary fraction's value).
(a)
What is its unbiased exponent?
(b)
What value does it represent?
Check
A float has sign 0, biased exponent 126 and fraction 0.625.
(a)
What value does it hold?
(b)
What's its unbiased exponent?
Check
An n-bit carry-select adder with n = 16 uses 4-bit blocks (2 gate delays per bit within a block, 2 per block for the selects).
(a)
What's its delay in gate delays?
(b)
And a ripple adder's?
Check
A 4-bit ALU subtracts B = 0001 from A = 0101 by adding and a carry-in of 1. What result does it produce?
Check
A restoring divider computes 150 ÷ 6, one quotient bit per step. What quotient does it produce?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C7