C7 Digital logic · Practice
Arithmetic circuits
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 7 kinds solid
Check
Compute 23 − 70 in 8-bit two's complement. Give the result as 8 bits.
Check
A ripple-carry adder's carry takes 1 gate delays per bit. What is the worst-case carry delay for 16 bits?
Check
A prefix adder combines generate and propagate in a tree. How many levels does its carry network need for 16 bits?
Check
−100 and −60 are added as 8-bit two's-complement numbers.
(a)
What signed value does the 8-bit result read as?
(b)
What's the overflow flag ?
Check
What is the largest 8-bit two's-complement number?
Check
Write the generate signal for one bit with inputs A and B.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
Write −9 as a 4-bit two's-complement pattern.
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