A rising-edge D flip-flop has setup time 4 ns4\ \text{ns}4 ns, hold time 2 ns2\ \text{ns}2 ns, and maximum clock-to-Q delay 3 ns3\ \text{ns}3 ns when its timing requirements are met. No asynchronous controls are asserted.
Data rises at 95 ns95\ \text{ns}95 ns, a rising clock edge occurs at 100 ns100\ \text{ns}100 ns, and data falls at 101 ns101\ \text{ns}101 ns. There are no other transitions in the interval shown. Which conclusion about QQQ at 104 ns104\ \text{ns}104 ns is justified?
QQQ is guaranteed to be 0 because data falls three nanoseconds earlier.
QQQ is guaranteed to be 1 because hold begins after clock-to-Q delay.
QQQ is not guaranteed because the hold requirement is violated by one nanosecond.
QQQ is guaranteed to be 1 because the setup requirement is satisfied.
Unlock full course notes by signing up
Setup-time margin
A rising-edge D flip-flop has a setup-time requirement of 3.2 ns3.2\ \text{ns}3.2 ns. Its data input makes its last transition at 78.6 ns78.6\ \text{ns}78.6 ns before a rising clock edge at 84.0 ns84.0\ \text{ns}84.0 ns. Data remains stable afterward, so hold time is satisfied.
Calculate the setup-time margin, defined as the available stable time before the edge minus the required setup time. Give your answer in ns, to one decimal place; a positive margin means the setup requirement is satisfied.
Following a JK flip-flop through six edges
A rising-edge-triggered JK flip-flop stores Q=1Q=1Q=1 before the first clock edge listed below. Its asynchronous controls remain inactive, and J and K satisfy all timing requirements. For each row, enter the next state, meaning the output after that edge has settled, as the exact integer 0 or 1. Carry each resulting state forward to the next row.
Sampling time versus output time
A rising-edge D flip-flop initially stores Q=0Q=0Q=0 and has no asynchronous controls. Its clock rises at 28 ns28\ \text{ns}28 ns and 48 ns48\ \text{ns}48 ns and falls at 38 ns38\ \text{ns}38 ns and 58 ns58\ \text{ns}58 ns. Data is initially 0, rises at 31 ns31\ \text{ns}31 ns, and remains 1. All setup and hold requirements are satisfied.
Use an ideal timing model with a fixed clock-to-Q delay of 3 ns3\ \text{ns}3 ns. At what time does QQQ first rise to 1?
Recovering from an asynchronous clear pulse
A rising-edge-triggered D flip-flop has an asynchronous clear: when its active-low CLR input is 0, the output is forced to 0 independently of the clock. CLR is initially 1, becomes 0 at 12 ns, and returns to 1 at 18 ns. The required minimum clear-pulse duration is 4 ns.
The clock rises at 0, 10, 20, 30 and 40 ns and falls halfway between successive rising edges. D is initially 1, changes to 0 at 16 ns, and returns to 1 at 24 ns. The output is 1 immediately before CLR is asserted.
All required timing conditions are satisfied. Model output changes as instantaneous, ignoring propagation delays. Calculate the clear-pulse duration in ns, to the nearest integer; determine Q at 26 ns as the integer 0 or 1; and give the first time after clear release when Q returns to 1, in ns to the nearest integer.