C736 of 57
0 XP
  1. Hook
  2. Problems

C7 · Midterm exam

Midterm exam: combinational and sequential logic

Twelve problems from the first half of the course: logic levels and number systems, Boolean algebra and canonical forms, CMOS gates and power, Karnaugh maps, building blocks, arithmetic, number formats, flip-flops, timing and shift registers. Give yourself two hours, work without the lessons open, and write out your reasoning before checking each answer. Number truth-table rows from 0, with the first-listed input as the top bit. "Another set" deals a different exam.

Check

A logic family has VOH = 2.6, VIH = 2, VIL = 1 and VOL = 0.4 V.

(a)

What is the high noise margin?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is the low noise margin?

Check

An 8-bit register holds B3 (hex).

(a)

What is its unsigned value?

(b)

What is its two's-complement value?

Check

Minimize ∑m(3,4,5,7).

Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.

Check

Minimize ∑m(0,2,5,7,8,10,14)+d(12,13).

Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.

Check

A 3-input CMOS NOR is sized to match an inverter of NMOS width 1 and PMOS width 2; it drives 10 fF switching with α = 0.3 at 1 GHz on 0.8 V.

(a)

How wide is each PMOS?

(b)

What dynamic power does its output node take?

Write units the way you normally would: 1.5 µW, 1500 nW and 0.0015 mW are the same answer.

Check

Write the function computed by a 2:1 multiplexer that outputs C when B = 1 and A when B = 0.

Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.

Check

Write A > B for 2-bit numbers.

Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.

Check

Two 8-bit two's-complement numbers 40 and 60 are added.

(a)

What value does the result represent?

(b)

Is the overflow flag set (1 or 0)?

Check

A ripple adder's carry takes 2 gate delays per bit; separately, a lookahead stage has G1 = 1, P1 = 1, G0 = 1, P0 = 1 and C0 = 1.

(a)

What is the 8-bit ripple adder's worst carry delay?

(b)

What is C2?

Check

An IEEE 754 single has sign 1, exponent field 128 and fraction 0.25.

(a)

What value does it represent?

(b)

What is its unbiased exponent?

Check

A path has tpcq = 50, tpd = 400, tsetup = 60, tccq = 30, tcd = 0 and thold = 25 ps.

(a)

What is the highest clock frequency?

Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.

(b)

What is the hold margin (no skew)?

Check

A modulo-12 binary counter divides an 8 MHz clock.

(a)

How many flip-flops?

(b)

What output frequency?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.

Practice

Keep practicing

11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.