Skip to main content

Digital Logic · Latches, flip-flops, and sequential circuits

A D latch has enable C and data D

Problem

Digital Logic practice problem

A D latch has enable CC and data DD. When C=1C=1, a change in DD propagates to QQ with delay tpd,DQ=1.60 nst_{pd,DQ}=1.60\,\mathrm{ns}. A rising edge of CC, with DD already stable, drives QQ to DD with delay tpd,CQ=2.20 nst_{pd,CQ}=2.20\,\mathrm{ns}. When C=0C=0 the output is frozen and later changes of DD do not affect QQ. Contamination and propagation delays are taken equal (no min/max split). QQ changes only in response to the two mechanisms above. Initially C=0C=0, D=0D=0, and Q=0Q=0. On 0≤t≤30 ns0\le t\le 30\,\mathrm{ns} the inputs areC=1 on 5.00≤t<14.00 ns and on 18.00≤t<27.00 ns,C=0 otherwise;C=1\text{ on }5.00\le t<14.00\,\mathrm{ns}\text{ and on }18.00\le t<27.00\,\mathrm{ns},\quad C=0\text{ otherwise};D=1 on 3.00≤t<9.00 ns,  0 on 9.00≤t<16.50 ns,  1 on 16.50≤t<21.00 ns,  0 on t≥21.00 ns.D=1\text{ on }3.00\le t<9.00\,\mathrm{ns},\;0\text{ on }9.00\le t<16.50\,\mathrm{ns},\;1\text{ on }16.50\le t<21.00\,\mathrm{ns},\;0\text{ on }t\ge 21.00\,\mathrm{ns}.Determine (a) every output transition of QQ, giving the time, the 0→10\to 1 or 1→01\to 0 direction, and which delay path (D-to-Q or C-to-Q) produced it, (b) QQ at t=4.00,6.00,8.00,10.50,13.00,17.00,19.50,22.50t=4.00,6.00,8.00,10.50,13.00,17.00,19.50,22.50, and 28.00 ns28.00\,\mathrm{ns}, (c) whether the falling edge of CC at t=14.00 nst=14.00\,\mathrm{ns} stores 00 or 11, and whether the falling edge at t=27.00 nst=27.00\,\mathrm{ns} stores 00 or 11, and (d) the length of the interval after t=9.00 nst=9.00\,\mathrm{ns} during which QQ still equals 11 even though DD has already returned to 00.

Hint

Hint

There are two, and only two, ways QQ can move: a rising CC (delay tpd,CQt_{pd,CQ}) or a DD change while C=1C=1 (delay tpd,DQt_{pd,DQ}).

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Digital Logic sample problem: Try the free sample problem.

More Digital Logic practice problems

Back to Digital Logic

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.