C733 of 57
0 XP
  1. Hook
  2. Problems

C7 · Problem set 6

Problem set 6: sequential circuits and timing

These problems use lessons 26 to 32: latches and flip-flops, the timing of sequential circuits, registers, counters and clocks, PWM and sigma-delta outputs, and shift registers, LFSRs and CRCs.

Check

A register-to-register path has tpcq = 40 ps, logic of 300 ps, tsetup = 70 ps and up to 40 ps of clock skew.

(a)

What is the shortest safe clock period?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

What is the highest clock frequency?

Check

A short path has tccq = 15 ps and tcd = 0 ps, into a flip-flop with thold = 45 ps, with up to 30 ps of skew.

(a)

What is the hold margin?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

How much delay must be added to the path (0 if none)?

Check

A synchronizer at 100 MHz (tsetup = 0.05 ns, τ = 0.2 ns, T0 = 0.5 ns) sees 1 million asynchronous changes a second.

(a)

How many time constants does the first flip-flop get to resolve?

(b)

What is log10⁡ of its MTBF in seconds?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

Logic of 8 ns is pipelined into 3 equal stages with 1 ns of register overhead each.

(a)

What clock rate does it reach?

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

(b)

What is its latency?

Check

A counter must divide a 1 MHz clock by 10.

(a)

How many flip-flops does a binary modulo-10 counter need?

(b)

What frequency does it produce?

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

Check

A free-running binary counter is clocked at 16 MHz.

(a)

At what frequency does bit 0 toggle (a full on-off cycle)?

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

(b)

How many clocks long is one cycle of bit 0?

Check

A 4-bit counter starts at 14 and counts up once per clock.

(a)

What does it hold after 40 clocks?

(b)

After how many clocks does it first wrap to 0?

Check

Compare shift-register counters with 10 flip-flops.

(a)

How many states does a maximal-length LFSR have?

(b)

How many does a Johnson counter have?

Check

A serial link sends 10 bit times per byte at 9600 bits per second.

(a)

How many bytes per second?

(b)

How long does a 1500-byte message take?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

Check

A 4-bit LFSR shifts left, dropping bit 3, and puts Q3⊕Q2 into bit 0. From state 6 (decimal), what is the next state?

Check

What is the 3-bit CRC of the message 110101 with generator 1011?

Check

A sequencer needs 12 states decoded with no logic.

(a)

How many flip-flops does a ring counter use?

(b)

How many does a Johnson counter use (each state decoded by a two-input gate)?

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

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